Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-12-2018, 11:54 AM   #511
luiz_ng
Junior Member
luiz_ng began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2018
Device: Kindle PPW3
Default menu font?

Hi,
Does anyone know what font kindle used in title bar and Go To TOC menu when reading? It’s not fully supported in my language so I want to change it. I tried changing amazon ember but it was still the same.
luiz_ng is offline   Reply With Quote
Old 06-12-2018, 12:01 PM   #512
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Futura or Ember, IIRC. (Helvetica in very old FWs).
NiLuJe is offline   Reply With Quote
Old 03-25-2019, 02:48 PM   #513
starcrys
Member
starcrys is that somebody.starcrys is that somebody.starcrys is that somebody.starcrys is that somebody.starcrys is that somebody.starcrys is that somebody.starcrys is that somebody.starcrys is that somebody.starcrys is that somebody.starcrys is that somebody.starcrys is that somebody.
 
Posts: 16
Karma: 45242
Join Date: Mar 2019
Device: KPW4
Hm...I'm not sure if this is off topic or something, but I'm a bit muddy on the font hack stuff. If I have a system that has FW 5.10 and above, and I actually just want to have custom font for the files (.txt format by the way, I know that the kindle will allow for custom fonts in .azw3 format) that I'll be reading (e.g. on PW4, provided I get it JBed and install the fonts hack), what will I have to override since the custom fonts won't appear on the Aa/normal fonts screen? Or maybe the font hack doesn't work in such a high firmware version/PW4?

I know I can convert the .txt to .azw3, but I'm looking to see if a simpler solution can be done without have to do the conversion (since I have lots of files numbering to the hundreds and thousands...I don't want to think of the time it will take to do all that). Thanks.

Last edited by starcrys; 03-25-2019 at 02:52 PM.
starcrys is offline   Reply With Quote
Old 03-25-2019, 03:35 PM   #514
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
I don't actually recall if I ever tested this with TXT files, but I can say that stuff generally appear to still behave (at least on 5.9.7).

The only thing that got broken are FreeType overrides, but that was an extra optional feature, with a built-in safety check, so it just gets automagically disabled on unsupported FW.
NiLuJe is offline   Reply With Quote
Old 03-25-2019, 06:34 PM   #515
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Ah...
*.txt is how Lab126 spells *.htm (or *.html).
knc1 is offline   Reply With Quote
Old 11-10-2019, 10:32 PM   #516
mbrd2019
Junior Member
mbrd2019 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2019
Device: KV
Hi, NiLuJe, many thanks for your great works, esp. your excellent font hack extension, by which i turn off "antialias" in my KV, making fonts outline sharper and released my eyes a lot (very personal sense), with the following code:

<edit name="antialias" mode="assign"><bool>false</bool></edit>

It makes me to pick up my KV again which thrown aside for a long time.

Here is my problem:
Now i find out this turning off "antialias" func works not on custom-added fonts, though well on system-embedded fonts.

Do i have an opportunity to ask for solutions for such func on custom-added fonts?

(temporarily i hack the system fonts till now, but i hate to re-hack when a new font is enlisted)

Thanks in advance.
mbrd2019 is offline   Reply With Quote
Old 11-11-2019, 11:48 AM   #517
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Define "custom" . There may be scoping issues where AA is concerned, check all the base fontconfig settings.

It's been years since I looked at this stuff, so that's a bit of a wild guess. You can check live with fc-match's verbose output.
NiLuJe is offline   Reply With Quote
Old 11-12-2019, 07:39 AM   #518
mbrd2019
Junior Member
mbrd2019 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2019
Device: KV
Quote:
You can check live with fc-match's verbose output.
Thanks. Yet I am shame to say me a newbie of newbies, even the code above i got it simply by web search, so forgive me cannot catch you a master well here.
For KV, maybe it accesses custom fonts differently from embedded ones. Anyway, will hang on to see if sb would offer a good example, who cares much on AA as I do.
mbrd2019 is offline   Reply With Quote
Old 02-14-2020, 12:20 PM   #519
sosik1
Junior Member
sosik1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2020
Location: [PL] Zawiercie
Device: Kindle Paperwhite gen. 1
Something went wrong. Paperwhite gen. 1:

- 5.6.1.1 -- downgrade to 5.3.5
- jailbreak
- update to 5.6.1.1 from *.bin file
- install KUAL, MRPI, Python and font hack from https://www.mobileread.com/forums/sh...d.php?t=225030
- paste my font in *.ttf format to linkfonts/fonts folder
- KUAL > Fonts > Fonts Hack Behavior > Update fontconfig cache
- restart...
- 6 original fonts + publisher font

