View Single Post
Old 10-13-2008, 03:10 AM   #1
DairyKnight
Connoisseur
DairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with othersDairyKnight plays well with others
 
DairyKnight's Avatar
 
Posts: 63
Karma: 2600
Join Date: Oct 2008
Device: PRS-505
Possibly not necessary to change TTF font names?

I just found on PC if you rename any TTF font to ttf*.ttf and modify kconfig.xml, adding:
<ui>
<font face="Swis721 BT" href="[bbebFontPath]" engine="FreeType">
<family name="anyname" uses="font family"/>
</font>
</ui>
and change the '<style font="font family"' in connectAssets.xml it would
change the default font Sony CONNECT uses.

If this works on the reader, the great advantage is for PDF files using arbitrary fonts there would be no more 'blocks'. The system would be able to find the correct font family.


I'll try it with my reader later today.
DairyKnight is offline   Reply With Quote