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 02-08-2016, 02:01 AM   #331
Stunatra
Enthusiast
Stunatra began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
Caecilla condensed is so awful. Who thought that was a good idea? Why not have Times Roman or Georgia or something?
Stunatra is offline   Reply With Quote
Old 02-08-2016, 03:20 AM   #332
aceflor
Wizard
aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.aceflor ought to be getting tired of karma fortunes by now.
 
aceflor's Avatar
 
Posts: 3,472
Karma: 48036360
Join Date: Aug 2009
Location: where the sun lives, or so they say
Device: Pocketbook Era, Pocketbook Inkpad 4, Kobo Libra 2, Kindle Scribe
So, installed the new hack on my KV 5.7.2 JB.

Everything still working as it should, OpenDyslexic is back, and I now have the following :
Baskerville ==> Merriweather
Bookerly
Helvetica ==> Trebuchet
Palatino ==> Charis
Publisher Font
Futura
Caecilia. This will go next, I will try to see which of my fonts to use (tricky because some fonts I had to modify myself with FontForge so I am not sure yet)
Caecilia Condensend ==> Fontin
OpenDyslexic

All working perfectly well. Bravo NiLuJe, great job again !!
aceflor is offline   Reply With Quote
Old 02-08-2016, 01:30 PM   #333
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by NiLuJe View Post
@aceflor: Are you sure that's actually the proper name fontconfig sees CharisSIL as? (i.e., what name does it show up as in the KUAL Font Override menu?). Space and casing has to be exact.
It may be Charis SIL Compact as the font name.
JSWolf is offline   Reply With Quote
Old 02-13-2016, 03:47 PM   #334
rpgmaker
Connoisseur
rpgmaker began at the beginning.
 
Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
Right now I'm using this font hack on my KPW2 (FW 5.4.5.1): https://www.mobileread.com/forums/sho...postcount=1431 it doesn't really changes the fonts as this one seems to do (if you want to) but it does change the relative size between each of the font sizes that you can select from the Aa menu, meaning that the jump in font size from each of the Aa options isn't as dramatic as it is in stock kindle and I can better fine tune the font size to my liking. Is there an option to do this using this hack? I'm considering updating to the new 5.7.X firmware at some point and I doubt that my old hack (which is labeled temporary in the post) will work.
rpgmaker is offline   Reply With Quote
Old 02-13-2016, 03:52 PM   #335
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
@rpgmaker: Yes, but you'll have to handle things manually. There are example configs for this, since it's basically needed if you want consistent font sizes when mixing TTF and CFF fonts.
NiLuJe is offline   Reply With Quote
Old 02-13-2016, 04:03 PM   #336
rpgmaker
Connoisseur
rpgmaker began at the beginning.
 
Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
Question

Quote:
Originally Posted by NiLuJe View Post
@rpgmaker: Yes, but you'll have to handle things manually. There are example configs for this, since it's basically needed if you want consistent font sizes when mixing TTF and CFF fonts.
I don't care about doing it manually, in fact I'd rather do so, is there any post on how to do this? I read the initial post and it only showed how to do things using KUAL (I don't have KUAL at the moment).
rpgmaker is offline   Reply With Quote
Old 02-13-2016, 04:17 PM   #337
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
@rpgmaker:

cf. linkfonts/etc/conf.avail/99-tweaks.conf

Of which, following the comments, the only relevant part is actually:

Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">

<!--
	Misc tweaks :)
-->
<fontconfig>
	<!-- Make Crimson Text 10% bigger -->
	<match target="font">
		<test name="family" compare="eq">
			<string>Crimson Text</string>
		</test>
		<edit name="matrix" mode="assign">
			<times>
				<name>matrix</name>
				<matrix>
					<double>1.1</double>
					<double>0.0</double>
					<double>0.0</double>
					<double>1.1</double>
				</matrix>
			</times>
		</edit>
	</match>
</fontconfig>
On a sidenote, KUAL is a required dependency (of basically everything) with FW >= 5.5.x, since you need it to install packages.
NiLuJe is offline   Reply With Quote
Old 02-13-2016, 05:54 PM   #338
rpgmaker
Connoisseur
rpgmaker began at the beginning.
 
Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
Quote:
Originally Posted by NiLuJe View Post
@rpgmaker:

cf. linkfonts/etc/conf.avail/99-tweaks.conf

.
.
.

On a sidenote, KUAL is a required dependency (of basically everything) with FW >= 5.5.x, since you need it to install packages.
Does that method work on the default kindle fonts or just on the fonts in the fonts hack 'fonts' folder? How would I go about fine tuning the 'matrix' to my liking or where is the doc about it? Judging from this post here: https://www.mobileread.com/forums/sho...4&postcount=11 do I have to change only the elements with numbers other than 0 (per your example)?

Thanks for the KUAL information.
rpgmaker is offline   Reply With Quote
Old 02-13-2016, 06:05 PM   #339
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
@rpgmaker: Yes on both counts, where the font comes from is irrelevant.

As for the docs, not much in there besides reminding me that I suck at maths .
NiLuJe is offline   Reply With Quote
Old 02-13-2016, 06:16 PM   #340
rpgmaker
Connoisseur
rpgmaker began at the beginning.
 
Posts: 86
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2
Quote:
Originally Posted by NiLuJe View Post
@rpgmaker: Yes on both counts, where the font comes from is irrelevant.

As for the docs, not much in there besides reminding me that I suck at maths .
Looks good! Does it do anything about margins too, by any chance?
rpgmaker is offline   Reply With Quote
Old 02-13-2016, 07:03 PM   #341
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
@rpgmaker: Nope.
NiLuJe is offline   Reply With Quote
Old 02-21-2016, 04:05 AM   #342
Nausicaa
Connoisseur
Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.Nausicaa ought to be getting tired of karma fortunes by now.
 
Posts: 92
Karma: 2222222
Join Date: Sep 2011
Device: Kindle
I'm not sure what I'm doing wrong.

PW2 (5.6.5)

I followed all the instructions in the OP, and it even shows that the fonts have been replaced in kual, However, for some reason, when I select a book, it doesn't use the new font even though I did the font override. It just uses the old one, and I restarted the framework and X server. What could I be doing wrong?
Nausicaa is offline   Reply With Quote
Old 02-21-2016, 08:23 AM   #343
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
What format are the books?
I.E: What are the file extensions of the filename?
knc1 is offline   Reply With Quote
Old 02-21-2016, 09:20 AM   #344
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
@knc1: Ooh, good point, I never restart the KFX reader.

That said, an X restart *will* restart it, so, not a terrible oversight.

@Nausicaa: Which family did you try to override?
NiLuJe is offline   Reply With Quote
Old 02-21-2016, 04:03 PM   #345
kleinjar
Connoisseur
kleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refresheskleinjar can read faster than his screen refreshes
 
Posts: 59
Karma: 14210
Join Date: Jul 2015
Device: none
On 5.6.5, is there any way to change Baskerville, Palatino, Caecilla?

There's five menu items in kual font overrides: serif, sans, mono, condensed, fallback.

I have changed:
Serif (which maps to Bookerly)
Condensed (which maps to Caecilla condensed)

I understand it may not be safe to change the Sans font.
kleinjar 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 3036 06-23-2025 03:25 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 02:37 AM.


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