Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-30-2010, 04:59 PM   #766
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: 9,832
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
And to answer jglerner re: splitting the thread: We already discussed it a bit the first time around, and it's still not something I want to do .

With very, very few exceptions, the issues/instructions are the same between fw 2.x & fw 3.x. The hack themselves work in exactly the same way. That'd just make me have to repeat myself in two threads instead of one .

And, for all intents and purposes, we can probably consider the fw 2.x to be a 'frozen'/'dead' platform, so nothing new's gonna happen on that front.
NiLuJe is offline   Reply With Quote
Old 09-30-2010, 06:58 PM   #767
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: 9,832
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
To workaround the issues some of you have encountered when switching fonts on FW 3.x, you'll find here a bunch of font sets packaged as an update file.

To use these, just upload the file corresponding to your Kindle model to the root of your Kindle, and "Update Your Kindle", just like a hack . You shouldn't need to restart your Kindle at all after that .

(Of course, for these to do something, you'll have to have the Fonts Hack installed!)

Now, if you want to package your own fonts like this, it's gonna be a bit more cumbersome than usual. You'll be needing a Python 2.x environment, and OpenSSL. If you're on OS X/Linux, you shouldn't have to do anything, that should already be part of your system. On Windows, you'll have to install both.
Python: http://www.python.org/download
OpenSSL: http://www.slproweb.com/products/Win32OpenSSL.html (The Light installer should be enough)

Download the kindle-fontpackager-1.0.N.zip file attached here, and unpack it somewhere easy to find. For the purpose of this post, I'll assume it's unpacked in ~/Kindle on OS X/Linux, and C:\Kindle on Windows.

Also take note of where the fonts you want to use are located (And, as always, they'll have to follow the usual naming scheme). I'll assume they're in ~/Kindle/Fonts (C:\Kindle\Fonts on Windows).

Open your favorite Terminal emulator (cmd by default on Windows), and do:

OS X & Linux
Code:
cd ~/Kindle/src
python ./build-update.py ~/Kindle/Fonts
Windows
Code:
cd C:\Kindle\src
build-update.py C:\Kindle\Fonts
If you're not missing any font files, you'll end up with the update .bin file you need in ~/Kindle (C:\Kindle on Windows) .
Attached Files
File Type: zip Diavlo_K3-PKG.zip (4.35 MB, 672 views)
File Type: zip FertigoPro_K3-PKG.zip (4.48 MB, 654 views)
File Type: zip Fontin_K3-PKG.zip (2.18 MB, 663 views)
File Type: zip Museo_K3-PKG.zip (2.58 MB, 614 views)
File Type: zip Museo_Slab_K3-PKG.zip (2.51 MB, 586 views)
File Type: zip Droid_Sans-PKG.zip (5.24 MB, 742 views)
File Type: zip kindle-fontpackager-1.0.N.zip (22.5 KB, 176 views)

Last edited by NiLuJe; 08-18-2015 at 07:00 PM.
NiLuJe is offline   Reply With Quote
Old 09-30-2010, 07:34 PM   #768
no1bossman
Junior Member
no1bossman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2010
Device: Kindle 3G
I have a 3G version so I was wondering if my unit uses the host computer as a gateway with the USB network feature will it still attempt to communicate over the 3G network at the same time? I'm a international user currently with wireless disabled & downloading ebooks via USB.

Last edited by no1bossman; 09-30-2010 at 07:44 PM.
no1bossman is offline   Reply With Quote
Old 09-30-2010, 08:20 PM   #769
Anarel
Evangelist
Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.Anarel has a propeller beanie that spins backward.
 
Anarel's Avatar
 
Posts: 424
Karma: 61399
Join Date: Dec 2009
Device: K1, GKDX, K3
The wiki page helped me a bit more with this than the original post.

When I want to change the font from what it is now to something else, do I take the font files from the linkfonts folder on my Kindle or the fonts file from the font.bin I downloaded and unpacked? x_X
Anarel is offline   Reply With Quote
Old 09-30-2010, 08:34 PM   #770
kiat
Junior Member
kiat began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2010
Location: Singapore
Device: kindle3
Hi

Can I know what is the purpose of running the jailbreak?

Do I need to run that before running the screensaver hack?
kiat is offline   Reply With Quote
Old 09-30-2010, 08:46 PM   #771
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: 9,832
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
@no1bossman: No tethering is automatically enabled with the USBNet hack. You have to start/stop it manually. So, you're probably still using the 3G network. (Or nothing if it's off ). it won't magically enable any kind of networking to the outside world, just PC<->Kindle .

@Anarel: Er, what? You take them (and by 'them', I mean the *new* fonts) from wherever you want, so long as they're named correctly, and you copy them *to* the linkfonts/fonts folder *on* your Kindle. o_O

@kiat: The sole purpose of the jailbreak is to enable us to use custom update files. So, yes, you need it.
NiLuJe is offline   Reply With Quote
Old 09-30-2010, 09:16 PM   #772
jglerner
Connoisseur
jglerner doesn't litterjglerner doesn't litter
 
jglerner's Avatar
 
Posts: 95
Karma: 128
Join Date: Feb 2010
Location: Upside-down
Device: Kindle 3g (US), KT & PaperWhite, Nook ST
Quote:
Originally Posted by NiLuJe View Post
And to answer jglerner re: splitting the thread: We already discussed it a bit the first time around, and it's still not something I want to do .

With very, very few exceptions, the issues/instructions are the same between fw 2.x & fw 3.x. The hack themselves work in exactly the same way. That'd just make me have to repeat myself in two threads instead of one .

And, for all intents and purposes, we can probably consider the fw 2.x to be a 'frozen'/'dead' platform, so nothing new's gonna happen on that front.
If it's OK for you, it's good for me!

Thanks for the direct answer.

jglerner is offline   Reply With Quote
Old 09-30-2010, 09:54 PM   #773
mubertmumphrey
Member
mubertmumphrey began at the beginning.
 
Posts: 21
Karma: 44
Join Date: Sep 2010
Device: Kindle 3
As promised earlier, here are images of Adobe Garamond Premier Pro semibold on my Kindle. Again, this was converted from otf to ttf with High-Logic FontCreator, which seemed to do a better job than FontForge. The second and third screenshots are at font size 4, and the last image is size 3. At size 4, the font size seems very close to the original serif at size 3, except there is slightly more vertical spacing (which could always be adjusted with the font software).
Attached Thumbnails
Click image for larger version

Name:	AdobeGaramondPro_Home.png
Views:	372
Size:	42.5 KB
ID:	59144   Click image for larger version

Name:	AdobeGaramondPro_Size4_1.png
Views:	381
Size:	39.1 KB
ID:	59145   Click image for larger version

Name:	AdobeGaramondPro_Size4_2.png
Views:	404
Size:	54.5 KB
ID:	59146   Click image for larger version

Name:	AdobeGaramondPro_Size3.png
Views:	450
Size:	58.7 KB
ID:	59147  
mubertmumphrey is offline   Reply With Quote
Old 09-30-2010, 10:04 PM   #774
no1bossman
Junior Member
no1bossman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2010
Device: Kindle 3G
Quote:
Originally Posted by NiLuJe View Post
@no1bossman: No tethering is automatically enabled with the USBNet hack. You have to start/stop it manually.
Sorry to be a pain. How do I disable tethering? I only ask because I don't want the 3G connectivity on for too long while I figure it out.
no1bossman is offline   Reply With Quote
Old 09-30-2010, 11:00 PM   #775
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: 9,832
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
@mubertmumphrey: Note that you should be able to use the OTF directly. Just rename them. (I'm using some OpenType CFF fonts without any issue right now) . They should be a bit sharper and less fuzzy if the hinting is good. But it depends on how you prefer your fonts to look, sharp or fuzzy .

@no1bossman: There is no tethering until you atually start it yourself, that's what I just said.

Last edited by NiLuJe; 09-30-2010 at 11:05 PM.
NiLuJe is offline   Reply With Quote
Old 09-30-2010, 11:07 PM   #776
mubertmumphrey
Member
mubertmumphrey began at the beginning.
 
Posts: 21
Karma: 44
Join Date: Sep 2010
Device: Kindle 3
Wow, really? Behold my stupidity. It boggles my mind then that the file size of the converted ttf files are a magnitude larger than the original otfs. If otf is an extension of ttf, you'd think the files would likely be smaller.
mubertmumphrey is offline   Reply With Quote
Old 09-30-2010, 11:10 PM   #777
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: 9,832
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
@mubertmumphrey: If it's using CFF (cubic) curves instead of TT (quadratic) curves, they're usually a bit smaller. Also, no TrueType bytecode hinting instructions, which can take up a shitload of space . Also depends on how much your software compress the font file itself . Bottom line, just saying 'OpenType' doesn't really tell you much about how the font is really outlined .

The foundry will usually give a more accurate description, like OpenType CFF, OpenType PS/Type2, or OpenType TrueType, so that's not really a problem when you're actually browsing/buying fonts, but when you stumble upon a file on your hard-drive, it can be a pain to tell the difference unless you know what & how to look for .

Last edited by NiLuJe; 09-30-2010 at 11:18 PM.
NiLuJe is offline   Reply With Quote
Old 09-30-2010, 11:36 PM   #778
mubertmumphrey
Member
mubertmumphrey began at the beginning.
 
Posts: 21
Karma: 44
Join Date: Sep 2010
Device: Kindle 3
Thanks for the clarification, I only wish I knew so much about font formats.

I copied over the original otf files and now the font looks quite off. I compared the images up close, and it's interesting how different the anti-aliasing is. The ttf version looks fuller with edges less defined, while the otf version seems to be cutting down on the number of interpolated pixels at the expense of creating artifacts.

The attached image is of the original Adobe Premier Pro semibold font in OpenType format. The text is identical to the third image of my previous post.
Attached Thumbnails
Click image for larger version

Name:	AdobeGaramondPro_originalOtf.png
Views:	405
Size:	46.0 KB
ID:	59148  

Last edited by mubertmumphrey; 09-30-2010 at 11:40 PM.
mubertmumphrey is offline   Reply With Quote
Old 09-30-2010, 11:38 PM   #779
kiat
Junior Member
kiat began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Sep 2010
Location: Singapore
Device: kindle3
Quote:
Originally Posted by NiLuJe View Post
@no1bossman: No tethering is automatically enabled with the USBNet hack. You have to start/stop it manually. So, you're probably still using the 3G network. (Or nothing if it's off ). it won't magically enable any kind of networking to the outside world, just PC<->Kindle .

@Anarel: Er, what? You take them (and by 'them', I mean the *new* fonts) from wherever you want, so long as they're named correctly, and you copy them *to* the linkfonts/fonts folder *on* your Kindle. o_O

@kiat: The sole purpose of the jailbreak is to enable us to use custom update files. So, yes, you need it.
Thanks!!

Working perfectly now
kiat is offline   Reply With Quote
Old 10-01-2010, 12:09 AM   #780
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: 9,832
Karma: 17500002
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
@mubertmumphrey: Yeah, that does look like what the K3 would do with an OTF (or a TrueType font with bytecode hinting instructions, and the bytecode hinter enabled, for that matter) with slightly off hinting (or hinting tweaked for other renderers...).

So, yeah, it's a bit hit & miss depending on the fonts... (You can get an idea of how it'll look like on a K3 when using FreeType on a PC, with the hinting at the highest level, the bytecode hinter enabled, and the autohinter disabled).

