2411 Commits

Author SHA1 Message Date
Cosimo Lupo
91aaaad8bd Merge pull request #431 from anthrotype/travis-container
use faster, container-based Travis infrastructure
2015-12-09 13:06:21 +00:00
Behdad Esfahbod
79cdb5aa19 Implement kernset 2015-12-09 14:00:09 +01:00
Cosimo Lupo
4c49cc6b6e requirements.txt: change commit hash to point to latest google/brotli HEAD
this is in order to compile brotli with old gcc without `-std=c++0x` flag
2015-12-09 12:59:47 +00:00
Sascha Brawer
d622f99982 [feaLib] Clean up class names of Abstract Syntax Tree statements
The class names of tree nodes for substitution and positioning rules
are now consistent with `builder.py`, which in turn is consistent with
`otTables.py`.
2015-12-09 13:58:05 +01:00
Cosimo Lupo
59ddee620e .travis.yml: switch container-based infrastructure; don't install gcc++ 4.8 as it requires sudo 2015-12-09 12:57:25 +00:00
Behdad Esfahbod
7bf04190c9 Implement MarkToLigature positioning 2015-12-09 13:44:20 +01:00
Sascha Brawer
5b1b1d17f6 [feaLib] Restructure MarkBasePosBuilder in preparation of MarkLigPosBuilder
The upcoming MarkLigPosBuilder will have some parts in common with
MarkBasePosBuilder. Move these common parts into a helper method,
so that MarkLigPosBuilder will be able to call them.

Also, clean up the structure of MarkBasePosBuilder.
2015-12-09 13:23:50 +01:00
Sascha Brawer
7e846691e4 [feaLib] Consistently name LookupBuilders after their OpenType subtable class 2015-12-09 12:59:20 +01:00
Sascha Brawer
652bbeb51b [feaLib] Centralize how lookups are built from subtables 2015-12-09 12:51:01 +01:00
Sascha Brawer
320a4a57c6 [feaLib] Centralize the building of coverage tables 2015-12-09 12:30:57 +01:00
Behdad Esfahbod
32b97ccab2 Implement MarkBasePos and MarkMarkPos 2015-12-09 12:21:17 +01:00
Behdad Esfahbod
6d8ee2a4f3 Add makeClassDef() 2015-12-09 11:50:53 +01:00
Behdad Esfahbod
e82695c4a7 Fix makeCoverage() 2015-12-09 11:48:56 +01:00
Sascha Brawer
0532ec85d3 [feaLib] Parse GPOS type 5: Mark-to-Ligature Attachment Positioning
No output is produced yet, this is just the change on the parser.
2015-12-09 10:40:49 +01:00
Sascha Brawer
25acebd824 [feaLib] Minor parser refactoring in preparation for GPOS type 5
GPOS type 5 has much in common with GPOS type 4, so we want to share
the common parsing code.
2015-12-08 23:46:04 +01:00
Behdad Esfahbod
0848a0ce56 Add makeAnchor() 2015-12-08 23:40:41 +01:00
Behdad Esfahbod
995b4dca42 Accept Anchor Format2 2015-12-08 23:37:15 +01:00
Behdad Esfahbod
beb0143612 Separate kernset from pair 2015-12-08 23:26:05 +01:00
Behdad Esfahbod
9e28a7aaa1 Implement CursivePos 2015-12-08 23:25:12 +01:00
Behdad Esfahbod
515f0b3016 Implement PairPos Format1 2015-12-08 23:09:24 +01:00
Behdad Esfahbod
5ac9067bcd Implement PairPos Format2 2015-12-08 22:47:37 +01:00
Sascha Brawer
0fbbe037bf [feaLib] Implement GPOS type 4: Mark-to-Base Attachment Positioning 2015-12-08 22:28:02 +01:00
Behdad Esfahbod
941d735760 Sanity-check ValueRecord fields 2015-12-08 22:22:33 +01:00
Behdad Esfahbod
e717b1f157 Implement SinglePos
Also, skip unimplemented tables.
2015-12-08 20:47:53 +01:00
Behdad Esfahbod
6c4d14dbce Enable writing of Count values that are never set
This can happen with empty MarkMark / MarkBase tables.
2015-12-08 20:41:54 +01:00
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