View Single Post
Old 05-06-2015, 11:55 PM   #3
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Freedom to advanced fonts control

The unpatched firmware restricts the advanced 'TypeGenius' font menu (which allows adjustment of font weight and sharpness) to a subset of the built-in fonts. The `Freedom to advanced fonts control` patch removes this restriction, making it available for sideloaded fonts too.

It is possible to set the weight and sharpness for sideloaded fonts without patching by adding readingFontWeight and readingFontSharpness entries to the [Reading] section in the device's configuration file. For example, readingFontWeight\Georgia=0.8 sets the weight of the Georgia font to the maximum value selectable from the advanced menu slider. This patch allows the convenience of adjusting these settings onscreen without the need to edit the configuration file.

Both OTF and TTF format fonts can be adjusted, but the adjustments might not take effect in the EPUB reader unless the font is in TTF format. In recent firmware versions this patch can no longer be used with Japanese language books or Japanese locale settings.

The screenshots attached (Glo, 3.15.0) show the font options for a sideload TTF font used in a sideloaded EPUB book:
1. Unpatched, Aa menu.
2. Patched, Aa menu; note that the 'Advanced' menu is now available for this font.
3. Patched, Advanced menu, weight/sharpness increased.
4. Patched, after tapping 'Apply'.
Attached Thumbnails
Click image for larger version

Name:	unpatched.png
Views:	8260
Size:	51.8 KB
ID:	138013   Click image for larger version

Name:	patched-1.png
Views:	7772
Size:	52.7 KB
ID:	138014   Click image for larger version

Name:	patched-2.png
Views:	8336
Size:	71.4 KB
ID:	138015   Click image for larger version

Name:	patched-3.png
Views:	7691
Size:	53.2 KB
ID:	138016  

Last edited by GeoffR; 05-07-2015 at 12:23 AM. Reason: Not with Japanese language
GeoffR is offline   Reply With Quote