02-19-2013, 03:21 PM | #46 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
There is an issue with accented letters. I think I have solved it, but need to do more testing. Apparently it is a combination with the CMAP table of the font and a wrong translation from the unicode decimal value to the correct CMAP table value.
|
02-20-2013, 04:21 PM | #47 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
It seems that I have fixed the issue. I don't get the error anymore at least. Now I will continue work on the other version, although this codechange is also needed there.
Updated version in the startpost. |
Advert | |
|
02-20-2013, 04:36 PM | #48 |
A Hairy Wizard
Posts: 3,095
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Awesome!! I'll give it a try now.
Thanks! |
02-22-2013, 06:05 AM | #49 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Some fonts don't work very well in ADE, that is known. For now the solution would be to load the font in FontForge and correct it. It seems to be related to the OS/2 version property.
I am thinking of implementing a way to check the version and adapt it when required. I can build it in the current version and in the future version. It would remove the need for Fontforge for this specific reason. Would there be any interest in that? It is some work to do. |
02-22-2013, 08:44 AM | #50 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
02-22-2013, 11:34 AM | #51 | |
Guru
Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Quote:
I have zero interest in editing existing fonts (or creating new ones) as I have neither the time or the inclination to do this, so if the tool to remove unwanted glyphs can also make this correcting, then I would be very graetful. |
|
04-13-2013, 02:27 PM | #52 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quite a bit of delay. The changing of the OS/2 version will not happen for the coming period. That is proving too challanging...
I uploaded a new version in the start post. A small rearrange of the interface and I put sequence numbers to see the correct usage. I also made a small codechange, that glyphs will always be added due to newer readers using them on the fly. |
09-21-2014, 03:39 PM | #53 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Well, it indeed has been a while. A new version is out (attached to start post). OTF support is removed, as this proved to give too many misses and errors. The TTF support is working fine. Another thing that has been changed, is that the font was not always shrinked. The inner working has been completely rewritten and the font is now greatly reduced.
The OS/2 Version will automatically be set to version 3 upon saving, so that could help with some ADE font support issues. |
09-21-2014, 06:58 PM | #54 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
09-21-2014, 10:13 PM | #55 |
temp. out of service
Posts: 2,792
Karma: 24285242
Join Date: May 2010
Location: Duisburg (DE)
Device: PB 623
|
Reread post n. 11 jon.
|
09-22-2014, 04:20 AM | #56 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Well, I might work with Mono now actually. If it does, I am sure with the new plugin system something can be worked out. As of now the application does not accept command line arguments, but that can be investigated. Someone else would need to write the plugin though, I have no intention to spent time on Python.
|
09-22-2014, 03:29 PM | #57 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I am making it easier to determine which letters to retain. It is soon possible to drag-n-drop text (currently txt, log, (x)htm(l), xml and docx) files to the character box to have the contents in there. After that the unique characters can be found with a press of the button.
I am currently looking into importing ePUB and the possibility to use the command line. |
10-01-2014, 06:43 AM | #58 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Massive update. You can drag and drop text files, (x)html and docx files into the character box to autofill it with all the characters. It is also possible to use the command line to feed input/output font and text to have it operate automatically.
Also new is ePUB support either via command line or in the form. Upon dragging the ePUB into the character box will automatically subset all the fonts in the ePUB. Fonts that are not used (either referenced or actually used) are removed. The fonts are subsetted to actual usage. Enjoy... |
10-02-2014, 08:14 AM | #59 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I downloaded the version posted in the 1st post of this thread and installed it. I then ran the GUI and dragged an ePub to the GUI. It then immediately came up with not responding and I left it running overnight and came back and it's was still not responding and it did not subset the ePub.
How do subset an ePub via the command line (in case that works)? |
10-02-2014, 11:25 AM | #60 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Just run it in a command prompt like this:
Code:
fontshrinker -e <epubname> |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Working on way to subset fonts for ePub/KF3 | Freeshadow | Workshop | 51 | 04-22-2013 04:18 PM |
Embedded font-subset sometimes fails | GrannyGrump | Sigil | 3 | 10-20-2012 09:47 AM |
group an ARBITRARY subset of records | RotAnal | Library Management | 6 | 10-09-2012 11:53 AM |
Kindle 1 Font Mod Tool v0.1 | lovebeta | Kindle Developer's Corner | 20 | 04-16-2012 03:06 PM |
Is there a tool to see the contents of an embedded font file (ttf)? | James_Wilde | ePub | 4 | 09-06-2010 03:53 PM |