View Single Post
Old 04-11-2017, 05:21 AM   #25
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 v2

I have made a small change to the font metrics which seems to help with the KePub problem where the page break cuts off the top of the glyphs leaving them on the bottom of the previous page when the line spacing is very narrow.

This doesn't change the line spacing, it just shifts the glyphs downward on the line, so there is more space above and less below. After a little testing on my Glo it seems to avoid the cut-off problem, as long as the line spacing is not so narrow that the ascenders and decenders actually touch.

(Edit: If this change works for this font, then I think the same could work for any font with this problem.)

The only change from v1 is:

* Changed HHead ascent/descent offset to 120/120.
Attached Files
File Type: zip Rojarivo_v2.zip (123.8 KB, 228 views)
File Type: zip Rojarivo_v2_semibold.zip (122.1 KB, 224 views)

Last edited by GeoffR; 04-11-2017 at 05:25 AM.
GeoffR is offline   Reply With Quote