2536 Commits

Author SHA1 Message Date
Behdad Esfahbod
8128b509a4 [subset] Augment ContextHelper
As needed in my Monotype OpenType format parser.  I'm not using the object
directly from subset module, but pushing back my changes here, in the hope
that we move this object to ttLib proper soon.
2015-12-08 20:40:42 +01:00
Behdad Esfahbod
e7b05e2e41 Fixup Chained Pos 2015-12-08 20:00:24 +01:00
Behdad Esfahbod
2bf82e5534 Support multiple subtables per lookup 2015-12-08 19:59:48 +01:00
Cosimo Lupo
83d2769f34 README.md: fix typo 2015-12-08 18:37:55 +00:00
Cosimo Lupo
cade98932b Merge pull request #430 from anthrotype/davelab6-documentation-tweaks
Dave's documentation tweaks
2015-12-08 18:36:16 +00:00
Behdad Esfahbod
5bc565524a Implement ReverseChainingContextualSubst 2015-12-08 19:28:05 +01:00
Dave Crossland
b29a003545 rename {CHANGELOG.txt,NEWS} LICENSE{.txt,} 2015-12-08 18:26:40 +00:00
Cosimo Lupo
38ae35ec71 README.md: remove instructions for Windows command line tools and installer 2015-12-08 18:26:01 +00:00
Dave Crossland
710ca13b42 CHANGELOG.txt: Minor corrections 2015-12-08 18:25:42 +00:00
Dave Crossland
f439b55a1f Doc/changes.txt -> CHANGELOG.txt 2015-12-08 18:25:31 +00:00
Dave Crossland
5df8647eba README: Improve install and tools notes 2015-12-08 18:25:19 +00:00
Dave Crossland
1c3f3e6374 Update Doc/changes.txt: summarize last 2 releases 2015-12-08 18:25:11 +00:00
Dave Crossland
2340a9cfbd rm Doc/install.txt 2015-12-08 18:25:00 +00:00
Behdad Esfahbod
f8ff80eb4d Finish ChainContext Format 3
Also support MarkFilteringSet, as well as making keywords case
insensitive.
2015-12-08 19:08:41 +01:00
Sascha Brawer
790ea83a02 [feaLib] Parse GPOS type 4 aka Mark-to-Base Attachment Positioning
However, no output tables are being built yet. This change is just
implementing the feature file parser.
2015-12-08 19:04:42 +01:00
Behdad Esfahbod
59deb68068 Fix glyph counts 2015-12-08 18:36:32 +01:00
Behdad Esfahbod
f738cda25b Finish ChainContext Format 2 2015-12-08 18:30:07 +01:00
Behdad Esfahbod
8533a8bbd1 Minor, add debug lines 2015-12-08 18:18:19 +01:00
Behdad Esfahbod
e8fc94f393 Merge Context and Chain
Format 1 and 2 almost work.
2015-12-08 18:15:27 +01:00
Sascha Brawer
bc4828589e [feaLib] Merge test cases from the OpenType Feature File specification
The setup code for these unit tests was copied and pasted,
and this became a little repetitive.
2015-12-08 17:19:30 +01:00
Sascha Brawer
dfa1551ece [feaLib] Implement markClass statement 2015-12-08 17:04:21 +01:00
Behdad Esfahbod
80d9c7573e Parse glyph references by Unicode char or glyph id 2015-12-08 16:55:51 +01:00
Behdad Esfahbod
c42dcf5f09 Fix comment skipping 2015-12-08 16:55:41 +01:00
Behdad Esfahbod
494f9e975a Add parseGlyph() 2015-12-08 16:21:59 +01:00
Behdad Esfahbod
cca7d5ffb2 Parse Context format 3 2015-12-08 16:09:29 +01:00
Behdad Esfahbod
23364a2741 Move parseTable to its own function 2015-12-08 14:56:23 +01:00
Behdad Esfahbod
5cb14f049f Move parseLookup into its own function 2015-12-08 14:37:33 +01:00
Cosimo Lupo
66386ab488 Merge pull request #428 from anthrotype/ttx-pad-tags
ttx: pad tags with space if length is less than 4
2015-12-08 13:08:52 +00:00
Cosimo Lupo
9f6055d5d9 Merge pull request #427 from anthrotype/recalc-bbox-expand
_g_l_y_f: expand glyphs inside `compile` if recalcBBoxes==True
2015-12-08 13:08:40 +00:00
Cosimo Lupo
9049d5f866 Merge pull request #425 from anthrotype/xmlreader-fileobj
make XMLReader accept file objects
2015-12-08 13:08:19 +00:00
Cosimo Lupo
e12aec52ed ttx: use ljust to pad tags with space (more Pythonic)
as suggested by @adrientetar
2015-12-08 12:45:22 +00:00
Behdad Esfahbod
899162223f Minor 2015-12-08 11:30:32 +01:00
Cosimo Lupo
79c2b8cbc1 ttx: pad tags with space if length is less than 4
so that you don't need to do `-t "CFF "` anymore.

