ttf certainly support, opentype I do not know whether to support?
If you need support how to carry out development work? Please master Weapon.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Should also be supported, and even if there are no ready-made support packages online
Reply:
Can not find ah, download address?
Reply:
This Bangding.
Reply:
Android is not and all the TTF fonts are compatible, particularly problematic in Chinese font support will be special for incompatible fonts, Android not an error, but not display properly.
Reply:
TextView tv = (TextView) findViewById (R.id.custom);
/ / Get There From assert resources, access to the app assert, using getAserts (), given by a relative path in assert / below.
/ / In actual use, the font library may exist on the SD card, you can use createFromFile () instead createFromAsset.
Typeface face = Typeface.createFromAsset (getAssets (), "fonts / xxx.ttf);
tv.setTypeface (face);
Reply:
Thank you very much yiyaaixuexi.
Now the project requires a lot of uncommon words to the reader, text messages, phone book display is not of their own making a font file in the application where calls can be displayed freetype?
Just beginning to understand the android development, rarely experience.
Hope to further exchanges.
Reply:
android built freetype support, there is in the external directory folder ah freetype
Reply:
After investigation, that font manager can solve my problem, you can use the software to replace the font.
Where can I find a font manager open source packages?
Reply:
Leaving Bangding!
Reply:
Do not know your problem solved? I encountered a problem opentype fonts do not display. How should I do it? Please advise.
No comments:
Post a Comment