Commit Graph

9 Commits

Author SHA1 Message Date
Rod Sheeter 53846e1861 Relicense as MIT 2017-10-04 16:12:46 -07:00
Garret Rieger 12141fdaf2 Support tables with 0 length (which previously failed in multiple places). 2017-07-19 17:32:38 -07:00
rsheeter 6dbcb5844e Merge pull request #34 from khaledhosny/master
Don’t print to stderr unless a standalone binary
2015-10-28 10:28:58 -07:00
Rod Sheeter fde07429be Be more accepting of fonts with unusual sets of tables 2015-10-26 07:16:42 -07:00
Khaled Hosny 17ed658d0a Don’t print to stderr unless a standalone binary
We will use woff2 code from OTS and it is undesirable for a library to
print messages to stderr.
2015-08-28 01:30:03 +02:00
Khaled Hosny de2cabb897 Fix simple glyph bounding box handling
Per the spec[1], the bounding box should be calculated and if it differs
from the one stored on the font, the original should be written
otherwise it should be omitted. On the other hand, the bounding box of
composite glyphs should be always written.

Fixes #12.

1. http://dev.w3.org/webfonts/WOFF2/spec/#conform-mustCalculateOmitBBoxValues
2015-04-10 22:07:56 +02:00
Rod Sheeter 90603761c7 Mark as transformed. Correct how table records were used by font.cc when writing collections. 2015-04-09 07:47:55 -07:00
Rod Sheeter 1c975530b9 Adding TTC support, take 1 2015-02-24 13:53:35 -08:00
Khaled Hosny 09c4eba0f6 Rename woff2 to src 2014-11-22 16:35:21 +02:00