Denis Jacquerye
1e0ad3a9a8
remove non utf-8 character in unmaintainted code
2013-10-13 10:17:49 +01:00
Roozbeh Pournader
51a17826be
Add support for cmap format 13.
2013-10-09 15:55:07 -07:00
Behdad Esfahbod
e1a010c261
[subset] Fix AttributeError: 'NoneType' object has no attribute 'prune_hints'
2013-10-09 15:57:22 +02:00
Denis Jacquerye
cff3740f14
* wrong indentation after else
2013-10-09 12:13:40 +02:00
Denis Jacquerye
bed5f61e13
* replace _dict() by dict() as in d73f22530ecadcbdfb2cbc5752df73367ae09a5a
2013-10-09 11:16:25 +02:00
Roozbeh Pournader
d7921e33d9
Improved support for minimal fonts (with no visible glyphs).
2013-10-08 21:29:22 -07:00
Behdad Esfahbod
1e4c89f83a
Update SVG table implementation
...
New drop from Read Roberts.
2013-10-07 17:23:35 -04:00
Behdad Esfahbod
227a495ef0
[inspect] Handle more exceptions
2013-10-02 17:52:04 -04:00
Behdad Esfahbod
805caae0d5
Merge pull request #5 from davelab6/master
...
New -q for Quiet mode
2013-10-01 15:36:55 -07:00
Behdad Esfahbod
16fc323cc2
[subset] Drop CFF font-wide hinting values (bluezones, etc)
2013-09-30 15:10:01 -04:00
Behdad Esfahbod
2e998ea692
Fix GlyphCoordinates slicing
...
Based on patch from Roozbeh.
2013-09-29 14:02:27 -04:00
Behdad Esfahbod
9255d33f04
Remove stale comment
2013-09-27 16:38:39 -04:00
Behdad Esfahbod
043108cbdb
[subset] Fix glyf component closure
...
https://github.com/behdad/fonttools/pull/11
2013-09-27 16:29:50 -04:00
Behdad Esfahbod
bb56ddb971
Fix composite glyph coordinate routines
...
Ouch, was modifying the component's own coordinates before.
2013-09-20 16:36:10 -04:00
Behdad Esfahbod
70fee1648a
Fix glyph removeHinting re padding
2013-09-20 16:36:05 -04:00
Behdad Esfahbod
626107c833
Move some methods from subset.py to 'glyf' table implementation
2013-09-20 16:36:00 -04:00
Behdad Esfahbod
46d260f2a0
[subset] Clean up imports
2013-09-20 16:35:56 -04:00
Behdad Esfahbod
fd92d4c25f
[subset] Minor
2013-09-20 16:35:50 -04:00
Behdad Esfahbod
b61d7ac553
Relicense new tools to the original fonttools license
...
They were under Apache.
2013-09-19 20:03:20 -04:00
Behdad Esfahbod
9d7dc22299
Add copyright notices
2013-09-19 20:03:02 -04:00
Behdad Esfahbod
c226dc764d
Update to Unicode 6.3.0d3
2013-09-18 20:04:12 -04:00
Behdad Esfahbod
28fc49824a
Minor
2013-09-18 19:01:16 -04:00
Behdad Esfahbod
8413c108d2
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".
2013-09-17 16:59:39 -04:00
Behdad Esfahbod
f65033e277
Move xmlWriter into fontTools.misc
...
Trying to cleanup our footprint in the Python namespace.
2013-09-17 16:41:32 -04:00
Behdad Esfahbod
0ec17d96eb
[subset] NameError: global name 'rec' is not defined ( #10 )
...
https://github.com/behdad/fonttools/issues/10
2013-09-15 18:30:41 -04:00
Behdad Esfahbod
21582e9f6c
[subset] Minor TODO items
2013-09-12 16:47:52 -04:00
Khaled Hosny
0e37f89e70
Letovers from pyftfontview → pyftinspect rename
...
Fixes “setup.py install”.
2013-09-12 11:13:39 +02:00
Behdad Esfahbod
9953685818
[subset] Fix CFF hint stripping
...
Stupid mistake. Seems to work now.
2013-09-12 00:23:11 -04:00
Behdad Esfahbod
010c5f9136
[subset] Minor verbose output improvement
2013-09-10 20:54:46 -04:00
Behdad Esfahbod
285d7b81d3
[subset] Fixup CFF hint stripping
...
Two things:
1. Put back glyph width after stripping hints,
2. Ignore what I believe is broken fonts.
I still see glyph width messup. Debugging.
2013-09-10 20:30:47 -04:00
Behdad Esfahbod
2be33d9383
[subset] Allow specifying '*' to choose all glyphs
...
Useful for testing if nothing else.
2013-09-10 19:28:59 -04:00
Behdad Esfahbod
84763140a0
[subset] Adjust state transition after hintmask
2013-09-10 19:00:48 -04:00
Behdad Esfahbod
e06220767f
[subset] Drop hints from CFF if not needed
...
It's a tricky algorithm, but I think I got the design right.
Bugs optional...
2013-09-10 18:37:54 -04:00
Behdad Esfahbod
cebcf17ba7
Rename pyftfontview to pyftinspect
...
Makes more sense.
2013-09-06 18:23:13 -04:00
Behdad Esfahbod
fbb9fc1b47
[subset] Remove _NonrecursingT2Decompiler
...
First, it was wrong because not recursing has implications in hintmasks.
Second, it wasn't needed, because all _used subroutines were already
decompiled anyway.
Fixes this test:
$ pyftsubset SemplicitaPro-Light.otf three
2013-09-05 19:01:39 -04:00
Dave Crossland
a9b7e14f9b
Merge http://github.com/behdad/fonttools
2013-09-04 18:53:41 +01:00
Behdad Esfahbod
9316a90e32
Fixup from numpy removal
2013-09-04 13:50:38 -04:00
Dave Crossland
1e50d94487
Merge http://github.com/behdad/fonttools
2013-09-04 15:51:58 +01:00
Behdad Esfahbod
2058dcfb68
More GlyphCoordinates fixup
...
I'm sure it's correct this time, though I couldn't reproduce the latest
issue Dave was hitting.
2013-09-04 10:49:21 -04:00
Dave Crossland
a2fb9508fb
Merge http://github.com/behdad/fonttools
2013-09-04 15:42:31 +01:00
Behdad Esfahbod
e9ea5a0a10
Really fix GlyphCoordinates this time
...
Argh. I should stop committing without proper time to test first.
https://github.com/behdad/fonttools/issues/4
2013-09-04 10:39:51 -04:00
Behdad Esfahbod
c195a6b6bd
Fixup import
...
https://github.com/behdad/fonttools/issues/6
2013-09-04 10:35:10 -04:00
Dave Crossland
c7e0cf4754
Merge http://github.com/behdad/fonttools
2013-09-04 15:20:38 +01:00
Behdad Esfahbod
71d76fa1b8
Fix GlyphCoordinates
...
It's embarrassing that I failed to test ttx completely.
https://github.com/behdad/fonttools/issues/4
2013-09-04 10:14:44 -04:00
Behdad Esfahbod
583ce6356d
Minor
2013-09-04 09:56:51 -04:00
Dave Crossland
d7efd5692c
Make parsing XML quiet
2013-09-04 14:51:16 +01:00
Dave Crossland
5ffb91eb8c
Fix: Actually parse q for Quiet mode
2013-09-04 14:49:37 +01:00
Dave Crossland
85af40e7d8
Adding quiet mode to xmlImport
2013-09-04 13:30:21 +01:00
Dave Crossland
b158597aea
Add -q for quiet mode
2013-09-04 13:16:39 +01:00
Behnam Esfahbod
f7e0c6719a
Show the length of tables in bytes, like `ttx -l'
...
But not formatting the numbers, as we don't have any locale set
2013-09-03 21:58:26 -07:00