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 05-15-2015, 05:34 PM   #1
mattmc
Connoisseur
mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.mattmc can program the VCR without an owner's manual.
 
Posts: 89
Karma: 185923
Join Date: May 2015
Device: iPad 1/2/Air, K3/PW2/Fire1, Kobo Touch, Samsung Tab, Nook Color/Touch
Clarity: Font De-Obfuscation Tool

In the course of making some eBook files, particularly for Kindle, I found that I needed to de-obfuscate some fonts in my file. If you generate an ePub from ID, the fonts are obfuscated by default with the IDPF method. When passing said ePub to KindleGen, you lose any embedded fonts because KG doesn't recognize the obfuscated fonts.

I'm aware that Sigil has some method of de-obfuscating fonts, and possibly Calibre as well. However, I wanted to have a method of de-obfuscating the fonts in an ePub that I knew for sure had no side effects.

Thus, I made a simple command-line utility called Clarity that de-obfuscates fonts that are obfuscated with the IDPF method. (No support yet for the older Adobe method, but that could be added.)

Clarity is open-source and available here on github.

The included executable file was compiled on OSX 10.10, but with Go 1.4 or later, anyone can easily compile an executable for Windows or Linux. If detailed instructions on this are needed, I can provide them.

Perhaps this tool is redundant in the face of some other software or plugin, in which case feel free to let me know, but perhaps it will be of some use to others.
mattmc is offline   Reply With Quote
Old 09-29-2020, 02:21 PM   #2
phoneee
Junior Member
phoneee began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2016
Device: ipad
i cannot see the code of clearity in github.
Could you share the code code for me?
Not use for commercial just font dev education.
phoneee is offline   Reply With Quote
Advert
Reply

Tags
clarity, epub, font, idpf, obfuscation

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FontShrinker - tool to subset a font Toxaris Workshop 91 02-08-2018 07:54 PM
failed to find obfuscation key chriflue Editor 2 06-23-2014 01:28 AM
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
Font embedding/enryption/obfuscation ckirchho ePub 5 03-14-2009 11:28 AM


All times are GMT -4. The time now is 01:45 PM.


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