View Single Post
Old 05-21-2017, 10:54 AM   #28
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
Rojarivo v3

This version has been rescaled in an attempt to make it fit in with the default Kobo fonts (Georgia, Avenir). The dark option appears similar in weight to Georgia on my Glo.

It should also work better at narrow line spacings in the KePub reader, On my Glo I can read KePubs with a line spacing setting as low as 0.9 (0.1 lower than the minimum setting on an unpatched device) before lines start to be cut off.

I have also added a few missing hyphen, dash, and spacing glyphs.

Changes since v2:
Spoiler:
* Added the following missing glyphs, by copying/scaling existing glyphs:
no-break space (U+00A0), thin space (U+2009) narrow no-break space (U+202F)
soft hyphen (U+00AD), hyphen (U+2010), non-breaking hyphen (U+2011)
figure dash (U+2012), horizontal bar (U+2015)

* Changed font size from 1000 to 1152, then re-scaled to 2048. Intention is to make the size of the font compatible with the default Kobo fonts, i.e. serif (Georgia) and sans-serif (Avenir).

* Dark vesion: Increased weight of Regular and Italic versions by 30, created Bold and BoldItalic versions with weight increased by 96. Intention is to make the weight closer to that of the default Kobo fonts.

* Changed HHead ascent/descent offset to 224/284. This is an attempt to work around a bug in the Kobo KePub reader, where page breaks leave the top part of the glyph on the previous page when the line spacing is narrow.


Edit: Updated to v3.2, which tries to find a medium between the line split problem which appears in KePubs at narrow line spacings, and the clip problem that appears at larger font sizes.
Attached Files
File Type: zip Rojarivo_v3.2.zip (126.8 KB, 1990 views)
File Type: zip Rojarivo_v3.2_dark.zip (143.6 KB, 1427 views)

Last edited by GeoffR; 05-22-2017 at 04:37 AM. Reason: Updated to v3.2
GeoffR is offline   Reply With Quote