ucgui字體文件介紹

ucgui字體文件介紹

ID:2019771

大?。?2.50 KB

頁數(shù):4頁

時(shí)間:2017-11-14

ucgui字體文件介紹_第1頁
ucgui字體文件介紹_第2頁
ucgui字體文件介紹_第3頁
ucgui字體文件介紹_第4頁
資源描述:

《ucgui字體文件介紹》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。

1、UCGUI字體類型介紹譯者:UCGUI郵箱:UCGUI@163.com主頁:http://www.ucgui.com時(shí)間:2007-02-24版本:v1.0.0.010.1Fonttypes10.1字體形式ThecurrentμC/GUIversionsupports5typesoffonts:.Monospacedbitmapfonts.Proportionalbitmapfonts.Antialiasedfontswith2bppbuilt-inantialiasinginformation.Antialiasedfontswith4bppb

2、uilt-inantialiasinginformation.ExtendedproportionalbitmapfontsFormoreinformationonantialiasedfonts,pleaserefertoChapter22:"Antialiasing".當(dāng)前版本(4.04)的UCGUI支持如下五種形式的字體..等寬位圖字體..變寬位圖字體..內(nèi)置2位光滑效果字體.內(nèi)置4位光滑效果字體..擴(kuò)展變寬位圖字體.有關(guān)光滑效果字體的知識(shí),參考第22章:”光滑處理”10.2Fontformats10.2字體格式μC/GUIsupports

3、3kindsoffontformatswhichareexplainedinthefollowing.μC/GUI支持如下介紹的三種類型的字體格式:10.2.1’C’fileformat10.2.1.C文件格式Thisisthemostcommonwayofusingfonts.Whenusingfontsinformof.C.files,werecommendcompilingallavailablefontsandlinkingthemaslibrarymodulesorputtingallofthefontobjectfilesinalib

4、rarywhichyoucanlinkwithyourapplication.Thiswayyoucanbesurethatonlythefontswhichareneededbyyourapplicationareactuallylinked.Thefontconverter(describedinaseparatemanual)maybeusedtocreateadditionalfonts.這是最通用的字體使用格式,使用.C文件格式的字體時(shí),建議將所有要用的字體的.C文件編譯打包成一個(gè)庫文件,然后在你的應(yīng)用程序中與這些庫鏈接,這樣做可以確保

5、只有在你的應(yīng)用中使用到的字體鏈接進(jìn)來,在另外單獨(dú)的手冊(cè)中描述的字體生成工具可以用于制作字體.C文件.Whentouse適合什么情況Thisformatshouldbeusedifthefontsareknownatcompiletimeandifthereisenoughaddressablememoryavailableforthefontdata.這種格式的字體可以使用在編譯應(yīng)用時(shí)就確定知道要使用字體的情況,而且必須有足夠的地址空間用于存放字體數(shù)據(jù).Requirements要求Inordertobeabletouseafont.C.filei

6、nyourapplication,thefollowingrequirementsmustbemet:.ThefontfileisinaformcompatiblewithμC/GUIas"C"file,objectfileorlibrary..Thefontfileislinkedwithyourapplication..Thefontdeclarationiscontainedintheapplication.要在應(yīng)用中使用.C文件格式的字體,必須注意如下幾點(diǎn)要求:..C字體文件必須符合UCGUI使用的要求...C字體文件會(huì)與應(yīng)用編譯鏈接在一

7、塊..字體的相關(guān)聲明必須在應(yīng)用中包含.10.2.2SystemIndependentFont(SIF)format10.2.2系統(tǒng)獨(dú)立字體(SIF)格式Systemindependentfontsarebinarydatablockscontainingthefontinformation.Thefontconvertercanbeusedtocreatesystemindependentfonts.Thistoolisnotpartofthebasicpackage.Ashortdescriptionfollowslaterinthischap

8、ter.Fordetailsabouthowtocreatesystemindependentfontspleaserefertothe

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文

此文檔下載收益歸作者所有

當(dāng)前文檔最多預(yù)覽五頁,下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學(xué)公式或PPT動(dòng)畫的文件,查看預(yù)覽時(shí)可能會(huì)顯示錯(cuò)亂或異常,文件下載后無此問題,請(qǐng)放心下載。
2. 本文檔由用戶上傳,版權(quán)歸屬用戶,天天文庫負(fù)責(zé)整理代發(fā)布。如果您對(duì)本文檔版權(quán)有爭(zhēng)議請(qǐng)及時(shí)聯(lián)系客服。
3. 下載前請(qǐng)仔細(xì)閱讀文檔內(nèi)容,確認(rèn)文檔內(nèi)容符合您的需求后進(jìn)行下載,若出現(xiàn)內(nèi)容與標(biāo)題不符可向本站投訴處理。
4. 下載文檔時(shí)可能由于網(wǎng)絡(luò)波動(dòng)等原因無法下載或下載錯(cuò)誤,付費(fèi)完成后未能成功下載的用戶請(qǐng)聯(lián)系客服處理。