History log of /external/fonttools/Tools/fontTools/ttLib/tables/otTables.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
319643ade2891343cab878ac22eb8fc76470f08a 20-Feb-2014 Behdad Esfahbod <behdad@behdad.org> Fix up regression in promoting lookups to extensions

Was broken by 6ed2eb409231a7fe3e0c2a135f9a89796206f639

Fixes https://github.com/behdad/fonttools/issues/110
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
1ae29591efbb29492ce05378909ccf4028d7c1ee 14-Jan-2014 Behdad Esfahbod <behdad@behdad.org> from __future__ import absolute_import

Such that our Python 2 is closer to Python 3.

Part of https://github.com/behdad/fonttools/issues/77
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
f6502635b91a0b3ae0e3ef8add9b5fb2ed9e3872 17-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Minor
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
e93e29125f6c88a352e15b4d7732fc94a6402548 17-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Don't write Format for Coverage, ClassDef, Single/Alternate/LigatureSubst

The format values for those are automatically handled in
postRead/preWrite to choose optimal format. As such, don't write them
in XML. Reduces noise.

Part of https://github.com/behdad/fonttools/issues/73
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
ea82d6dfd194f6ff6dfc7a65e7d9a0f9d671d827 17-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Handle NULL coverage table in ligature substitute

Just to be in line with Single and Alternate subst.
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
f952a22af7b59862d49ee2947932f4baab37a5ed 09-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Implement MATH table

Fixes https://github.com/behdad/fonttools/issues/67
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
d76fa68785bc843ad83e2901ada96f2a5b02397d 09-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Allow specifying table type as converter

Needed for upcoming MATH table.
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
b23b4cefda2acf417bfecf2135357554dbd32277 07-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Fix ClassDef

Ouch. Broke it in 63b257e677993295ee015e02b92ff438a5e91135.
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
650a38fffc19e23426816994bf059441a8853341 05-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Relax some warnings
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
e06166b83aa82582dab2e011520b1a77f72aa9f9 05-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Fix SingleSubstFormat1 modulo math
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
9a980a8d2d81bbd4c7332b8c9ed1befe7dcc9936 05-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Minor
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
43f6e363475caee9df35d52f536d6de4cf2d443b 05-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Simplify Coverage table postRead
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
63b257e677993295ee015e02b92ff438a5e91135 05-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Handle out-of-range glyphIDs in ClassDef
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
dc87372c88dfd3bb4418c4113d9301102324359e 05-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Use True/False instead of 1/0
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
9e6ef94b5554c5b7dda2de9c863c11ed4b996b7a 04-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Use "is None" instead of "== None"

The latter hits the __eq__ method and can fail because we now
do not allow comparing objects of different types.

For example, was failing subsetting Andika-R.ttf.
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
83e2f34194696f76eb89c384bdddd10419b88e10 02-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Implement compiling to ClassDef Format=1
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
b7fd2e19138b177403689bdd6989cfd2402aa2b3 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 Remove uses of __cmp__ and cmp()
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
32c10eecffb4923e0721c395e4b80fb732543f18 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 from __future__ import division and adjust divisions
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
30e691edd056ba22fa8970280e986747817bec3d 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 from __future__ import print_function
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
7ed91eca1eaa96b79eae780778e89bb9ec44c1ee 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 import in all nontrivial source files and unused import cleanup
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
c2297cd41d6c00b95f857b65bc9fd4b57559ac5e 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=dict with manual cleanup
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
e1d97b827791a4d190fbd0ec597f602aefd09025 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 replace use of module new
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
b774f9f684c5a0f91f5fa177c9a461968789123f 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=types manual additions

Don't know why the tool didn't catch these.
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
e5ca79699d00fdf7ac6eaceaed372aea8d6bc1fd 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=map with manual cleanup
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
ac1b4359467ca3deab03186a15eae1d55eb35567 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=idioms
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
fa5f2e85ab49c349468f5ae08f15163daa256a04 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=zip with manual cleanup
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
97dea0a5d02ba1655d27a06fe91540e3495b8ef9 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=xrange
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
3a9fd301808f5a8991ca9ac44028d1ecb22d307f 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 equivalent to --fix=tuple_params

I hope I got this all right...
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
2b06aaa2a6bcd363c25fb0c43f6bb906906594bd 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=import
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
bc5e1cb195c0bfa1c8e7507326d5a9ad05aecb4b 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=has_key
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
9e1bd2d0b4416acc7fce623a3bae37064d61d15b 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Implement FeatureParams

All types of FeatureParams are correctly handled now.

The only thing not handled is broken fonts generated with the
old AFDKO that have their FeatureParams offset computed wrong.
I don't currently plan on handling those.

Fixes https://github.com/behdad/fonttools/issues/38
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
58acba2d0284ec63bf27c457fa261adf7774e996 25-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Remove "optimization" re Extension lookups

