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 08-01-2015, 12:47 PM   #301
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
Quote:
Originally Posted by Mahiro View Post
Ok,thank you for helping.But the true reason is the books converted from epub.I tried some other books and found everything works well.
I can only answer questions based on what is written in the post.

Your post did not mention anything about type of book or type of transfer to the device (or even now - HOW (meaning, what commands and/or application) you are using to make the transfer).

PS: What you said: "Send by USB" - makes little sense.
To transfer a file over the USB cable to user storage **should not** make any changes to the file.
More likely, whatever it is you are using on the PC end of the connection is mis-behaving (but you didn't mention what your using).

**OR**

your "Send by e-mail" **IS** making some type of conversion.
But again, you don't mention enough detail to give a sensible answer.
knc1 is offline   Reply With Quote
Old 08-11-2015, 06:24 AM   #302
evianluw
Enthusiast
evianluw began at the beginning.
 
evianluw's Avatar
 
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: kindle paperwhite 2
Smile Requesting CJK fonts support

Really thanks for your work, NiLuJe. Just one request: CJK support. I'm reading Chinese books in my kindle and the Chinese fonts is horrible. I found a way doing it by using USBnet and some SSH commands: put all the fonts in /mnt/us/fonts/, plus a .conf file, and using following commands:
Code:
 mntroot rw
 ln -s /mnt/us/fonts/99-qc.conf /etc/fonts/conf.d
 mntroot ro
But after that when I reboot kindle I saw "unable to load selected application"(translated, it's actually showing Chinese cause that's my system language). After deleting the fonts folder it went back to the previous state. Maybe this method is conflicting with your fonts hack. So I'm looking for some CJK support in linkfonts!
evianluw is offline   Reply With Quote
Advert
Old 08-11-2015, 06:47 AM   #303
evianluw
Enthusiast
evianluw began at the beginning.
 
evianluw's Avatar
 
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: kindle paperwhite 2
Quote:
Originally Posted by Mahiro View Post
Hey,your work is so great because the default Chinese fonts on kpw2 are bad.But after the system updating to ver 5.6.2.1 the fonthack doesn't work anymore.
Did you use this fonts hack to change Chinese font? Were you using FW 5.4.x or 5.3.x? I'm using FW 5.4.2 and I couldn't override Chinese font with this hack.
Plus, amazon was more strict about hacking kindle on 5.6.x so I gave up upgrading. What are you updating for? Word wise?
(We should talk in Chinese instead )
evianluw is offline   Reply With Quote
Old 08-12-2015, 03:35 AM   #304
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@evianluw: Brain fried right now, but I'm pretty sure it's trivial to handle manually, following the example of one of the basic overrides. No need to ever touch a root shell.

I'm even fairly sure someone posted examples earlier in this thread.

That, and/or the fallback override might also do the job.
NiLuJe is offline   Reply With Quote
Old 08-12-2015, 02:25 PM   #305
Nicolay77
Member
Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.
 
Nicolay77's Avatar
 
Posts: 21
Karma: 2139374
Join Date: Mar 2014
Device: Kobo Glo HD, PockeBook Inkpad Color
I have a tricky question.

Is there a way to set up the font overrides this way:

Caecilia -> Candara
Caecilia Condensed -> Candara Bold

?
Nicolay77 is offline   Reply With Quote
Advert
Old 08-12-2015, 07:58 PM   #306
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Technically, it should be possible on a 'normal' system, but I'm not sure the reader doesn't do things in 'interesting' ways regarding the style handling, so, I'll go with maybe, but don't get your hopes up.

Plus, you'd have to look into FC's doc for how to enforce that kind of thing.
NiLuJe is offline   Reply With Quote
Old 08-13-2015, 12:54 PM   #307
Barty
doofus
Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.Barty ought to be getting tired of karma fortunes by now.
 
Barty's Avatar
 
Posts: 2,552
Karma: 13089041
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
Quote:
Originally Posted by Nicolay77 View Post
I have a tricky question.

Is there a way to set up the font overrides this way:

Caecilia -> Candara
Caecilia Condensed -> Candara Bold

?
I'm pretty sure you can do this if you change the typeface name of your candara bold font, e.g. 'candara bold', 'candara2', 'wererabbit' so it is seen as a separate typeface. I mean change the font metadata by using a font editor like fontforge.

(Or maybe you can point to the font sub type directly; I don't know)
Barty is offline   Reply With Quote
Old 08-13-2015, 01:26 PM   #308
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
The handling of both Caecilia and especially Caecilia Condensed is extra-wonky on Kindles, so that may add another layer of indirection...
NiLuJe is offline   Reply With Quote
Old 08-13-2015, 03:39 PM   #309
Nicolay77
Member
Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.Nicolay77 ought to be getting tired of karma fortunes by now.
 
Nicolay77's Avatar
 
Posts: 21
Karma: 2139374
Join Date: Mar 2014
Device: Kobo Glo HD, PockeBook Inkpad Color
Quote:
Originally Posted by NiLuJe View Post
The handling of both Caecilia and especially Caecilia Condensed is extra-wonky on Kindles, so that may add another layer of indirection...
Well, what about using other two fonts from the menu for this?

Like Serif and Sans Serif ?
Nicolay77 is offline   Reply With Quote
Old 08-13-2015, 08:43 PM   #310
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
On a real Linux system, sure, on the Kindle, good luck making the reader behave regarding the whole style handling. (YMMV, it's been a while since I played hide and seek with that).
NiLuJe is offline   Reply With Quote
Old 08-18-2015, 06:21 PM   #311
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Pushed release packages. Should behave properly on FW 5.6.x.
NiLuJe is offline   Reply With Quote
Old 08-22-2015, 06:20 AM   #312
nowyouare
Junior Member
nowyouare began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2015
Device: Kindle Paperwhite 3
Thank you for your awesome hack!
I have a question regarding Fonts Hack.

I have jailbroken my PW3 recently, and want to override a stock Korean font.

Below are system information :
Kindle Paperwhite 3 (US version)
KUAL v2.5.19-g2b0af4c (2015.08.14.)
Fonts Hack v0.13.N r12250 (2015.08.18.)

There are two stock korean fonts : HYMyeongjo and HYGothic.

I created 98-override-HYGothic.conf file(based on 98-override-serif.conf) in /mnt/us/linkfonts/etc/conf.d, and replaced two string values to HYGothic and NanumGothic.

Afterwards, the stock HYGothic font is changed to NanumGothic successfully.
When I read some korean books(personal books converted from epub to azw3), they are rendered to NanumGothic font.
but system menu font is also changed to NanumGothic. (which I didn't wanted)

If I replace two string values to HYMyeongjo and NanumGothic, it also works,
but then Bookerly font is also changed to NanumGothic. (which I didn't wanted)

Will it be possible to solve this problem?

Thank you.

Last edited by nowyouare; 08-22-2015 at 06:23 AM.
nowyouare is offline   Reply With Quote
Old 08-22-2015, 07:49 AM   #313
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,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@nowyouare:

Please copy/paste the current fontconfig shard you built.

When you say 'system font' do you mean Futura (sans) or Caecilia (serif)?
NiLuJe is offline   Reply With Quote
Old 08-22-2015, 08:05 AM   #314
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
Quote:
Originally Posted by nowyouare View Post
- - - -
If I replace two string values to HYMyeongjo and NanumGothic, it also works,
but then Bookerly font is also changed to NanumGothic. (which I didn't wanted)
Do you have a book that the Bookerly font worked on before your changes?

I ask because it may be something about the books your using to test with that is causing a fall-back from the new Bookerly font.
knc1 is offline   Reply With Quote
Old 08-22-2015, 08:50 AM   #315
nowyouare
Junior Member
nowyouare began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2015
Device: Kindle Paperwhite 3
@NiLuJe:

The contents of /mnt/us/linkfonts/etc/conf.d/98-override-HYGothic.conf below(no other files in that folder)

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <match target="pattern">
                <test name="family" compare="eq">
                        <string>HYGothic</string>
                </test>
                <edit name="family" mode="prepend" binding="strong">
                        <string>NanumGothic</string>
                </edit>
        </match>
</fontconfig>
When you say 'system font' do you mean Futura (sans) or Caecilia (serif)?
- I meant the font that is used on the top-right corner menu (Shop Kindle Store, Kindle FreeTime, Vocabulary Builder, ...)
The font on the first screen (Cloud | On Device All Items( ) Collection) is also changed.

@knc1:

Do you have a book that the Bookerly font worked on before your changes?
- Yes, the Bookley font worked with my english books(bought from amazon.com) without any problem before I created the .conf file.

Last edited by nowyouare; 08-22-2015 at 09:00 AM.
nowyouare 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 3040 08-21-2025 08:10 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 03:04 PM.


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