History log of /external/fonttools/Tools/fontTools/cffLib.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3012076942bbda1a77b06ecc2b6573fa1354d85f 19-May-2014 Behdad Esfahbod <behdad@behdad.org> Minor
/external/fonttools/Lib/fontTools/cffLib.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/cffLib.py
522cd11d513baf11870e853c945b7c086104ca6f 10-Dec-2013 Khaled Hosny <khaledhosny@eglug.org> Remove unnecessary new line after <CFF> tag

No other table does that.
/external/fonttools/Lib/fontTools/cffLib.py
85a64db5419991b228478b866eb4262df7055cb2 16-Dec-2013 Behdad Esfahbod <behdad@behdad.org> py23 Another cff encoding fix
/external/fonttools/Lib/fontTools/cffLib.py
617ec41d4c2db2011e62cadf619e2a8b07aec93e 11-Dec-2013 Behdad Esfahbod <behdad@behdad.org> Fix encoding conversion in CFF

Was broken with Python 3 and Salsa-Regular.otf for example.
/external/fonttools/Lib/fontTools/cffLib.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/cffLib.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/cffLib.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/cffLib.py
d1ba7b53a4da46281f8786dfd89d779e69785d0b 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> ps23 Fix CFF glyphname encodings
/external/fonttools/Lib/fontTools/cffLib.py
024d15317fabfe6af5dbfe69a3c26badea6018ee 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 Fix CFF string encodings
/external/fonttools/Lib/fontTools/cffLib.py
c076261598611984c44ba3346c8aa5bf140dfce9 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> s/latin-1/latin1/g
/external/fonttools/Lib/fontTools/cffLib.py
18316aa769566eeb6f3f4a6ed2685fa8f8e861c2 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> ps23 More bytes fixes. All ''join()'s fixed
/external/fonttools/Lib/fontTools/cffLib.py
319c5fd10e2ea84304bd299b7483e05b5b0d5480 28-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 introduce byteord() and use it
/external/fonttools/Lib/fontTools/cffLib.py
32c10eecffb4923e0721c395e4b80fb732543f18 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 from __future__ import division and adjust divisions
/external/fonttools/Lib/fontTools/cffLib.py
30e691edd056ba22fa8970280e986747817bec3d 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 from __future__ import print_function
/external/fonttools/Lib/fontTools/cffLib.py
b7a2d797a40fb658d1e6dca6c08c9d2e1d83e78a 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> py23 Use bytechr() instead of chr()
/external/fonttools/Lib/fontTools/cffLib.py
bb0beb7385d00a0f5c99895e7299a5a1307ec193 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 Use py23 to close some of the bytes/str/unicode gaps
/external/fonttools/Lib/fontTools/cffLib.py
9005774c106a796473cae36edc1ca24413139e2f 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=unicode equivalents

Remove usage of unicode module. The rest are mostly false
positives.

Remains u'' in macUtils.py and u"" and unichr in M_E_T_A_.py.
/external/fonttools/Lib/fontTools/cffLib.py
c2297cd41d6c00b95f857b65bc9fd4b57559ac5e 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=dict with manual cleanup
/external/fonttools/Lib/fontTools/cffLib.py
2a9b86816e7a1b64d755e208a839b01a7a7ce903 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=basestring with manual fixup
/external/fonttools/Lib/fontTools/cffLib.py
14fb031125b773f0a15eb19be4f02ed8540b2db6 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> Remove most uses of module string
/external/fonttools/Lib/fontTools/cffLib.py
3ec6a258238b6068e4eef3fe579f1f5c0a06bbba 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=print with manual fixup
/external/fonttools/Lib/fontTools/cffLib.py
e5ca79699d00fdf7ac6eaceaed372aea8d6bc1fd 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=map with manual cleanup
/external/fonttools/Lib/fontTools/cffLib.py
ac1b4359467ca3deab03186a15eae1d55eb35567 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=idioms
/external/fonttools/Lib/fontTools/cffLib.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/cffLib.py
cd5aad92f23737ff93a110d5c73d624658a28da8 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=raise
/external/fonttools/Lib/fontTools/cffLib.py
180ace6a5ff1399ec53bc696e8bef7cce6eef39a 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=ne
/external/fonttools/Lib/fontTools/cffLib.py
bc5e1cb195c0bfa1c8e7507326d5a9ad05aecb4b 27-Nov-2013 Behdad Esfahbod <behdad@behdad.org> 2to3 --fix=has_key
/external/fonttools/Lib/fontTools/cffLib.py
8c5c96647147a4cfc13d31d17a64f501fa824994 28-Oct-2013 Behdad Esfahbod <behdad@behdad.org> Store CFF names in UTF-8

We switched XML encoding from Latin-1 to UTF-8. Adjust CFF
code.
/external/fonttools/Lib/fontTools/cffLib.py
8413c108d21e8cf0e9059bbfffde8d13f2616340 17-Sep-2013 Behdad Esfahbod <behdad@behdad.org> Move sstruct under fontTools.misc

