08-12-2013, 01:54 PM | #16 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I might have ID'd a potential issue that may explain Mailyfesux's experience. It's a bit of a domino effect, and something else (potentially linked to custom fonts, though) would have to break at the right time, but, still...
I'm running some more tests, see if some changes help... To be perfectly honest, since the K3, this has always been potentially iffy (and there's so much potentially broken data [fonts] out there to feed it, that it's impossible to cover all bases), so I'm usually ready with an SSH shell when I'm playing with this stuff. This'll be made clearer in the doc. |
08-12-2013, 06:23 PM | #17 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Released v0.2.N, with the aforementioned changes, in addition to stuff that was waiting in the wings (mostly a faster font overrides menu rebuild).
|
Advert | |
|
08-17-2013, 01:16 PM | #18 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
A quick update to 0.3 to match the rest of my stuff with updated binaries.
|
08-18-2013, 05:42 AM | #19 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Thanks for sharing observation. Now it's obvious, but earlier I always had been stunned by reports where framework restart wasn't enough for discovering new fonts and full restart was required. (But I don't use alt fonts trick at all, so absence of user fonts in KF8 content wasn't a problem for me )
|
08-18-2013, 05:51 AM | #20 |
Addict
Posts: 250
Karma: 136662
Join Date: Apr 2011
Device: N/A
|
I have the KUAL FontConfig extension installed. In order to install this font hack do I need to do something in particular, i.e. some uninstall of the former? Thank you.
A second question: I tried Gentium Book Basic and Libre Baskerville with KUAL FontConfig, and the results are far from the pictures in the first posts (Gentium is way thinner, and Libre Baskerville shows strange drawings). Is this because of not using the BCI FreeType override? Thank you for all the support. Last edited by hfpop; 08-18-2013 at 06:18 AM. |
Advert | |
|
08-18-2013, 01:57 PM | #21 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@eureka: . For some strange reason, the fcscan (or whatever it's called) search bar command also switches the rootfs rw for no good reason, since the fontconfig cache lives in /var (tmpfs).
@hfpop: OTOH, I can't remember where in the fontconfig chain is the KUAL FontConfig stuff inserted, but it shouldn't hurt, at worse it'll be redundant. To be perfectly sure, I'd uninstall it, but YMMV . Where did you get Gentium & Libre Baskerville? IIRC, Gentium is manually hinted, and the build from SIL is identical to the one on Google's Fonts Directory, so unless you have a weird export/mod, it should look *roughly* the same (it *is* a bit smaller than other fonts though). It does get a bit sharper (and thus thinner) when hinted with a v38 native hinter (what the SPR FT override does, among other crazy/stupid stuff I wanted to test), so depending on how much Amazon's mangled FreeType, that might not be completely surprising. No idea about Libre Baskerville, but they're not on the list of fonts I switched BCI off for, even though Libre Baskerville does also embed native hinting. What I *can* say about Libre Baskerville is that it crashes with Amazon's FT on my K5, so, err, I really can't tell you how it looks without an override . FWIW, the font in the first screenshot is the Palatino bundled w/ the PaperWhite, not Libre Baskerville. I switched to Libre Baskerville on my Touch, but I don't think I posted a screenshot. The second one *is* Gentium *Book* Basic (not Gentium Basic, which looks great too, but is a bit thinner), though, which is what I settled on on my PW, because, among other things, it handles the no-black-flash ghosting pretty well. Last edited by NiLuJe; 08-18-2013 at 02:18 PM. |
09-04-2013, 03:45 AM | #22 |
Connoisseur
Posts: 67
Karma: 70690
Join Date: May 2013
Device: Kindle Paperwhite 1 & Kindle 4 Black
|
I from china
Could you tell me how to make the English fonts hidden but reserve the CJK fonts? |
09-04-2013, 01:25 PM | #23 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@richy1989: Check the fontconfig file for the cjk hiding stuff in linkfonts/etc/conf.avail, and adapt it. It might be a terribly awful idea, though, because I have no idea how the framework will behave if it can't find some stuff it expects (Caecilia, Futura, Helvetica, ...).
Last edited by NiLuJe; 09-04-2013 at 09:48 PM. |
09-04-2013, 09:24 PM | #24 | |
Connoisseur
Posts: 67
Karma: 70690
Join Date: May 2013
Device: Kindle Paperwhite 1 & Kindle 4 Black
|
Quote:
now,I hide most of the unuseful fonts.It is success. I got the screenshot. At the same time, I found that the Kindle OS's UI(the manu,the title of the Dialog) is used in the font 'Futura'. So,could you help to solve these problem? 1.When I open the document with KF8,it become a bit slower after I used the USE_ALT_FONTS. 2.Is the principle of Fonts Hack different from the USE_ALT_FONTS?So the Fonts Hack will make it running faster? 3.What's the family name of the font I annotated in the picture?(the red box) |
|
09-04-2013, 09:44 PM | #25 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@richy1989:
1/ Nope, first opening of the Aa menu, yeah, but nothing more than that (at least for Latin scripts, but the default rendering stack *might* choke/struggle a bit with some custom CJK fonts, can't say, not my native script, so I haven't checked, and I'm using a custom FreeType anyway ). 2/ Nope, see the third post in this thread. Although a custom FT override *might* help. 3/ Err, exactly what it says on the box . The Aa menu renders the family name next to the radio checkbox in said family (with the exception of embedded fonts, where it just says 'Publisher Fonts' in Helvetica Neue or Futura). Last edited by NiLuJe; 09-04-2013 at 09:49 PM. |
09-04-2013, 10:15 PM | #26 | |
Connoisseur
Posts: 67
Karma: 70690
Join Date: May 2013
Device: Kindle Paperwhite 1 & Kindle 4 Black
|
Quote:
But it faild. So I think the font condensed's family name is not what it says on the box. And I found that the 'condensed' isn't appear in your font box How do you get it? |
|
09-04-2013, 11:28 PM | #27 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@richy1989:
AFAICT, we can't do much about it. It's Caecilia Condensed, and it's handled in a very weird & specific way. |
09-05-2013, 02:13 AM | #28 | |
Connoisseur
Posts: 67
Karma: 70690
Join Date: May 2013
Device: Kindle Paperwhite 1 & Kindle 4 Black
|
Quote:
'! Now it goes well. Just use the FontConfig The file extensions/fontconfig/fontlist/fonts.txt includes all the extra fonts that appear when the USE_ALT_FONTS file is present. All fonts in the list will be hidden! Let me show the latest screenshot. It is clearer! |
|
09-05-2013, 05:38 AM | #29 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
That's what you call "clear"? All that I see is some funny symbols which make no sense.
(SCNR. Just kidding ) |
09-05-2013, 06:59 AM | #30 |
Connoisseur
Posts: 67
Karma: 70690
Join Date: May 2013
Device: Kindle Paperwhite 1 & Kindle 4 Black
|
|
Tags |
fontconfig, fonts, freetype, hacks, paperwhite, touch |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
K5 FW 5.x ScreenSavers Hack | NiLuJe | Kindle Developer's Corner | 3008 | 10-29-2024 01:39 AM |
[Kindle Touch] Font Hack | ixtab | Kindle Developer's Corner | 508 | 05-18-2020 01:41 PM |
Hacks Kindle Touch Registration Hack | codeisnightmare | Amazon Kindle | 15 | 10-19-2014 10:17 PM |
Touch Can I get Kindle Touch Fonts On Nook Touch? | tanteoma | Barnes & Noble NOOK | 5 | 05-17-2012 10:02 PM |
Font Hack for Kindle Touch? | Sassapphras | Kindle Developer's Corner | 1 | 02-12-2012 10:05 PM |