Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2017, 05:28 PM   #16
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,534
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
epub extension uses the Adobe RMSDK based renderer. kepub.epub uses the ACCESS based renderer.

Sent from my Nexus 7 using Tapatalk
PeterT is offline   Reply With Quote
Old 04-09-2017, 06:51 AM   #17
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,786
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Check the font in a font editor to see if something is wrong with the j.
JSWolf is online now   Reply With Quote
Advert
Old 04-09-2017, 05:00 PM   #18
hwanjongyu
Enthusiast
hwanjongyu began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Aug 2015
Device: Kobo Libra H20 / Glo HD
I don't know what was problem.
But GeoffR sent modified font and it worked for me.
Thank you, GeoffR.
hwanjongyu is offline   Reply With Quote
Old 04-09-2017, 07:44 PM   #19
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
Quote:
Originally Posted by hwanjongyu View Post
I don't know what was problem.
But GeoffR sent modified font and it worked for me.
Thank you, GeoffR.
I don't know what the problem was either, but I suspect there was something wrong with the way the j glyph was drawn in the original font. I don't know enough about manipulating glyphs in fontforge to say exactly what it was though.

I made these changes:

* Changed name of ligature tables from 'lig' to 'liga'.
* Increased weight of Regular/Italic by 4 em units.
* Created Bold/BoldItalic versions with weight increased by 50 em units.
* Changed PANOSE weights to book/bold.
* Added 'old-style' kern tables.

I think the slight change in weight, which causes the glyphs to be re-drawn, was probably what fixed the problem with the 'j'.

I just need to change the name of the font to be able to distribute it under the OFL licence, so if anyone wants me to post it here, just think of a new name.

Last edited by GeoffR; 04-09-2017 at 07:46 PM.
GeoffR is offline   Reply With Quote
Old 04-09-2017, 07:48 PM   #20
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,534
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Josarivo in honour of the J?
PeterT is offline   Reply With Quote
Advert
Old 04-09-2017, 09:37 PM   #21
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

I changed the name from Rosarivo to Rojarivo, Rosa (pink) to Roja (red) as the new font is slightly heavier, and appears to fix the problem with the 'j'.

It is a nice font and it is a shame to mess with it, maybe someone more knowledgable could take a look at the 'j' glyph in the original font and fix it without changing the weight. Also the bold versions I just created by using the default fontforge parameters, someone else might be able to do a better job.

I made these changes:

* Changed name of ligature tables from 'lig' to 'liga'.
* Increased weight of Regular/Italic by 4 em units.
* Created Bold/BoldItalic versions with weight increased by 50 em units.
* Changed PANOSE weights to book/bold.
* Added 'old-style' kern tables.
* Changed font name from Rosarivo to Rojarivo.

Edit: I've attached an alternative with the Bold/BoldItalic versions created by increasing the weight by only 36 em units. This is not a full bold, more of a semi-bold I think, but it doesn't distort the shape of the glyphs as much.
Attached Files
File Type: zip Rojarivo_v1.zip (123.7 KB, 586 views)
File Type: zip Rojarivo_v1_semibold.zip (122.0 KB, 436 views)

Last edited by GeoffR; 04-09-2017 at 10:19 PM. Reason: Added semibold version
GeoffR is offline   Reply With Quote
Old 04-10-2017, 09:44 AM   #22
ZodWallop
Gentleman and scholar
ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.
 
ZodWallop's Avatar
 
Posts: 11,479
Karma: 111164374
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara BW; Nook ST w/Glowlight, Paperwhite 3
Quote:
Originally Posted by GeoffR View Post
I changed the name from Rosarivo to Rojarivo, Rosa (pink) to Roja (red) as the new font is slightly heavier, and appears to fix the problem with the 'j'.

It is a nice font and it is a shame to mess with it, maybe someone more knowledgable could take a look at the 'j' glyph in the original font and fix it without changing the weight. Also the bold versions I just created by using the default fontforge parameters, someone else might be able to do a better job.

I made these changes:

* Changed name of ligature tables from 'lig' to 'liga'.
* Increased weight of Regular/Italic by 4 em units.
* Created Bold/BoldItalic versions with weight increased by 50 em units.
* Changed PANOSE weights to book/bold.
* Added 'old-style' kern tables.
* Changed font name from Rosarivo to Rojarivo.

Edit: I've attached an alternative with the Bold/BoldItalic versions created by increasing the weight by only 36 em units. This is not a full bold, more of a semi-bold I think, but it doesn't distort the shape of the glyphs as much.
Thank you very much!
ZodWallop is offline   Reply With Quote
Old 04-10-2017, 12:15 PM   #23
anacreon
Guru
anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.
 
