12-25-2012, 07:59 AM | #421 | |
Wizard
Posts: 4,759
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
bold mine:
Quote:
So still not clear to me what all is needed for it to work on 5.3.1. |
|
12-25-2012, 11:28 AM | #422 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
However, mentioning of requirement of full system restart and JBPatch installing is scaring me. They are certainly not required at all. This method is not a black magic based on random actions, it has solid technical foundation, so, please, don't spread any myths springing from anecdotal case (it's a message to the general public). |
|
12-27-2012, 07:28 PM | #423 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
^ what eureka said.
JBPatch has absolutely nothing to do with this. In fact, even the font hack application has nothing to do with it either (and it's for Kindle Touch only, anyway). In newer Paperwhite firmwares, all of the magic is entirely contained in the original Amazon code. |
12-28-2012, 02:16 AM | #424 | |
Junior Member
Posts: 2
Karma: 41620
Join Date: Dec 2012
Device: KPW
|
Quote:
Code:
<rejectfont> <pattern> <patelt name="family"> <string>Song S</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>MKai PRC</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>TBMincho</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>TBGothic</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>HYGothic</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>HYMyeongJo</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>MYing Hei T</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>Song T</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>MYing Hei S</string> </patelt> </pattern> <pattern> <patelt name="family"> <string>MT Chinese Surrogates</string> </patelt> </pattern> </rejectfont> There is probably a more elegant solution, as I just scratched the surface of fontconfig to do this, but it worked for me. It allows for the Aa dialog to fit more custom fonts if that is your desire. I just like the fact that the box is once again small enough that you can see the text above/below, thus getting a live preview of your settings. |
|
12-28-2012, 06:52 AM | #425 | |
Wizard
Posts: 4,759
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
Quote:
I'll keep this in mind though. As for stock fonts - I rather do like MT Chinese Surrogate - it is a nice heavy font (at least when reading english with it). Having the live preview back would definately be a plus if changing fonts often. update: Finally got around to get rid of them. Looks a lot better this way Last edited by DuckieTigger; 01-01-2013 at 02:04 AM. |
|
12-29-2012, 02:31 AM | #426 | |
Junior Member
Posts: 2
Karma: 41620
Join Date: Dec 2012
Device: KPW
|
Quote:
Indeed, I should have mentioned you need to be jailbroken with usbnet to access /. And yes, please exercise caution and only do what you're comfortable doing (the usbnet guides preach this clearly enough). That said, my solution doesn't delete or change existing files, but creates a new config file (similar to others already there) with rules for which fonts running programs (e.g. the reading application) can "see". I'll re-enable MT Chinese Surrogates, based on your rec. I didn't even try it, I just didn't like how the name was too long to be displayed in full. I'm picky like that, although I think I could write config rules to shorten the name up... |
|
01-12-2013, 10:57 PM | #427 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Dec 2011
Device: none
|
Quote:
|
|
01-13-2013, 01:11 AM | #428 |
Wizard
Posts: 4,759
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
No w/o jailbreak and access to root partition you cannot disable the extra stock fonts. Well there is one way: delete USE_ALT_FONTS file and restart. You won't see your own customs fonts then either though.
Last edited by DuckieTigger; 01-13-2013 at 01:15 AM. |
01-14-2013, 07:28 PM | #429 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2013
Device: kindle touch
|
Help
I am floundering here.
Decided to add some fonts to my kindle touch. It is running the latest update. Made a empty file through notepad - USE_ALT_FONTS.txt made my font folder in root directory. added a font. all four that i needed. Tried the ;fc-cache thing and restarting with no results. |
01-14-2013, 07:34 PM | #430 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
USE_ALT_FONTS, not USE_ALT_FONTS.txt. No file extension.
|
01-14-2013, 07:39 PM | #431 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2013
Device: kindle touch
|
Got it.
Thank you!!!! Last edited by rdwilliamson; 01-14-2013 at 07:48 PM. |
01-16-2013, 11:35 PM | #432 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2013
Device: kindle touch
|
Couple of questions.
1: The format for naming font files - is it "fontname-Bold" ect. or "fontname_Bold"? I have seen it both ways. 2: Is there a way to remove or hide some of the extra stock fonts? Thanks |
01-17-2013, 08:34 AM | #433 |
Wizard
Posts: 4,759
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
@ rdwilliamson: 1 - name the fonts however you like, the real name and style is meta data inside the fontfile.
2 - scroll up to post #424 |
01-17-2013, 09:59 PM | #434 |
Member
Posts: 13
Karma: 10
Join Date: Aug 2012
Device: Kindle Paperwhite 3
|
|
01-17-2013, 10:42 PM | #435 |
Wizard
Posts: 4,759
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
Yes. If you have a font (.ttf or .otf) then the relevant information about its name and style (bold, regular, etc) are inside the file. You don't actually see the name of the font or the filename when you go to the aA menu. It shows the font-family (another metadata inside the file). The Kindle is smart enough to read each and every metadata and internally build a structure that says: use xyz.ttf for Arial in regular, use xyzz.ttf for Arial in italics (incase you decided to name them that way). That is for when using USE_ALT_FONTS, when you try to patch the built-in fonts, it needs to be done exactly as the instructions say.
Beware: some fonts do not have their metadata assigned correctly. If you "borrow" fonts from other devices or applications, their regular, bold, italic, bold-italic might not be linked together. So use those at your own risk when throwing them in the fonts folder. Last edited by DuckieTigger; 01-17-2013 at 10:48 PM. Reason: smallish typos |
Tags |
kindle touch hacks |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Font Hack for Kindle Touch? | Sassapphras | Kindle Developer's Corner | 1 | 02-12-2012 10:05 PM |
Kindle DXG Font Hack Help | rmt | Kindle Developer's Corner | 0 | 12-05-2010 02:19 PM |
Kindle DX 3G hack font 2.5.5? | vebaev | Kindle Developer's Corner | 1 | 10-07-2010 07:45 PM |
Hacks Kindle font hack ?? | badgoodDeb | Amazon Kindle | 5 | 07-24-2009 07:18 PM |
Kindle 2 Unicode Font Hack | Blog Kindle | Kindle Developer's Corner | 14 | 04-15-2009 05:55 PM |