![]() |
#91 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
OK, I'm not sure what I'm doing wrong, but I don't think the GUI is respecting my choices. I have kern table unchecked and Clear PANOSE checked, and my resulting file has a kern table and full PANOSE data. But it also complains about fontforge not being in my path, even though I do have its bin directory set in my environment variables (and so I use the prompt to point to it manually and it must be invoking fontforge in the end because it is indeed adding a legacy kern table to a font that previously had none so I think that works). Is this a Windows thing?
Good news is invoking on the command line works, so there's that. I just don't want to have to type in all those font names, lol. Last edited by rtiangha; 12-05-2019 at 03:24 PM. |
![]() |
![]() |
![]() |
#92 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,234
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Code:
fontforge -script ReadifyFontCLI.py -h Copyright (c) 2000-2019. See AUTHORS for Contributors. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> with many parts BSD <http://fontforge.org/license.html>. Please read LICENSE. Version: 20190801 Based on sources from 09:32 UTC 1-Aug-2019-ML-TtfDb-D-GDK3. Based on source from git with hash: 09e9429f765698a57ce1f7751977533f0ed2ec67 Traceback (most recent call last): File "ReadifyFontCLI.py", line 13, in <module> from helper import * ModuleNotFoundError: No module named 'helper' |
|
![]() |
![]() |
Advert | |
|
![]() |
#93 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
|
|
![]() |
![]() |
![]() |
#94 | |
Lector minore
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 660
Karma: 1738720
Join Date: Jan 2008
Device: Aura One, Paperwhite Signature
|
Quote:
I'll try ReadifyFont. Thanks for the work you put into these! |
|
![]() |
![]() |
![]() |
#95 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,234
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
"We don't believe in miracles, we just depend on them." |
|
![]() |
![]() |
Advert | |
|
![]() |
#96 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175
Karma: 1044642
Join Date: Jun 2017
Device: changing frequently
|
Everything went fine for me using the latest FontForge version and python 3.8, at least the program did not crash but I don't know if it did what it you should have done.
So how can I check if PANOSE is removed and kern table is available or not? |
![]() |
![]() |
![]() |
#97 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
Quote:
For kern table, you can use https://fontdrop.info to compare the font before and after to see if it has a kern slider or not. |
|
![]() |
![]() |
![]() |
#98 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175
Karma: 1044642
Join Date: Jun 2017
Device: changing frequently
|
Quote:
I did not checked fontdrop yet, so all I can is that it didn't clear Panose! EDIT: Checked the generated font on fontdrop and it does have a kern slider although I unchecked it in your App Last edited by AnimalOfArt; 12-07-2019 at 04:28 AM. |
|
![]() |
![]() |
![]() |
#99 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
Quote:
So we got the same result then. At least I know it's not just me! The command line version seems to work, though. If you're desperate, try using that instead. |
|
![]() |
![]() |
![]() |
#100 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175
Karma: 1044642
Join Date: Jun 2017
Device: changing frequently
|
|
![]() |
![]() |
![]() |
#101 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#102 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Hi all, just to let you know, I'm working on an update to ReadifyFont (I'm basically re-writing it). I can't guarantee how long it will take, but it is happening...
I'm also planning on ditching PyQT5 in favor of tkinter. Not because I particularly like tkinter, but it is in the standard library, and on initial glance, the fontforge embedded python also includes it. |
![]() |
![]() |
![]() |
#103 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 175
Karma: 1044642
Join Date: Jun 2017
Device: changing frequently
|
|
![]() |
![]() |
![]() |
#104 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76
Karma: 10742
Join Date: Jul 2017
Location: Serbia
Device: Kobo Aura One
|
I play around with fonts a lot, and sadly these tools stopped working for me or worked inconsistently. I believe the only variant that worked perfectly was an old version of the Koboify script paired with one specific (old) version of FontForge. Which is a shame, because a fully working tool would be a huge time-saver! (Fingers crossed for Sherman.)
In the end, the most reliable method is to install FontForge and learn its quirks. You can always check that PANOSE is properly cleared and that font names are the same. Depending on glyph size and the degree to which one emboldens fonts, it is possible to bork certain glyphs. FontForge will display a preview so you can actually fix the issues, or at least diminish them. |
![]() |
![]() |
![]() |
#105 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
A quick bit of necromancy to mention that some/most of this should also be doable via fontTools/gftools, if @sherman or anyone else were to want to take this up again.
This might be a cleaner/faster/less destructive/easier to embed approach than fontforge ![]() At a quick glance, fix-vertical-metrics can be used to tweak linegaps & other vertical metrics (yum, my favorites! ;D), while nametable-from-filename will deal with most of the OS/2 & TTF Names tables family/weight/style issues. That mainly leaves the Panose stuff, list-panose should be a good start, but I'm pretty sure with a little bit of digging someone's already written something that can deal with it via fontTools. (This was brought on by today's various shenanigans when testing Literata 3 ![]() Last edited by NiLuJe; 04-18-2020 at 12:15 AM. |
![]() |
![]() |
![]() |
Tags |
font |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add alternate fonts without replacing system fonts.(this time this is a guide) | techiemonkey | Kindle Developer's Corner | 17 | 09-12-2012 04:55 PM |
An Observation on Fonts - Improving readability by using *bold* versions of fonts | nesler | General Discussions | 12 | 06-24-2012 12:33 PM |
need the fonts in /usr/java/lib/fonts of kindle touch5.0.0 | hanpal | Kindle Developer's Corner | 1 | 02-20-2012 10:40 AM |
Troubleshooting need the fonts in /usr/java/lib/fonts of kindle touch5.0.0 | hanpal | Amazon Kindle | 0 | 02-20-2012 08:51 AM |
Touch Fonts question (special characters in stock and custom fonts) | levil | Kobo Reader | 20 | 09-23-2011 01:51 PM |