88 Commits

Author SHA1 Message Date
Behdad Esfahbod
4f6dea2d99 [mtiLib] Fix gpossingle test 2016-12-26 16:27:45 -05:00
Behdad Esfahbod
730f77a606 [mtiLib] Make test pass
mark-to-ligature was failing because we were not setting ClassCount.
2016-12-26 16:23:02 -05:00
Behdad Esfahbod
180362d30c [mtiLib] Add test data from spec, with test runner 2016-12-26 16:22:54 -05:00
Behdad Esfahbod
5858750dc3 [mtiLib] Fix warnings 2016-12-26 15:29:09 -05:00
Behdad Esfahbod
6c140cbba1 [testTools] Move MockFont from mtiLib to testTools
This is useful for testing beyond just mtiLib.
2016-12-26 14:34:29 -05:00
James Godfrey-Kittle
797061679a [mtiLib] Make tables in parsers, don't pass in 2016-06-30 14:16:58 -07:00
James Godfrey-Kittle
1b61637473 Add cmap handling to mtiLib 2016-06-30 12:50:39 -07:00
Behdad Esfahbod
93d08d4188 [mtiLib] Accept "u " as well as "U " in Unicode glyph references
Fixes https://github.com/googlei18n/fontmake/issues/86
2016-06-08 15:17:08 -07:00
Behdad Esfahbod
7a9c6be76c [mtiLib] Warn if trailing tabs are found 2016-04-27 17:04:25 -07:00
Behdad Esfahbod
71633457df [mtiLib] Ignore trailing tabs 2016-04-27 16:58:38 -07:00
Behdad Esfahbod
973270e7f9 [mtiLib] Assert that glyph name is not empty 2016-04-27 16:58:33 -07:00
Behdad Esfahbod
e9ecd07baa [mtiLib] Fix URL 2016-04-21 16:11:12 -07:00
Cosimo Lupo
54e6ab9478 mtiLib: add missing logging format string 2016-04-10 23:08:39 +01:00
Behdad Esfahbod
2a0359af4d Always import * from py23
Since py23 modifies some essential builtins, it's safe to import
everything all the time.  At least, that's how it was designed.
It's a bug if importing * breaks some code.
2016-04-06 18:15:43 -07:00
James Godfrey-Kittle
c4dd050d8d Replace one last call to debug() in mtiLib
I think this was mistakenly left out of
b62f5509524a49101ab6f211f1c3b63458f52f5e
2016-02-10 14:18:38 -08:00
Cosimo Lupo
b62f550952 [mtiLib] replace print with logger
inside main(), I just do a basic config for the library logger, but keep
the debug messages from mtiLib turned off.
2016-01-27 19:02:48 +00:00
Cosimo Lupo
f99a09fdbe [mtiLib] import unicode_literals; use py23.open with utf-8 encoding 2016-01-26 15:45:32 +00:00
Behdad Esfahbod
46f16347fb [mtiLib] Port to otl.buildAttachList() 2016-01-22 19:52:19 +01:00
Behdad Esfahbod
4e13a2268e [otlLib] One more rename 2016-01-22 19:38:20 +01:00
Behdad Esfahbod
aea0ce9ae1 [otlLib] Adapt names to newly agreed scheme 2016-01-22 19:32:45 +01:00
Behdad Esfahbod
577a1500e5 [mtiLib] Cosmetic 2016-01-22 19:25:14 +01:00
Behdad Esfahbod
f63f23e4bd [mtiLib] Port to otlLib.buildLigCaretList() 2016-01-22 19:24:05 +01:00
Behdad Esfahbod
c84eb24a1e [mtiLib] Fix typo! 2016-01-22 18:11:58 +01:00
Behdad Esfahbod
f8e3ea08fb [mtiLib] Port SinglePos to otlLib 2016-01-22 13:44:27 +01:00
Behdad Esfahbod
4fd3b2c4ca [mtiLib] Implement forward references
This makes mtiLib feature complete.  Next step would be to add tests.
2016-01-19 18:51:11 +01:00
Behdad Esfahbod
057c4faa33 [mtiLib] Shuffle 2016-01-19 18:51:02 +01:00
Behdad Esfahbod
ba90369af9 [mtiLib] Port CursivePos to otlLib.builder 2016-01-18 12:32:07 +01:00
Behdad Esfahbod
9727318680 [mtiLib] Writing to XML works after e0d27461bea131518733b4f05ef3068d5a6ecc91 2016-01-14 12:10:38 +00:00
Behdad Esfahbod
aeb5ecbfd4 [mtiLib] Port to otlLib.builder for supported lookups 2016-01-13 17:54:42 +00:00
Behdad Esfahbod
14eb194644 [mtiLib] Don't set LookupType
Not needed.  That comes from the class.
2016-01-13 17:42:56 +00:00
Behdad Esfahbod
462496ce32 [mtiLib] Minor 2015-12-15 12:09:19 +01:00
Behdad Esfahbod
fd84ac769b [mtiLib] Disable lookupMap until we fix forward references 2015-12-15 12:09:19 +01:00
Behdad Esfahbod
a9a5bd6d28 [mtiLib] Make backward lookup and feature name references work 2015-12-11 16:38:33 +01:00
Behdad Esfahbod
3d289927a4 [mtiLib] Remove unused function 2015-12-11 16:38:25 +01:00
Behdad Esfahbod
e9738c655e [mtiLib] Allow intermixing of lookups and feature / script tables 2015-12-11 16:38:21 +01:00
Behdad Esfahbod
942cdd8477 [mtiLib] Towards recognizing symbolic references 2015-12-11 16:38:18 +01:00
Behdad Esfahbod
74ebf424c6 [mtiLib] Fix file permission 2015-12-10 15:44:51 +01:00
Behdad Esfahbod
ef03a3be47 Merge fd2ft, rename it to mtiLib
Implements Monotype Imaging's OpenType_Table_Source format as
specified at:

  http://monotype.github.io/OpenType_Table_Source/otl_source.html
2015-12-10 12:57:37 +01:00