Our footprint in the Python module namespace is all under
fontTools now. User code importing sstruct should be updated
to say "from fontTools.misc import sstruct".
/external/fonttools/Lib/fontTools/cffLib.py
91bca4244286fb519c93fe92329da96b0e6f32ee 18-Oct-2012 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> merging fixes & changes from delft-sprint-2012

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@611 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
2a9bcde369fbcdc1258c11aa1b03633bf39653b4 07-Mar-2008 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> - use the builtin symbols instead of the types module


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@542 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
f6ff48be3c858d7c4f942e1d4f062120c2e376e0 07-Mar-2008 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> better float testing, so numpy.floats also work.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@541 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
c60a44fa033aeda1eb7ea52a20333bb7cfc142dc 21-Oct-2006 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> Some edits from rroberts:
# 1) speed optimizations
# 2) fixed parseCharset0 to support CFF-CID fonts.
# 3) fixed CharsetConverter.read to work a font that actually has one
of the pre-canned encodings.
# This fixes a stack dump.
# I did not try to support using these encodings when writing a font,
# as the cases will be so rare as to not justify the processing
overhead for all other fonts.

(Read: I took out some of your loop optimizations since I believe they
made the code a lot less clear. I also have my doubts whether they were
actually performance improvements.)


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@509 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
ce522410f26648af01372cc96fe689cf3b3a7c84 25-Aug-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> small nits


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@418 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.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/cffLib.py
ed10151701a7d22e5ff4e06766edff59bd713c89 22-Aug-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> Lots of CID work by rroberts.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@407 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
b9702ba0f1d86307752ed7d593d59e923c8d4054 03-Jan-2003 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> Added support for the Encoding field. (Adam, please let me know if this
works for you.)


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@380 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
e2ca9b5a4ff537ad827c3f722c8137b4f986d9a5 09-Sep-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> make 8-bit chars work in CFF Notice and Copyright fields


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@301 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
7ce0a139ab67dd30614e728a1ef897e53ad805ae 23-Jul-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> some progress bar support


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@293 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.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/cffLib.py
74cd1ef7b3bc1d36ed0a4d44f88da2bfbe5ee248 24-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> whoops, make charset format 2 work also..


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@256 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
6004bafc1f6654e45283d01a9c1141f89cdeec3f 24-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> implemented compiling charset format 1 and 2


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@255 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.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/cffLib.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/cffLib.py
4afb2573876b6ad2ee03fc696cb045e8d1ddb237 18-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> remove format 3 charset switch; add newline after ROS


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@250 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
7ce02ea9dfa1236002aaf61c972a8f31544d070e 17-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> renaming, refactoring.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@249 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
155aa7569f9d18fda270434f38642cfffdca4873 17-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> tweaked the XML output somewhat, reorder the topdict fields, etc.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@248 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
a2ad5447fb707448d2c442b16956f87e048ef0d1 17-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> more CID support, some refactoring, stuff.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@246 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
ae51d5c045977eb403fefb0c25871b1e389276d0 17-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> only debug if DEBUG...


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@245 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
767102ea85a8af1535c169b2e04da5ba458f3b80 17-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> tweaking, added some debug info


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@243 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
016ca76e918ed36888c0fa8e287028ea367ef3d9 16-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> make decompiling charstrings work again


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@242 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
4756b3a04014645ee16a14fb6273e93efa1c7e15 16-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> major refactoring, now evaluates everything lazily, so it should be really fast if you only need (say) the glyph order.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@241 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
1890b953f09bf6dcf84e5fbc0bdaf3f485d3a52d 15-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> more work in progress


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@236 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
ecf5a794eead8064ff6b4810c878c69b257540d1 14-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> more CID hackery


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@234 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
a20285b7b490fc77b507cd12afdebba963f11c9a 14-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> more rearranging, some fixes of the previous version


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@232 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
e327558aa54f182912a26b8313f3af5a07bc2e77 14-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> resturcturing, reformatting


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@231 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.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/cffLib.py
a2a75b348da46073cdd1dea50915384eabfff7c9 13-May-2002 jvr <jvr@4cde692c-a291-49d1-8350-778aa11640f8> use a StringIO stream instead slicing strings all the time; don't barf on CID-keyed fonts (but CID support is by no means there yet!)


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@223 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
8ab68261d890f57c04f215be238248be7fd8afef 28-Mar-2000 Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> don't barf if there are no subroutines


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@102 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
fda65735a486671faea5b28657cc6b2ea8dd707a 19-Jan-2000 Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> various changes:
- the Transformation class is now a little cleaner & smarter
- pens now have a reference to a font
- pens have a new method called drawGlyph(), which is needed for composites.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@64 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.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/cffLib.py
ec46d16d21ea0a7608543123c6fc008e4cdc4c09 20-Dec-1999 Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> dummy checkin -- testing


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@26 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
15aae2e2ec6984ddc70c460625f5fe0bccb48a01 20-Dec-1999 Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> added $Id$ tag.


git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@25 4cde692c-a291-49d1-8350-778aa11640f8
/external/fonttools/Lib/fontTools/cffLib.py
7842e56b97ce677b83bdab09cda48bc2d89ac75a 16-Dec-1999 Just <Just@4cde692c-a291-49d1-8350-778aa11640f8> Created a new library directory called "FreeLib". All OpenSource RFMKII components will reside there, fontTools being the flagship.


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