Sorry for my english.
sosik1 is offline   Reply With Quote
Old 02-14-2020, 01:07 PM   #520
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@sosik1: And what's the issue, exactly?
NiLuJe is offline   Reply With Quote
Old 02-14-2020, 01:48 PM   #521
sosik1
Junior Member
sosik1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2020
Location: [PL] Zawiercie
Device: Kindle Paperwhite gen. 1
My own font is not recognized in Aa menu.
sosik1 is offline   Reply With Quote
Old 02-14-2020, 01:54 PM   #522
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@sosik1: read the big fat warning about FW >= 5.4.x in the first post.
NiLuJe is offline   Reply With Quote
Old 03-26-2020, 03:19 PM   #523
kokaros
Junior Member
kokaros began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2020
Device: Kindle PW 3
Hey @NiLuJe.
I'm the guy who recently made a thread about backing up book highlights and notes. I'm posting this here as it's directly related to this post.
Reminder: I own a PW3 running on FW v5.12.4

I've followed the steps you've written in this guide, and the *extra cautious* you linked to here about the font override:
Quote:
Originally Posted by NiLuJe View Post
IMPORTANT NOTICE FOR FW >= 5.4.x USERS: I repeat, currently, the only way to actually use your custom fonts on your device is to use the Font Overrides feature. If this is still a bit muddy for you, check the first part of this post for a barebones version of the best procedure to follow on these new devices/firmware versions.
However, even after following the font override instructions you gave, the font does not change within the native Kindle reader.

Do I need to do this for it to work?
Quote:
Originally Posted by NiLuJe View Post
Like my K2/3/4 Fonts hack, you will also have a choice of three different FreeType libraries to choose from in the Fonts -> FreeType Override KUAL menu. Freetype's job is to render the fonts, so enabling this can have a drastic impact on the 'look' of your fonts. It can also help avoid a lot of weird issues with custom fonts. I'm personally usually running the BCI override.
To give you a rough idea of the differences between the three choices: BCI should be the closest to Amazon's, it uses the native bytecode to hint TrueType fonts; AutoHint instead relies on freetype's own code to automatically hint fonts (it can help with fonts with broken bytecode, or at least bytecode that freetype chokes on); and light is basically autohint with a twist, might be a little closer to BCI.
(I'll refer you to the freetype & fontconfig documentation if you want more info about all this).
You'll need to restart the X server (via the Fonts > Restart the X server now KUAL button) to take an FT override into account. Make sure your system is in a sane state (ie. it cold boots properly) before using an FT override (meaning don't try to do a billion things at once, take it step by step), and make sure the X server restarts properly before rebooting your Kindle.
Also, I don't quite understand what you are trying to say in this section:
Quote:
Originally Posted by NiLuJe View Post
On the subject of Code2000, note that it's only used as a last resort fallback. If you happen to install a custom font supporting a specific script, it will get picked up to render that script over Code2000, no matter what your fallback override is set to. On the other hand, for complex scripts, it might render with some minor to showstopping layout issues: this is what the fallback override was designed to fix .
kokaros is offline   Reply With Quote
Old 03-26-2020, 03:27 PM   #524
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
This is *extremely* untested on 5.12.x (and, much more generally, on > 5.9.x). So, no idea. If you're familiar with fontconfig, you can check the generated shards for obvious mistakes and double-check the mappings via fc-match.

While I haven't bothered to check because it'd be a waste of time without a device to test it on, I would expect this to be broken on FW where Amazon added support for custom fonts, so, it's not terribly surprising.

----

FreeType Overrides are (safely) ignored on FW > 5.8.x (and/or earlier, not that it matters here), so that's irrelevant .

----

That just means Code2000 is at the bottom of the matching list (as it should, it's got decent coverage, but it's fugly as hell, and has weird metrics). Even with a fallback override set.

Last edited by NiLuJe; 03-26-2020 at 03:30 PM.
NiLuJe is offline   Reply With Quote
Old 03-26-2020, 09:33 PM   #525
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,059
Karma: 3000026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
@kokaros
Why do you want to use the Font Hack in the first place?
FW 5.9.4+ natively support adding extra fonts to /fonts folder in the visible USB root.
mergen3107 is offline   Reply With Quote
Reply

Tags
fontconfig, fonts, freetype, hacks, paperwhite, touch


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K5 FW 5.x ScreenSavers Hack NiLuJe Kindle Developer's Corner 3002 04-04-2024 09:30 AM
[Kindle Touch] Font Hack ixtab Kindle Developer's Corner 508 05-18-2020 12:41 PM
Hacks Kindle Touch Registration Hack codeisnightmare Amazon Kindle 15 10-19-2014 09:17 PM
Touch Can I get Kindle Touch Fonts On Nook Touch? tanteoma Barnes & Noble NOOK 5 05-17-2012 09:02 PM
Font Hack for Kindle Touch? Sassapphras Kindle Developer's Corner 1 02-12-2012 09:05 PM


All times are GMT -4. The time now is 04:52 PM.


MobileRead.com is a privately owned, operated and funded community.