![]() |
#76 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
i have a slight problem with this little software. it appears that it doesn't apply darkening what so ever...
for example, i downloaded noto sans font, from google, and first i runned koboify fonts with applied darkening of 9, i left the name as it were. then i took the same font and applied darkening of 25. changed a name and transferred it to my KA1. It seems to me that there are no change when i switch back and forth font.... |
![]() |
![]() |
![]() |
#77 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#78 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
Thanks.
pity, it's a nice little tool, quite useful one. hope you will find some time to continue working on it... |
![]() |
![]() |
![]() |
#79 |
Lector minore
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 660
Karma: 1738720
Join Date: Jan 2008
Device: Aura One, Paperwhite Signature
|
I had to hack up KoboifyFonts a little to make it run for me using modern Fontforge; I guess because of switching to Python 3.
On version 20190801 of fontforge from Homebrew on Mac I had to do the following hacks for KoboifyFonts: - change iteritems() to items(); I think this optimization is no longer needed - change all instances of unicode(some_string, 'utf-8') to just bare some_string; I don't fully understand, but it seems there has been some change has been made to the string type? This works for me, but I have no idea if they are good in general (hence no patch). |
![]() |
![]() |
![]() |
#80 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,054
Karma: 144284144
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is the current Forntforge for Windows finally stable?
|
![]() |
![]() |
Advert | |
|
![]() |
#81 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
Quote:
The unicode() function call in Python 3 uses utf-8 strings by default, which is why the bare string or variable name is all that is needed now. I actually tried to port the script myself, but Fontforge was crashing on me even using the original script on an older version of Fontforge that still used Python 2 on my Windows 10 machine (and I can't tell if it's a Windows thing or just my machine; I went crazy in locking it down for security purposes, which in hindsight has caused all sorts of compatibility problems for me that are hard to track down/reverse), so I couldn't verify anything. If the script works for you, feel free to post it so that others can benefit (or check/edit your work in case anything else was missed in the migration). Last edited by rtiangha; 12-04-2019 at 12:21 PM. |
|
![]() |
![]() |
![]() |
#82 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Hi all
This script is basically depreciated. I should probably make a note of that somewhere ![]() I created a replacement called ReadifyFont, but I don't know if I ever really advertised it here on MobileRead Now, ReadifyFont hasn't been worked on in quite a while either, but I did try and account for Python 2/3 differences, so that might not be such an issue. It was about that time when it was a toss-up whether the build of FontForge one was using was using Python 2 or 3, and was a right PITA. I don't know how much the FontForge Python API has changed since I last worked on this, so who knows how well it still works... Note, ReadifyFonts has a GUI based on PyQT, as well as a CLI script. From memory. the GUI can be started with calibre-debug if you don't have PyQT installed. If anyone wants to make improvements, I accept pull requests. |
![]() |
![]() |
![]() |
#83 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
Quote:
But can someone else verify that it still works since I don't trust my machine configuration? Using the GUI, I just tried it and while it looks like it attached a kern table to a font that I know only has GPOS (it's the version of Gill Sans from the Nook firmware, but Gill Sans on Windows 10 is the same), when I open up the modified font in Fontforge again, it still has all the PANOSE data even though I selected it to be cleared. Running the latest version of Fontforge available for 32-bit Windows 10 (along with a local instance of Python 3.7 and PyQT5, although I don't know if it uses it outside of for the GUI). Last edited by rtiangha; 12-04-2019 at 07:51 PM. |
|
![]() |
![]() |
![]() |
#84 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 398492
Join Date: Apr 2018
Device: Kobo Aura One
|
I have been using the latest version of Literata from https://github.com/googlefonts/literata/releases as is. Would I realise any benefits from running the ttfs from that site through the ReadifyFont script before using them with my Kobo device?
EDIT – I went ahead and ran the script with the following options enabled: Legacy Kerning, Clear PANOSE, Alt. Name, Keep Existing Hinting. Seems the same to me so far on my Kobo, but I'll keep using it anyway ![]() Thanks for the new script. It's very slick ![]() Last edited by JeanPierre; 12-05-2019 at 07:46 AM. |
![]() |
![]() |
![]() |
#85 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#86 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 137
Karma: 398492
Join Date: Apr 2018
Device: Kobo Aura One
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#87 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 495
Karma: 356531
Join Date: Jul 2016
Location: 'burta, Canada
Device: Kobo Glo HD
|
Quote:
That said, I do believe that version 2 of Literata is fine as is so no need to change anything. The stock Kindle fonts are messed up in nickel without modification though, and I guess using those to test if the new script still works properly would probably be best. |
|
![]() |
![]() |
![]() |
#88 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 197
Karma: 82624
Join Date: May 2013
Device: Kobo Forma, Kobo Aura One, Kobo Aura HD, Kindle, Amazon Fire HD
|
is there a win version of redify fonts?
|
![]() |
![]() |
![]() |
#89 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,705
Karma: 168431851
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
In theory, this should run under Windows. You will need to have FontForge installed, set the path information correctly, etc. However that said, when I run "fontforge -script ReadifyFontCLI.py -h" at a command prompt, I get an error importing from helper at line 13. This may be due to already having Python 3.7 installed.
One note is that the fontforge-console.bat file when run as administrator tried to set the path and system variables but has errors such as setting the PYTHONPATH to point to a 2.7 install while the installed version of FontForge has a Python 3.7 install. ![]() |
![]() |
![]() |
![]() |
#90 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
|
|
![]() |
![]() |
![]() |
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 |