Historically, Extension lookups were only decompiled upon access,
and decompiled Extension lookups were possibly copied verbatim to
output when compiling. This discrepancy with all other table types
is confusing and undeed. The possible time saving is not worth the
loss in possible optimization of table data. Remove.
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
17700bf926645d7def1d4013b2e119d2be4ff904 18-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Handle and warn about out-of-order Coverage table entries

Apparently the SIL Gentium fonts have wrong sorting in Coverage
tables. That's broken by the spec, but shapers still work with
such fonts. So, we warn when reading, and when writing, such
out-of-order coverage tables.
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
6e7066765929929d8315a719aeff1c5e5a5d9e9a 15-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Support loading broken Coverage tables

Hit by Google Fonts's font "Cabin" for example and a handful
of others.
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
183afe6408fade5d45dd45d062293c416a4adef1 09-Aug-2013 Behdad Esfahbod <behdad@behdad.org> Optimize Coverage.postRead()
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
e5b245fd074a2efa5fc8902cb7a11a5dcad0f3f5 09-Mar-2008 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added refactoring note


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@548 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
823f8cd15f16bb9dc3991c2672f16dd90579711b 21-Oct-2006 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> Misc patches from rroberts:

fontTools/ttx.py
# support virtual GIDs, support handling some GSUB offset overflows.

fontTools/ttlib/__init__.py
# 1) make getReverseGlyphMap a public function; I find a reverse map
to often be useful
# 2) support virtual glyphs, e.g. references to GID's that are not in the font.
# Added the TTFont argument allowVID (default 0) to turn this off and on;
# added the arg requireReal ( default 0) so as to get the obvious
default behaviour when
# allowVID is 0 or 1, but to allow requiring a true GID when allowVID is 1.

fontTools/ttlib/tables/otBase.py
fontTools/ttlib/tables/otConverters.py
fontTools/ttlib/tables/otData.py
fontTools/ttlib/tables/otTables.py
# 1) speed optimization
# - collapse for loops
# - do not decompile extension lookups until a record is requested
from within the lookup.
# 2) handling offset overflows
# 3) support of extension lookups
# 4) Fixed FetauresParam converter class def so as to survive a font
that has this offset non-NULL.
# This fixes a stack dump.
# The data will now just get ignored


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@511 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
31ae380735dbf75a460df002a7fc2bcd81e28153 11-Feb-2005 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> fixed problem with empty ClassDef, as well as added some more defenses for possible empty tables


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@484 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
1fae9b48d3a275c6e1dc0649c40ae121dfc4098d 25-Sep-2004 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> [ 637398 ] Failure while parsing OpenType file
Deal with empty Coverage table: it will be None so won't have a .glyphs
attribute.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@471 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
8e1d75b1a3fb4874bb78d9c34a11ba30de81a5cc 22-Sep-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> ReverseChainSingleSubst support from Yannis H. (must get that generate-otdata-from-the-docs working again)


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@459 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
27f108844ef1aeeb5c694a8304bf6c4944783d42 11-Sep-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> this should have been part of the previous path by some fixes from klchxbec


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@450 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
257fba71729b4552a73f296b8fbd5b6224cdcabb 03-Jan-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> make sure Coverage instances have a 'glyphs' attribute


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@379 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
a138467da399c071dbd78682938642b8e8d8a4ce 24-Sep-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> deal gracefully with empty coverage tables; fixes bug 611509


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@370 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
4845ba5fa50b43d838ff65279336ef5e4784e0b0 13-Sep-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> whoops, reversed key and value


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@363 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
f2164abef39af7cfef989352fadfca628ed077b2 12-Sep-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added manual implementation of LigatureSubst to get nicer XML output


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@355 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
b2486125e9438443a1419706c50958ab0676eb5a 12-Sep-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added manual implementation of AlternateSubst to get nicer XML output


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@354 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
a1dfa2b77a0ac7cf2e7cdca25e024e31de436b1a 12-Sep-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added manual implementation of ClassDef to get nicer XML output as well as to get rid of GlyphID dependencies


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@353 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
1d6360af4c553a7b26447b0e1e96f7b701c9325e 12-Sep-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added manual implementation of SingleSubst to get nicer XML output as well as to get rid of GlyphID dependencies


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@351 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
1a53beb7b4bb252dc002dcdc2de70517d4727494 12-Sep-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> renamed table to rawTable


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@344 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
d41386e7f7b950d2429fbf6d1964ba129d2bc2a6 12-Sep-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added manual implementation for the Coverage subtable to get rid of GlyphID dependencies


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@341 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
64b5c80e80444a124da335e8d4d208bffcf2737b 11-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> results of morning-after code review, added some doc strings, etc.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@210 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py
d4d151390d1288f8d2df30f6dfa26a309c7334da 11-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> Completely revamped OT support; this time it works and is complete. XML output is not yet as pretty as can be.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@208 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/ttLib/tables/otTables.py