115 Commits

Author SHA1 Message Date
Cosimo Lupo
67fe931f15 Snippets/svg2glif: import internal copy of glifLib and pointPen modules 2019-02-22 11:08:40 +00:00
Chris Simpkins
1c0a55905b [Snippets] added usage documentation as a Markdown block in the notebook 2019-01-29 23:55:51 -05:00
Chris Simpkins
33b03e3edd [Snippets] add name-viewer.ipynb jupyter notebook 2019-01-29 23:30:49 -05:00
Miguel Sousa
fdc4bb7354 otf2ttf. Add option to overwrite existing files 2018-10-10 18:13:02 -07:00
Miguel Sousa
75e3546b3c otf2ttf. Support multiple input files 2018-10-10 18:01:38 -07:00
Khaled Hosny
24226fd592 Put back __future__ import 2018-10-09 18:43:34 +02:00
Khaled Hosny
e1047a3177 Sort imports
Also remove unused __future__ imports.
2018-10-09 17:25:40 +02:00
Khaled Hosny
13de4f30c2 [Snippets] Improve otf2ttf.py post table message 2018-10-09 17:25:40 +02:00
Khaled Hosny
5ad27dfb40 [Snippets] Handle post table overflow in otf2ttf.py
Fixes https://github.com/fonttools/fonttools/issues/1329
2018-10-09 17:25:40 +02:00
Khaled Hosny
c9f79af8ce [Snippets] Allow otf2ttf.py to take in TTC fonts
Processes individual faces only, though. No support for writing out font
collections.
2018-10-09 17:25:40 +02:00
Cosimo Lupo
80bfc3ccd5
Snippets: add rename-fonts.py to append a suffix to all family names 2018-06-05 21:41:11 +01:00
Cosimo Lupo
299320d0b1
Snippets/layout-features.py: allow to load from ttx file 2018-05-23 11:50:40 +01:00
Chris Simpkins
53117bcf88 [checksum.py] added description string, corrected file path description 2018-02-26 17:58:12 -05:00
Chris Simpkins
db38156b91 [checksum.py] fixed incorrect variable name in stderr message 2018-02-25 19:35:06 -05:00
Chris Simpkins
d8e5f5cc37 removed header text 2018-02-25 19:32:20 -05:00
Chris Simpkins
362db5c99a [checksum.py] added file path documentation to source header 2018-02-25 12:06:12 -05:00
Chris Simpkins
0f49e20675 [Snippets/checksum.py] adds checksum.py script for SHA1 hash checksum list generation from font binaries or ttx XML OT table dumps from font files, and checksum testing against valid checksum files 2018-02-24 21:43:59 -05:00
Jens Kutilek
b09c2e0d2b Add b to bytes 2018-01-09 16:13:35 +01:00
Jens Kutilek
0cae12bdbd Add snippet manipulating raw table data 2018-01-09 11:18:01 +01:00
Cosimo Lupo
eab152e297 [Snippets] add script to convert SVG outlines to UFO GLIF
(requires ufoLib)
2017-09-12 23:09:31 -04:00
Khaled Hosny
7bea4c66c6 Add a snippet to remove LangSys from DFLT script
Such fonts violate the spec and OTS rejects them, this snippet should
help quickly fixing such fonts.
2017-06-23 02:46:33 +02:00
Dave Crossland
b7b3653b18 Snippets/README.md new link 2017-03-29 21:03:09 -04:00
Behdad Esfahbod
b9ff863b2c Move Snippets/interpolatable.py to fontTools.varLib.interpolatable 2017-02-26 10:43:11 -08:00
Behdad Esfahbod
7d36bf42ef [interpolatable] Don't pass glyphset to subpen in PerContourPen
It doesn't need it.  We just record the component.
2017-02-22 14:45:05 -06:00
Behdad Esfahbod
8879318c0b Move RecordingPen to fontTools.pens.recordingPen 2017-02-21 12:11:36 -06:00
Behdad Esfahbod
5a06247ef8 [interpolatable] Derive RecordingPen from AbstractPen, not BasePen 2017-02-21 12:08:07 -06:00
Behdad Esfahbod
f0584a8507 [interpolatable] Change RecordingPen.draw to replay 2017-02-21 12:02:04 -06:00
Behdad Esfahbod
55e529f7a3 Add fontTools.pens.teePen 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
69c11928a2 [interpolatable] Minor 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
63c283a3c8 [interpolatable] Remove use of perimeter again 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
c935118072 [interpolatable] Add TeePen
Used to combine StatisticsPen and PerimeterPen into one pen for example.
Though, that example to be removed again.
2017-02-21 12:01:10 -06:00
Behdad Esfahbod
d4d12d255c [interpolatable] Minor 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
d748db59cc [interpolatable] Minor 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
14b46cf7a6 [symfont] Move symfont to fontTools.misc.symfont 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
724e6dab4e [symfont] Minor 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
08755ea1a4 [symfont] Move code around 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
ba4d63ea1c [symfont] Fixup for 1fe8d9f0d149d571626dd3f9121953fd71ebcc2c 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
621759b3a8 [symfont] Add endPath() 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
a690907243 [symfont] Minor 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
821ea7385f Minor 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
0a2c5ef7ae [symfont] Write generator code as main function in printPen() output 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
628b1c99aa [symfont] Remove stale docstring 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
7bd0081368 [symfont] Remove printCache()
It wasn't updated, and not working, for ages.
2017-02-21 12:01:10 -06:00
Behdad Esfahbod
087d865831 [symfont] Use dict.__missing__ trick for memoize 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
f13fbdae63 [symfont] Shuffle 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
03e8f2e461 [interpolatable] Minor 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
65e5c257ed [interpolatable] Remove stale commit and uncomment code 2017-02-21 12:01:10 -06:00
Behdad Esfahbod
f3224d7d34 Move StatisticsPen into fontTools.pens.statisticsPen 2017-02-20 13:19:35 -06:00
Behdad Esfahbod
5cbfaa2792 [symfont] Change GlyphStatistics object into StatisticsPen
It's a simple pen now.  To be moved to fontTools.pens next.
2017-02-20 13:02:52 -06:00
Behdad Esfahbod
c14aad81f4 [symfont] Rename 2017-02-20 12:46:55 -06:00