Fixes https://github.com/behdad/fonttools/issues/265
2015-12-08 10:11:26 +00:00
Cosimo Lupo
db57418b55 Merge pull request #420 from moyogo/fealib-typo
feaLib: misnamed function in builder_test.py
2015-12-08 09:48:40 +00:00
Cosimo Lupo
738866492d _g_l_y_f: expand glyphs inside compile if recalcBBoxes==True; delete empty self.data lingering around
Fixes https://github.com/behdad/fonttools/issues/410.

See also:
ecbe8f2c37 (commitcomment-14464893)
2015-12-08 09:35:00 +00:00
Sascha Brawer
c6ee46f299 [feaLib] Implement GPOS type 3: Cursive Attachment Positioning 2015-12-07 23:56:08 +01:00
Cosimo Lupo
2fb1cc138c Merge pull request #426 from benkiel/patch-3
Add t1Lib to packages
2015-12-07 22:02:13 +00:00
Ben Kiel
d7623b08ca Add t1Lib to packages
Seems that setup.py wasn't installing this.
2015-12-07 16:01:09 -06:00
Sascha Brawer
2391a11fc8 [feaLib] Test that the parser rejects enum pos cursive constructs 2015-12-07 22:53:38 +01:00
Sascha Brawer
b0fda8ec45 [feaLib] Replace invocation of deprecated has_key() by in 2015-12-07 22:49:20 +01:00
Sascha Brawer
6240593839 [feaLib] Parse anchors in format A, B, C, D, and E 2015-12-07 22:48:10 +01:00
Behdad Esfahbod
83033c29f6 Implement Context format 1 and 2 2015-12-07 21:54:53 +01:00
Sascha Brawer
bdc72e1198 [feaLib] Do not emit empty GSUB and GPOS tables
The AFDKO `makeotf` tool does not emit empty tables, either.
2015-12-07 21:38:41 +01:00
Sascha Brawer
3433f363e7 [feaLib] Implement GPOS type 2, format 1 2015-12-07 21:26:58 +01:00
Cosimo Lupo
8933062db0 xmlReader: make xmlReader accept file objects
Fixes https://github.com/behdad/fonttools/issues/404

Also, fixed typo for ProgressPrinter method call: 'setlabel' -> 'setLabel'
2015-12-07 19:31:33 +00:00
Cosimo Lupo
e54fced0b9 Merge pull request #424 from benkiel/patch-2
Update doc
2015-12-07 19:27:17 +00:00
Ben Kiel
e53d2068ca Update doc
Added text for woff2
2015-12-07 13:26:16 -06:00
Cosimo Lupo
5cf297ca44 xmlReader_test: test ProgressPrinter and reading from path vs file object 2015-12-07 19:26:04 +00:00
Cosimo Lupo
af62ebf2b6 ttLib: rename 'fileName' arg to 'fileOrPath' in importXML function for consistency with saveXML method 2015-12-07 18:26:48 +00:00
Cosimo Lupo
112b9ba8ff Merge pull request #423 from anthrotype/remove-win-exe
remove old 'Windows' folder as no longer required
2015-12-07 16:40:11 +00:00