With a full Linux system, you can usually avoid these kind of issues, either by using the autohinter (wich was the default on a lot of distribs for a long time, because of patents issues), or by having an extensive fontconfig configuration with explicit bci/autohint blacklists for some fonts/foundries, depending on the desired size of the font. Unfortunately, on the K3, those settings are frozen (except for the browser, and even then, that might not be true, I haven't checked).

To give you an idea, my local fontconfig config file is 200 lines long... And that's just for a few specific fonts/foundries handling, most of it for the MS Core fonts . (But I freely admit to being pretty anal about font rendering on my computer, so... ). And I usually do end up using the autohinter over bci for everything except MS fonts, both because I usually prefer how it renders fonts, and because it pretty much solves any issue a font might have because of crappy embedded hinting instructions .

AFAIK, MS' ClearType renderer avoid some of those issues by using the hinting instructions differently, and an extended blacklist system.

No idea about Apple & Adobe's renderers, but I guess they usually do try to avoid showing things like that to the user . (Not that familiar with those, the OS X font rendering pretty much makes me want to tear my eyes out... And again for every website embedding text rendered like that in images... For the few times I used Acrobat, Adobe's one seems pretty nice & solid).

EDIT: Attached some screens of ftview to demonstrate how settings change everything with FreeType... (first is Lucida Sans, crappy hinting, second is Consola, very specific hinting, last is DejaVu Serif, very marked hinting tailored to FT). Most of my FontConfig tinkering usually ends up in settings like in the second column (which will look like crap on a CRT screen, in case anyone still has one of those :P).
Attached Thumbnails
Click image for larger version

Name:	lucida_sans.png
Views:	355
Size:	97.9 KB
ID:	59151   Click image for larger version

Name:	consola.png
Views:	356
Size:	90.4 KB
ID:	59152   Click image for larger version

Name:	dejavu_serif.png
Views:	370
Size:	88.5 KB
ID:	59153  

Last edited by NiLuJe; 10-01-2010 at 01:28 AM.
NiLuJe is offline   Reply With Quote
Reply

Tags
fonts, fw3, hack, jailbreak 3.1, niluje's hacks, screensavers, usbnet

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB network can't connect Slusho64 Kindle Developer's Corner 22 01-23-2013 10:00 PM
USB Network help? XxKryoxX Kindle Developer's Corner 6 12-31-2012 09:47 AM
Is there a hacks to install Time to read feature in other Kindles ? Biberkopf Kindle Developer's Corner 1 11-27-2012 05:08 PM
Hacks DXG Font hacks ? nimblem Amazon Kindle 2 09-21-2010 04:35 PM
Font Hacks wildchild06241 Introduce Yourself 5 06-24-2010 09:08 PM


All times are GMT -4. The time now is 12:47 AM.


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