Giter Club home page Giter Club logo

adobe-font-extractor's Introduction

Simple tool to extract the obfuscated fonts from Adobe CC Font Sync/Typekit.

The fonts on Windows are stored in: %HOME%\AppData\Roaming\Adobe\CoreSync\plugins\livetype and on Mac: $HOME/Library/Application Support/Adobe/CoreSync/plugins/livetype/

Within the livetype folder are 3 folders, named "c", "e", and "r". These names are prefixed with a dot on Mac OS.

The "c" folder contains two files: entitlements.xml which is a manifest of all the fonts downloaded to your system, and entitlements-downloading.xml. I don't know for sure what entitlements-downloading.xml is for, but I presume it is only populated while a font is currently being downloaded, so I probably don't have to worry about it.

The "e" and "r" folders both contain font files, but on Windows the files in "e" are hidden. The files appear to be exactly the same in both places.

The xml structure of entitlements.xml is as follows:

Each font id field contains a serial number that corresponds to the obfuscated font files.

The fields we are interested in are: - font.id - unique ID to match to font file - font.properties.fullName - name to rename obfuscated file to - font.properties.familyName - to separate font families into their own folders

Both the e and r directories appear to be identical -- they are the same size, have the same number of files, and contain identical copies of the obfuscated font files.

I think fonts without extensions are OTF. Most fonts have no extension, but some do. Fonts can have ".ttf" and ".otf" as an extension.

It is possible that the files without extensions can also be TTF.

Font file formats

I think all the fonts are OpenType

Program behavior

The program will be command-line only and have only these functions:

  1. copy downloaded Adobe fonts to your font directory (usage: python font_extract.py --install)
  2. export a folder of the deobfuscated files to a specified location (usage: ccft -o %HOME%/Typekit\ Fonts)

general procedure

  1. parse entitlements.xml

adobe-font-extractor's People

Contributors

eliot avatar echeno avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.