![]() |
#61 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@ixtab: In case that might help, there are a number of people experiencing 'blank fonts' issues with the K3 fonts hack. I've never been able to reproduce this on my device, even with the exact same font files, but the *only* thing that seemed to help was using a custom freetype library. Never figured out what caused this/how to fix it in a less intrusive way, but, AFAICT, that never happened on FW 2.x.
|
![]() |
![]() |
![]() |
#62 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
@NiLuJe:
thanks for jumping in, I was actually silently hoping for your expertise ![]() The weird thing is that the issue seems to appear undeterministically (geek term for "not reproducible"). Sometimes it works, sometimes it doesn't. Could you give some more information about that custom freetype library thing? Am I right that replacing some .so file could fix this once and for all? If so, I'd be grateful for some pointers -- maybe I could simply include a working .so file with the installer (?) Last edited by ixtab; 03-02-2012 at 02:41 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#63 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Well, on the K3, that was pretty much either it works or it doesn't, the whole family, at every size, was blank (which lead to mighty fun breakages if it happened to be sans regular, because then most of the UI was blank
![]() The weird thing was that it only happened on some Kindles, I've never been able to reproduce this on mine, even with the exact same set of fonts file. What does seem to 'fix' it for everyone is indeed to use a custom build of a recent freetype release. It was pretty easy on the K3 because it didn't rely on fontconfig/gtk/cairo/pango at all (except the browser), so I just had to build it, bind mount it, and enjoy working fonts after a framework restart, but you might have to jump through a lot more hoops on the Touch to avoid ABI mismatches... (If I let the K3 browser see/use my custom freetype lib, it'll make pango throw a fit, and it won't render fonts at all. I've never tried to pinpoint where exactly the issue lies, but it's most likely an ABI mismatch somewhere). Last edited by NiLuJe; 03-02-2012 at 02:51 PM. |
![]() |
![]() |
![]() |
#64 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Hmm... yeah, I'm still willing to give it a try.
Here's the result of a very quick grep: Code:
~/kindle-touch/fs$ find . -name "*.so"|grep font
./usr/lib/libXfont.so
./usr/lib/libfontenc.so
./usr/lib/libfontconfig.so
~/kindle-touch/fs$ find . -name "*.so"|grep type
./usr/lib/iptables/libipt_addrtype.so
./usr/lib/iptables/libipt_pkttype.so
./usr/lib/libfreetype.so
./usr/lib/gstreamer-0.10/libgsttypefindfunctions.so
Given that all executables compiled for older kindles are working smoothly on the KT as well, I'm relatively confident that we could do without reinventing the wheel (or recompiling). So, could you please provide some more info about the solutions for older kindles (a few links, or even relevant search terms, will do). Thanks! |
![]() |
![]() |
![]() |
#65 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Alright, I think I found the cause of the "blank font" issues (at least on the KT, and for this application, that is).
Simply looking at the output of "showlog -f" revealed this: Code:
[!]120302:202704 root: (process:6129): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Helvetica Medium 32' [!]120302:202704 root: (process:6129): Pango-WARNING **: font_face status is: <unknown error status> [!]120302:202704 root: (process:6129): Pango-WARNING **: scaled_font status is: out of memory [!]120302:202704 root: (process:6129): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Caecilia Regular, 36' [!]120302:202704 root: (process:6129): Pango-WARNING **: font_face status is: out of memory [!]120302:202704 root: (process:6129): Pango-WARNING **: scaled_font status is: out of memory |
![]() |
![]() |
Advert | |
|
![]() |
#66 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@ixtab: You're welcome to try (one of) the freetype build I use in the fonts hack, but like I said, there may be some weird ABI mismatch issues between ft/fc/cairo/pango...
![]() |
![]() |
![]() |
![]() |
#67 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
To make it easy, just backup all your data, put firecrackers on your windows bootdisk and light them, and install debian with no x server.
|
![]() |
![]() |
![]() |
#68 |
Member
![]() Posts: 13
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
@ixtab:
Very cool ![]() But ... is it possible to change the fontsize to another value than you installed? F.e. Times New Roman in 25 is a bit small for me and 31 to big. In comparison with a printed book 28 might be perfect ![]() And: I tried to install Garamond as you described Folder "Garamond", in folder "Garamond Regular.ttf" etc. But it says: "Garamond is not a valid font directory" Thanks, your word ist great !!! Stefan |
![]() |
![]() |
![]() |
#69 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
|
@ixtab: i assigned VeraMo to Serif and the "Condensed" button disappeared. see screenshot:
![]() |
![]() |
![]() |
![]() |
#70 |
Groupie
![]() ![]() Posts: 153
Karma: 113
Join Date: Jan 2012
Location: Russia
Device: Kindle Touch
|
Looks like there wasn't enough space to fit the button... I think that line in the bottom is the upper edge of missing button.
|
![]() |
![]() |
![]() |
#71 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 396
Karma: 33660
Join Date: Jul 2011
Device: Kindle 3, Kindle 4, Kindle PW, Nexus7 3G
|
Same on my KT, looks as on your screenshot in post 30 ixtab. BTW, where doe I get the Fertigo Font ;-)
|
![]() |
![]() |
![]() |
#72 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
As to the "invalid font directory", double-check file and directory names. Also note that upper/lowercase matters! (e.g. "Garamond regular.ttf" would NOT be considered). |
|
![]() |
![]() |
![]() |
#73 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
|
![]() |
![]() |
![]() |
#74 | |
Member
![]() Posts: 13
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
Quote:
Okay, it works ![]() Perhaps, on your next release you can explain in the readme file: "The name of the font has to be named exactly like the folder spelling, e.g. Folder: Palatino Linotype Fonts: Palatino Linotype Regular.ttf - Palatino Linotype Bold.ttf - Palatino Linotype Italic.ttf - Palatino Linotype Bold Italic.ttf" You are great ! |
|
![]() |
![]() |
![]() |
#75 |
Connoisseur
![]() ![]() Posts: 95
Karma: 128
Join Date: Feb 2010
Location: Upside-down
Device: Kindle 3g (US), KT & PaperWhite, Nook ST
|
@ixtab,
Better late than never, thanks for your "hack", Georgia2, I had previously on K3, is now working happily on my KT. And I´m happy too! One font a day keeps the doctor away, actually I like Georgia so I just applied your installer for that font. Can you, or other one, confirm that the upgrade to firmware 5.0.4 is installable without uninstalling all that wreck? Just like to be on the safer side... I don´t like to be on Schettino´s ship or driving reckless... ;D Last edited by jglerner; 03-03-2012 at 03:39 PM. Reason: Just to be on joke side... |
![]() |
![]() |
![]() |
Tags |
kindle touch hacks |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font Hack for Kindle Touch? | Sassapphras | Kindle Developer's Corner | 1 | 02-12-2012 09:05 PM |
Kindle DXG Font Hack Help | rmt | Kindle Developer's Corner | 0 | 12-05-2010 01:19 PM |
Kindle DX 3G hack font 2.5.5? | vebaev | Kindle Developer's Corner | 1 | 10-07-2010 06:45 PM |
Hacks Kindle font hack ?? | badgoodDeb | Amazon Kindle | 5 | 07-24-2009 06:18 PM |
Kindle 2 Unicode Font Hack | Blog Kindle | Kindle Developer's Corner | 14 | 04-15-2009 04:55 PM |