Cosimo Lupo 4cb26a3521
_glifTreeFromString: ensure we pass UTF-8 bytes to etree.fromstring
Fixes https://travis-ci.org/robofab-developers/fontParts/jobs/402178235#L499

Instead of passing a unicode string to lxml.etree.fromstring, which must not have
an XML declaration containing an explicit encoding, we now pass a UTF-8 bytes string.
The latter may or may not have the xml declaration. If it doesn't, UTF-8 is implied
by lxml parser (libxml2 defaults to UTF-8 internally).
2018-07-10 15:39:58 +01:00
2018-06-11 15:03:54 -05:00
2018-03-21 22:04:37 -05:00
2018-06-09 02:00:32 +01:00
2015-11-08 11:11:11 +01:00
2018-07-10 12:51:14 +01:00
2018-07-10 12:51:14 +01:00

Build Status AppVeyor Status Python Versions PyPI

ufoLib

A low-level UFO reader and writer.

UFO is a human-readable, XML-based file format that stores font source files.

UFO 4

This is a branch in which we are experimenting with UFO 4 ideas/support.

  • Single file structure (99.9% sure this will be zip)
  • Other stuff.
Description
No description provided
Readme 28 MiB
Languages
Python 99.9%