anacreon's Avatar
 
Posts: 977
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage, Libra 2
Thank you Geoff. This is a beautiful font, but I find that it needs a very wide line spacing to avoid the dreaded cut-off lines at the bottom for kepubs (latest F/W), and it looks strange with the line spacing practically as wide as the line itself.

What I find stranger is that when I go back to Palatino linotype without changing the line spacing, the page looks much better.
anacreon is offline   Reply With Quote
Old 04-10-2017, 11:28 PM   #24
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
Quote:
Originally Posted by anacreon View Post
Thank you Geoff. This is a beautiful font, but I find that it needs a very wide line spacing to avoid the dreaded cut-off lines at the bottom for kepubs (latest F/W), and it looks strange with the line spacing practically as wide as the line itself.
I don't know how to change that unfortunately, I think it is just a problem with the KePub reader. I could increase the internal line spacing in the font, but that would just make it like the Kobo Nickel font, with very wide line spacing in both the ePub and KePub readers. The way it is, at least it works fine in the ePub reader, and those using the KePub reader can increase the spacing to avoid the problem.

Edit: If anyone wants to have a go at fixing that problem, you can try adjusting the HHead ascent offset and/or HHead descent offset in OS/2 > Metrics, I have a feeling the only way to avoid the KePub cut-off problem is to use settings that increase the overall line spacing though -- either the font's internal spacing, or the spacing in the device/book stylesheet.

Last edited by GeoffR; 04-10-2017 at 11:41 PM. Reason: OS/2 > Metrics
GeoffR is offline   Reply With Quote
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
Old 04-11-2017, 02:25 PM   #26
anacreon
Guru
anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.anacreon ought to be getting tired of karma fortunes by now.
 
anacreon's Avatar
 
Posts: 977
Karma: 3475832
Join Date: May 2012
Location: France
Device: Elipsa, Sage, Libra 2
The limit before the cut-off makes a somewhat wider line spacing than I would otherwise choose, but it is much better, and I will read with it. Thank you very much.
anacreon is offline   Reply With Quote
Old 04-12-2017, 02:37 AM   #27
bartveld
Evangelist
bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.bartveld ought to be getting tired of karma fortunes by now.
 
bartveld's Avatar
 
Posts: 413
Karma: 1477913
Join Date: Jan 2006
Location: Netherlands
Device: KA1, Galaxy S8, Galaxy Tab A 10.1, ReMarkable
May I suggest you also post this font here. For completeness sake...
bartveld is offline   Reply With Quote
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, 1977 views)
File Type: zip Rojarivo_v3.2_dark.zip (143.6 KB, 1420 views)

Last edited by GeoffR; 05-22-2017 at 04:37 AM. Reason: Updated to v3.2
GeoffR is offline   Reply With Quote
Old 05-21-2017, 10:26 PM   #29
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
v3.1

I've added v3.1 to the above post. It turns out that trying to avoid one KePub problem just causes another.

* v3 is probably better for those who read KePubs with very narrow line spacing.

* v3.1 is probably better for those who read KePubs with a large font size.

Either version is fine for reading ePubs.

Edit: The only difference between v3 and v3.1 is the HHead ascent/descent offsets. If you want to play with them in fontforge you might be able to find a setting that works better for you. Increasing both offsets improves the split problem and worsens the clip problem, decreasing both offsets does the opposite.
Attached Thumbnails
Click image for larger version

Name:	Rojarivo_metrics.png
Views:	413
Size:	50.0 KB
ID:	156924  

Last edited by GeoffR; 05-22-2017 at 12:13 AM. Reason: attached screenshot
GeoffR is offline   Reply With Quote
Old 05-22-2017, 04:52 AM   #30
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
v3.2

I've updated the attachments in post #28 to v3.2, which uses HHead ascent/descent offsets of 224/284. I think this version will avoid the KePub clip problem in most cases, but still allow the line spacing to be set a bit lower than in v2.
GeoffR is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil/Qt does not display the font but ADE rubeus Sigil 8 01-04-2015 09:32 AM
card symbols don't display properly asqueue Conversion 3 05-12-2014 03:19 PM
Strange display issue with a certain font bfollowell Sigil 4 02-15-2014 08:18 AM
Altering HTML Script To Properly Display Background Images In ADE Ereaders. Turk.Turkleton Sigil 16 09-25-2012 12:34 PM
M92 fonts: why would a font not display? mSSM Onyx Boox 8 09-05-2012 03:34 AM


All times are GMT -4. The time now is 09:12 PM.


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