History log of /external/fonttools/Lib/fontTools/misc/psCharStrings.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/misc/psCharStrings.py
78c02b6af38ce255eda220b69e23dad3102129e5 04-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Fix T1CharString decompile()

self.program is never None; it's set to [] if using bytecode.
So fixup the check.
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
153ec402094adbea673e914385b87f1d99191d0b 04-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Fix a few pychecker warnings

Fixes https://github.com/behdad/fonttools/issues/58
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
f918ab4cf65c8000a639bc834bc0f362dd997358 29-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Fix typos

From
https://bitbucket.org/Milla/fonttools/commits/4d2d8c9642d68443e1f09d6b66ea7180a5e60cfb
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
e388db566b9ba42669c7e353db4293cf27bc2a5b 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 Use new-style classes

Such that we get the same semantics in both Python 2 and 3.
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
278c88c0afa33fcd1a267f2741d2f95983006e4d 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 Fix psCharStrings bytes issues
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
18316aa769566eeb6f3f4a6ed2685fa8f8e861c2 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> ps23 More bytes fixes. All ''join()'s fixed
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
319c5fd10e2ea84304bd299b7483e05b5b0d5480 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 introduce byteord() and use it
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
32c10eecffb4923e0721c395e4b80fb732543f18 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 from __future__ import division and adjust divisions
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
30e691edd056ba22fa8970280e986747817bec3d 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 from __future__ import print_function
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
b7a2d797a40fb658d1e6dca6c08c9d2e1d83e78a 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 Use bytechr() instead of chr()
/external/fonttools/Lib/fontTools/misc/psCharStrings.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/misc/psCharStrings.py
14fb031125b773f0a15eb19be4f02ed8540b2db6 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Remove most uses of module string
/external/fonttools/Lib/fontTools/misc/psCharStrings.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/misc/psCharStrings.py
3ec6a258238b6068e4eef3fe579f1f5c0a06bbba 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=print with manual fixup
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
002c32fd0d869e280783777ec57916a9267aaea5 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=types with manual fixups
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
e5ca79699d00fdf7ac6eaceaed372aea8d6bc1fd 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=map with manual cleanup
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
ac1b4359467ca3deab03186a15eae1d55eb35567 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=idioms
/external/fonttools/Lib/fontTools/misc/psCharStrings.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/misc/psCharStrings.py
cd5aad92f23737ff93a110d5c73d624658a28da8 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=raise
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
846d09e380215f8c7fdb4bbb9f083f8e68722cda 18-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Allow None for globalSubrs in T2CharString
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
f09f1d406446d1e249ab89b5c345d0a86e8392e3 14-Aug-2013 Behdad Esfahbod <behdad@behdad.org> Raise exceptions on unimplemented T2CharString operators
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
e56bc902cf6a707349ae6ddfe8a83a1bd7b155b9 10-Mar-2008 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> - t1Lib.py can now properly read PFA fonts
- fixed "flex" bug in T1 charstring reader


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@549 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
7099f4c0f9fbaf1a5c811113fdfd2404dee04361 25-Feb-2006 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> support the deprecated dotsection T2 operator


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@505 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
d4561ec1b4ac67b2c29d0db13913431a3d2fbd50 07-May-2005 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> some flex hint fixes from rroberts


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@499 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
95c9e9fc11dc028bd1747788f2b417f3936fc59b 23-Feb-2005 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> This patch fixes two things
- in T2 charstrings, a byte code of 255 is followed by a 16.16 fixed
point number, not a 4-byte int as in T1. Noted by rroberts.
- some integers were not correctly encoded in the T1 compiler.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@485 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
8b8b44904e116287ca0eb587f9c5b21296fb3123 17-Sep-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> - Implemented the flex operators for T2
- Changed a whole bunch of XXX traps into NotImplementedErrors


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@456 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
d3ee2d4319742ec61cb299665ccba66c139e4834 16-Sep-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> - Properly support the pen protocol for open sub paths in Type 1


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@452 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
6628513fe486630d2ee30f6dd5da354a20c26eda 29-Aug-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> T2: I'm not sure if the seac-variant of the endchar operator may be
combined with actual outlines, but if it is, we need to do the closePath
before the components are added.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@440 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
382df6c42a7a6aecb690e07c6338e19f038f0543 28-Aug-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added deprecated endchar/seac support for T2 charstrings


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@439 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
489d76a340845361def6af9ab7d9152f8e66f417 24-Aug-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> Refactored outline extraction for CharStrings. The interface to
T{1,2}OutlineExtractor is not backwards compatible and this change
basically makes them private classes: CharStrings now have a .draw()
method that takes a Pen object (see fontTools.pens.*), so you never
have to deal with the extractor objects yourself. Only lightly tested.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@417 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
9920ad5286b6e61d67f07f908107d65f7fa817ac 24-Aug-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added and tweaked some asserts


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@414 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
b58176e5ac4d1e0b0e6a6c71c3020f5e85bd4dfe 24-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added support for raw bytecode: this happens unintentionally for subrs that aren't referenced, but it's good to have anyway, in case we want to switch T2 decompilation off.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@257 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
4e5af60930726d06a58a30bae45bb27ae50aea77 24-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> CFF/T2 <-> XML roundtripping has begun!


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@254 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
f2cf9c5d6d503e16ee43dc9b617d96aed38806a8 23-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> first working version of CFF/T2 compiler; needs cleanup/refactoring, and doesn't import from XML yet; hardly tested.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@253 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
586345b7c1c0aa97b06f1597b67c3bb4c4e97be1 17-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> fixed ctnrmask problem: hints weren't counted correctly


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@247 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
455af6592bffbd6f2fc9f56fbfe083022a8353d4 17-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> first stab at compiling T2 CharStrings


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@244 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
6f03a58f59fb20662602e3d4bb153d7db2f778d3 16-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> (nit)


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@239 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
dc18128aa9b3f6b98a623c294ac615195159025e 15-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> added delta array support to DictDecompiler


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@235 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
bf2f402913a2706dfa92190e60cba7acbf01c9d7 14-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> fix argument type order


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@233 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
dbc2c173b35360386c907a3c70cb931ae4c3fac9 13-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> moved some stuff to cffLib


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@225 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
aa00a279aee4fb40429fbcf874f61d26a9978973 16-Aug-2001 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> behave nicely when *any* subpath doesn't start with a moveto.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@171 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
239498a49628ea09ee3ac8ead586022b775237f1 16-Aug-2001 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> behave nicely when the font doesn't do an initial moveto.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@170 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
b68a700595ff730c29d3d4b7abf92ee287678745 24-Jun-2001 Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> don't print extra error info to stdout


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@136 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
dab433233bd4024ede9ad27c6c61ea0072c2edaf 31-Jan-2000 Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> fixed broken import


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@71 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py
528614e6e254dfe3c501ff440c291c6c55de5e6f 16-Jan-2000 Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> Moved psCharStrings.py, psLib.py and psOperators.py to fontTools.misc, since they're not "toplevel" font tools.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@59 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/misc/psCharStrings.py