Allow setting 'raw' attrs on XML for tables to be loaded from hex

Previously one had to set the 'ERROR' attribute.  Accept raw also.
So, for example one can say:

  <cmap raw="1">
    <!-- Hand-coded format13 table mapping all Unicode
         characters to .notdef glyph. -->
    <hexdata>
      0000 0001 <!-- version numTables -->
        0000 0006 <!-- platformID encodingID -->
        0000000C  <!-- offset -->
          000D 0000 <!-- format reserved -->
          0000001C  <!-- length -->
          00000000  <!-- language -->
          00000001  <!-- nGroups -->
            00000001  <!-- startCharCode -->
            0010FFFE  <!-- endCharCode -->
            00000001  <!-- glyphID -->
    </hexdata>
  </cmap>
1 file changed
tree: c17178f385e655acb1f972570084eeea84b9cb6c
  1. Doc/
  2. Lib/
  3. MetaTools/
  4. Tools/
  5. Windows/
  6. .gitignore
  7. LICENSE.txt
  8. MANIFEST.in
  9. README.md
  10. setup.py
README.md

What it is ?

Quoting from TTX/FontTools Sourceforge Project

a tool to convert OpenType and TrueType fonts to and from XML. FontTools is a library for manipulating fonts, written in Python. It supports TrueType, OpenType, AFM and to an extent Type 1 and some Mac-specific formats.

Quick start

python setup.py install

From your command line type the above command to get fontools installed on your system.

Installation

See install.txt in the 'Doc' subdirectory for instructions on how to build and install TTX/FontTools from the sources.

Documentation

What is TTX ?

See documentation.html in the "Doc" subdirectory for TTX usage instructions and information about the TTX file format.

Community

License

See "LICENSE.txt" for licensing information.

Have fun!

Just van Rossum just@letterror.com