View Single Post
Old 03-03-2013, 09:26 AM   #8
pirl8
Pest
pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.
 
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
Quote:
Originally Posted by hawhill View Post
Just go and try, I'd say. You can bind-mount another freetype in place and restart the framework, no permanent changes needed.
Yep, I always forget that it's linux, after all.

Well, did it.

Device: Kindle Paperwhite with firmware 5.3.3

I've enabled the "USE_ALT_FONTS" hack.
I've uploaded the libfreetype.so.6.8.1 packaged by ixtab to /mnt/us and I've bind-mounted it as suggested:

Code:
mount -o bind /mnt/us/libfreetype.so.6.8.1 /usr/lib/libfreetype.so.6.3.20
Then I restarted framework (via JBPatch). The library got loaded painlessly. Result: no damage, just some rendering issues:
  1. The 1st snapshot shows the "Aa" dialog with the default library. The "Junicode" font is garbled.
  2. The 2nd snapshot shows what happens with libfreetype.so.6.8.1. "Junicode" is OK but some fonts (HYMyeongJo, HYGothic, MYing Hei T, Song T) are not displayed. Further more, Caecilia condensed is not condensed at all and there are some other minor differences on how some other fonts are rendered;
  3. The 3rd snapshot is what I get after issuing a font cache rebuild with ";fc-cache". All fonts are displayed, but Caecilia condensed is still not condensed, those which weren't rendered at point 2 are quite different from those at point 1 and those with minor difference with point 1 are still different.

Hope this can be some way useful for developers.

At the moment I think I'll stay with the bundled 6.3.20 and try to rebuild Junicode to see if something changes.

Thank you hawhill!!!
Attached Thumbnails
Click image for larger version

Name:	screenshot_1.png
Views:	460
Size:	33.6 KB
ID:	102267   Click image for larger version

Name:	screenshot_2.png
Views:	465
Size:	31.6 KB
ID:	102268   Click image for larger version

Name:	screenshot_3.png
Views:	463
Size:	34.0 KB
ID:	102269  

Last edited by pirl8; 03-03-2013 at 03:23 PM.
pirl8 is offline   Reply With Quote