Commit Graph

9 Commits

Author SHA1 Message Date
Khaled Hosny c54533f47f Fix compiler warning on Mac OS X
warning: format specifies type 'unsigned long' but the argument has type
'uint64_t' (aka 'unsigned long long') [-Wformat]
2015-06-25 03:32:08 +02:00
Khaled Hosny 531adab1fe Reject non-zero loca transformLength 2015-04-20 00:21:05 +02:00
Khaled Hosny 3f91c6e58f Check matadata and private blocks offsets & length
So that we can reject fonts with extraneous data between blocks, as the
spec says we should reject says we should reject such fonts.
2015-04-20 00:11:04 +02:00
Khaled Hosny 0634e0a719 Don't accept too long totalSfntSize
Per the spec (WOFF 2.0 spec just refer to WOFF 1.0 spec here):
http://www.w3.org/TR/2012/REC-WOFF-20121213/#conform-totalsize-longword-reject
2015-04-20 00:11:04 +02:00
Rod Sheeter 498c637024 Correct decoder output table ordering 2015-03-03 09:30:12 -08:00
Rod Sheeter 1c975530b9 Adding TTC support, take 1 2015-02-24 13:53:35 -08:00
Rod Sheeter 445f541996 Sort tables when decoding 2015-02-12 09:56:29 -08:00
Roderick Sheeter 2b35420fa9 As suggested in https://github.com/google/woff2/pull/2, correct const for top 7 bits 2014-11-24 07:11:04 -08:00
Khaled Hosny 09c4eba0f6 Rename woff2 to src 2014-11-22 16:35:21 +02:00