Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book General > General Discussions

Notices

Reply
 
Thread Tools Search this Thread
Old 08-18-2025, 02:39 PM   #316
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,873
Karma: 169716272
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Not sure where that 500/600 issue with the space and the non-breaking space comes from. I used fonttools to generate the xml ttx files from the 4 Charis files, the space and non-breaking space both show a width of 600.

Code:
    <mtx name="space" width="600" lsb="0"/>
    <mtx name="uni00A0" width="600" lsb="0"/>
DNSB is offline   Reply With Quote
Old 08-18-2025, 04:28 PM   #317
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,961
Karma: 147448039
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 DNSB View Post
Not sure where that 500/600 issue with the space and the non-breaking space comes from. I used fonttools to generate the xml ttx files from the 4 Charis files, the space and non-breaking space both show a width of 600.

Code:
    <mtx name="space" width="600" lsb="0"/>
    <mtx name="uni00A0" width="600" lsb="0"/>
No idea. I got the idea for adjusting the non-breaking space from a request earlier in the thread.

What do you think of CareInk7SP?
JSWolf is offline   Reply With Quote
Old 08-18-2025, 07:00 PM   #318
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,873
Karma: 169716272
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
No idea. I got the idea for adjusting the non-breaking space from a request earlier in the thread.

What do you think of CareInk7SP?
Not bad. I switched to Charis 7 shortly after it's release. I prefer my variant where I used the Medium weight to replace the Book weight since it saves me having to adjust the weight when adding it to one of my Kobos after a reset.

Other items are that since my variants were generated using fonttools, the kerning tables are not affected where FontForge complains they are too large and the modified font file size is much closer to the original font file size though the zipped files are much closer in size.

I've attached a file with the space/NBSP width set to 500 to this message.
Attached Files
File Type: zip Char7WSP.zip (1.64 MB, 21 views)

Last edited by DNSB; 08-18-2025 at 07:22 PM.
DNSB is offline   Reply With Quote
Old 08-19-2025, 06:41 AM   #319
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,961
Karma: 147448039
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 DNSB View Post
Not bad. I switched to Charis 7 shortly after it's release. I prefer my variant where I used the Medium weight to replace the Book weight since it saves me having to adjust the weight when adding it to one of my Kobos after a reset.

Other items are that since my variants were generated using fonttools, the kerning tables are not affected where FontForge complains they are too large and the modified font file size is much closer to the original font file size though the zipped files are much closer in size.

I've attached a file with the space/NBSP width set to 500 to this message.
I did try FontForge and get the complaint. So that was a no go. I also tried an older version of FontCreator that I had installed on my Surface. That did not like the font when saving. So that was out. I did install the free 30-day trial of Fontcreator 15. That worked no problem.
JSWolf is offline   Reply With Quote
Old 08-19-2025, 01:11 PM   #320
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,873
Karma: 169716272
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
I did try FontForge and get the complaint. So that was a no go. I also tried an older version of FontCreator that I had installed on my Surface. That did not like the font when saving. So that was out. I did install the free 30-day trial of Fontcreator 15. That worked no problem.
When I started getting too many complaints from FontForge, I tried several alternatives and found that FontTools was the one I preferred. In some ways, a bit more pain since you convert the ttf font into a ttx XML file which can be edited (I use Notepad++) and then convert the ttx file back to ttf. OTOH, it does allow me to automate some of the processing between the font variants.
DNSB is offline   Reply With Quote
Old 08-19-2025, 06:29 PM   #321
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,961
Karma: 147448039
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 DNSB View Post
When I started getting too many complaints from FontForge, I tried several alternatives and found that FontTools was the one I preferred. In some ways, a bit more pain since you convert the ttf font into a ttx XML file which can be edited (I use Notepad++) and then convert the ttx file back to ttf. OTOH, it does allow me to automate some of the processing between the font variants.
Is FontTools easy to use under Windows? How easy would it be to use it to add weight to fonts?
JSWolf is offline   Reply With Quote
Old 08-19-2025, 08:53 PM   #322
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,873
Karma: 169716272
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
Is FontTools easy to use under Windows? How easy would it be to use it to add weight to fonts?
It's easy to use for me since I use Python a fair amount. OTOH, you need to edit the XML file to make changes which is not likely to appeal to someone more used to using a GUI. Adding weight isn't that big a deal but testing added weight is the fun part (at least for me).
DNSB is offline   Reply With Quote
Old 08-20-2025, 04:25 AM   #323
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,341
Karma: 105899727
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Yes, well you need to test on different resolutions of display?
Quoth is offline   Reply With Quote
Old 08-20-2025, 04:33 AM   #324
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,873
Karma: 169716272
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Quoth View Post
Yes, well you need to test on different resolutions of display?
And at different font sizes on the same display. Not to mention that regular, italic and bold fonts tend to react differently to the same amount of added weight. Bad intersections don't help the situation.
DNSB is offline   Reply With Quote
Old 08-20-2025, 05:06 AM   #325
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,341
Karma: 105899727
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
I was surprised to discover that it's relatively common for an italic font to use a different letter form for some letters, unlike an oblique font which really is the normal just with a slant.

