![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
Tags |
clarity, epub, font, idpf, obfuscation |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FontShrinker - tool to subset a font | Toxaris | Workshop | 91 | 02-08-2018 06:54 PM |
failed to find obfuscation key | chriflue | Editor | 2 | 06-23-2014 12:28 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 |
Font embedding/enryption/obfuscation | ckirchho | ePub | 5 | 03-14-2009 10:28 AM |