Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 02-19-2013, 04:21 PM   #46
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is offline   Reply With Quote
Old 02-20-2013, 05:21 PM   #47
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is offline   Reply With Quote
Old 02-20-2013, 05:36 PM   #48
Turtle91
Guru
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 669
Karma: 3807234
Join Date: Dec 2012
Location: Shannon, Ireland today
Device: iPhone 5/iPad 1&2/Surface Pro/Kindle PW
Awesome!! I'll give it a try now.

Thanks!
Turtle91 is offline   Reply With Quote
Old 02-22-2013, 07:05 AM   #49
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is offline   Reply With Quote
Old 02-22-2013, 09:44 AM   #50
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: 38,474
Karma: 19300555
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2), Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by Toxaris View Post
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.
Type Light is free for Windows. It does allow editing of the font's metadata. So if might do for fixing the OS/2 version. I've not tried it so I cannot say for sure. If it does work, then there are free solutions for all main OS.
JSWolf is offline   Reply With Quote
Old 02-22-2013, 12:34 PM   #51
ghostyjack
Guru
ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.ghostyjack ought to be getting tired of karma fortunes by now.
 
ghostyjack's Avatar
 
Posts: 716
Karma: 1085604
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
Quote:
Originally Posted by Toxaris View Post
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.
Most people I expect would prefer a simple method of fixing this than having the need to install font editing software. I know I would.

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.
ghostyjack is offline   Reply With Quote
Old 04-13-2013, 03:27 PM   #52
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is offline   Reply With Quote
Old 09-21-2014, 04:39 PM   #53
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is offline   Reply With Quote
Old 09-21-2014, 07:58 PM   #54
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: 38,474
Karma: 19300555
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2), Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Quote:
Originally Posted by Toxaris View Post
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.
Is there any chance this could be made to work with the new forthcoming version of Sigil to make it an all-in-one solution?
JSWolf is offline   Reply With Quote
Old 09-21-2014, 11:13 PM   #55
Freeshadow
temp. out of service
Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.Freeshadow ought to be getting tired of karma fortunes by now.
 
Posts: 2,329
Karma: 12999524
Join Date: May 2010
Location: Duisburg (DE)
Device: BeBook mini
Reread post n. 11 jon.
Freeshadow is offline   Reply With Quote
Old 09-22-2014, 05:20 AM   #56
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is offline   Reply With Quote
Old 09-22-2014, 04:29 PM   #57
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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.
Toxaris is offline   Reply With Quote
Old 10-01-2014, 07:43 AM   #58
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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...
Toxaris is offline   Reply With Quote
Old 10-02-2014, 09:14 AM   #59
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: 38,474
Karma: 19300555
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2), Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
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)?
JSWolf is offline   Reply With Quote
Old 10-02-2014, 12:25 PM   #60
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Just run it in a command prompt like this:
Code:
fontshrinker -e <epubname>
If it does not run, can you please sent me the ePUB so I can run it through the debugger to see what goes wrong?
Toxaris is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Working on way to subset fonts for ePub/KF3 Freeshadow Workshop 51 04-22-2013 05:18 PM
Embedded font-subset sometimes fails GrannyGrump Sigil 3 10-20-2012 10:47 AM
group an ARBITRARY subset of records RotAnal Library Management 6 10-09-2012 12:53 PM
Kindle 1 Font Mod Tool v0.1 lovebeta Kindle Developer's Corner 20 04-16-2012 04:06 PM
Is there a tool to see the contents of an embedded font file (ttf)? James_Wilde ePub 4 09-06-2010 04:53 PM


All times are GMT -4. The time now is 07:15 AM.


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