So certainly what works for Normal might not be so good for italic. Perhaps the bold version of normal and italic helps when designing heavier weight? Also some font look terrible in bold or on most displays (even as normal) as they need more than 300 dpi.

https://en.wikipedia.org/wiki/Garamond

This shows that the same revived typeface can be in quite different weights and have variations. The "open source" Garamond I have works on paper, but is poor on even 300 dpi eink. OTOH the Georgia I have works on most displays, as there was a version tweaked for maybe 72 dpi (certainly for lower resolution CRTs). MS has different versions of Georgia.
Quoth is offline   Reply With Quote
Old 08-20-2025, 02:35 PM   #326
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 527
Karma: 9529956
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by DNSB View Post
Adding weight isn't that big a deal but testing added weight is the fun part (at least for me).
In most cases, adding weight creates errors in the curves, like overlaps, handles that aren't in spec, etc. If the font is designed well and uses composition properly, then fixing time isn't usually too bad (you fix the base "a" once and it is fixed in all glyphs that use "a" as part of the composite), but without that, a font with just 300 glyphs can take nearly an hour to fix.
nabsltd is offline   Reply With Quote
Old 08-20-2025, 04:45 PM   #327
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,961
Karma: 147448039
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 nabsltd View Post
In most cases, adding weight creates errors in the curves, like overlaps, handles that aren't in spec, etc. If the font is designed well and uses composition properly, then fixing time isn't usually too bad (you fix the base "a" once and it is fixed in all glyphs that use "a" as part of the composite), but without that, a font with just 300 glyphs can take nearly an hour to fix.
I'm not about the fix the problems adding weight can bring. I found ChareInk6SP with added weight to be OK at the sizes I used it. I don't use large enough sizes for it to be an issue. Besides, all 4 variants would have to be fixed. I'm not spending all that time fixing them.

What I will do is start with the medium versions so I don't have to add as much weight.
JSWolf is offline   Reply With Quote
Old 08-20-2025, 07:19 PM   #328
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,873
Karma: 169716272
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by nabsltd View Post
In most cases, adding weight creates errors in the curves, like overlaps, handles that aren't in spec, etc. If the font is designed well and uses composition properly, then fixing time isn't usually too bad (you fix the base "a" once and it is fixed in all glyphs that use "a" as part of the composite), but without that, a font with just 300 glyphs can take nearly an hour to fix.
That was why I used the Charis 7 Medium fonts to add weight to regular and italic. The last time I added weight to a regular font, it took way too much time I could have spent reading to fix the damaged glyphs. The italic variant was no better. Admittedly when I opened the original font files in FontForge, it whinged about issues before I even modified anything. Then there the sheer joy of displaying all the glyphs at various font sizes to check for issues.
DNSB is offline   Reply With Quote
Old Yesterday, 04:26 AM   #329
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,961
Karma: 147448039
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 DNSB View Post
That was why I used the Charis 7 Medium fonts to add weight to regular and italic. The last time I added weight to a regular font, it took way too much time I could have spent reading to fix the damaged glyphs. The italic variant was no better. Admittedly when I opened the original font files in FontForge, it whinged about issues before I even modified anything. Then there the sheer joy of displaying all the glyphs at various font sizes to check for issues.
I did try FontForge with Charis Sil 7. But when I went to save, it complained about something it should not have.
JSWolf is offline   Reply With Quote
Old Yesterday, 10:17 AM   #330
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 527
Karma: 9529956
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by DNSB View Post
Then there the sheer joy of displaying all the glyphs at various font sizes to check for issues.
High Logic Font Creator will find all the issues and fix many of them automatically. After that, it's a manual process, but at least it shows you exactly where the problem lies.

Quote:
Originally Posted by JSWolf View Post
I'm not about the fix the problems adding weight can bring.
One of the issues with not fixing the problems is that font renderers will use more RAM and spend more time drawing. This isn't really an issue on modern desktop computers, but on a device with limited RAM and CPU, it's more likely to cause problems. Also, some of the problems like contours with the wrong direction will cause pedantic renderers to do exactly what the font says to do, which results in filled-in openings in letters. Crossing contours (which happen a lot when adding weight) can often cause a contour to become the wrong direction.

But, if you don't care if the font displays correctly on all renderers, that's fine. For me, though, not fixing the errors in a font is like not using CSS that renders properly on all readers. It's lazy and sloppy.
nabsltd is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
smallcaps how to? JSWolf ePub 20 06-02-2016 02:40 PM
loss if italics and smallcaps when converting epub to mobi franklekens Calibre 4 01-22-2012 02:34 PM
What part of the CSS can cause this? (smallcaps related in Sigil) mtrahan ePub 15 06-01-2011 09:24 AM
Charis font not being displayed Canorka Kobo Reader 0 03-25-2011 10:02 PM
Smallcaps in Kindle cscotts Kindle Formats 5 01-26-2011 09:52 AM


All times are GMT -4. The time now is 05:27 PM.


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