Commit Graph

399 Commits

Author SHA1 Message Date
Behdad Esfahbod 3ec0092c5e [HB] Simplify more 2009-11-02 14:40:18 -05:00
Behdad Esfahbod 6ad8d5f3c7 [HB] Simplify some basic things 2009-11-02 14:40:18 -05:00
Behdad Esfahbod f96ffd43bc [HB] simplify macros 2009-11-02 14:40:18 -05:00
Behdad Esfahbod 8e7b30782a [HB] Update text files 2009-11-02 14:40:18 -05:00
Behdad Esfahbod fa7d472494 [HB] Remove stale makefile.msc too 2009-11-02 14:40:17 -05:00
Behdad Esfahbod da2c52abcd [HB] Remove old code!
Goodbye 16 thousand lines of ten-year old code!
2009-11-02 14:40:17 -05:00
Behdad Esfahbod e5372f1621 [HB] Remove stale TODO mark 2009-11-02 14:40:17 -05:00
Behdad Esfahbod 96908b8984 [HB] Add FixedVersion cast to int 2009-11-02 14:40:17 -05:00
Behdad Esfahbod 957740dd25 [HB] Simplify tag 2009-11-02 14:40:17 -05:00
Behdad Esfahbod 87fcdcbe36 [HB] Remove unused data types 2009-11-02 14:40:17 -05:00
Behdad Esfahbod 5876bf1b73 [HB] Simplify version check in GSUB/GPOS 2009-11-02 14:40:17 -05:00
Behdad Esfahbod 212aba6189 [HB] Check for GDEF/GSUB/GPOS versions 2009-11-02 14:40:17 -05:00
Behdad Esfahbod a21b5062cc [HB] Minor 2009-11-02 14:40:17 -05:00
Behdad Esfahbod a080b1cc2f [HB] Add TODO items 2009-11-02 14:40:17 -05:00
Behdad Esfahbod e4efdd80a8 [GDEF] Add some get_carret_value() code 2009-11-02 14:40:17 -05:00
Behdad Esfahbod 9b006bc032 [GPOS] MarkLigPosFormat1
GPOS is complete now!  Yay!
2009-11-02 14:40:16 -05:00
Behdad Esfahbod 923923feb2 [HB] Remove apply_subtables() again 2009-11-02 14:40:16 -05:00
Behdad Esfahbod d468f9af5b [HB] Share Extension lookup code between GSUB and GPOS 2009-11-02 14:40:16 -05:00
Behdad Esfahbod 498f1909e0 [GPOS] Remove printf. MarkMarkPos1 is working
The "bug" was in the font.
2009-11-02 14:40:16 -05:00
Behdad Esfahbod c7d457aa3a [HB] Ouch. Add files. 2009-11-02 14:40:16 -05:00
Behdad Esfahbod fe550f4dd8 [GPOS] MarkMarkPosFormat1
Still not quite working.
2009-11-02 14:40:16 -05:00
Behdad Esfahbod 357ccde36b [GPOS] MarkBasePosFormat1 2009-11-02 14:40:16 -05:00
Behdad Esfahbod 377bfc5860 [GPOS] Implement MarkArray interface 2009-11-02 14:40:16 -05:00
Behdad Esfahbod c18ec2b1d7 [GPOS] Implement Device support in AnchorFormat3 2009-11-02 14:40:15 -05:00
Behdad Esfahbod fca6a0d158 [GPOS] Remove apply_value() return value 2009-11-02 14:40:15 -05:00
Behdad Esfahbod fb3b5ccfef [GPOS] Start MarkBasePosFormat1 2009-11-02 14:40:15 -05:00
Behdad Esfahbod ee8776d9e0 [HB] Add TODO item 2009-11-02 14:40:15 -05:00
Behdad Esfahbod c6456ca5cf [HB] Add TODO item 2009-11-02 14:40:15 -05:00
Behdad Esfahbod 3015c41751 [HB] Remove last dependence on the old code base! 2009-11-02 14:40:15 -05:00
Behdad Esfahbod 5c0adce1cc [HB] Rename harfbuzz-buffer to hb-buffer 2009-11-02 14:40:15 -05:00
Behdad Esfahbod b857b49c82 [HB] Remove all references to the old code! 2009-11-02 14:40:15 -05:00
Behdad Esfahbod e1593a6e62 [GPOS] Finally it's working, up to Cursive
Wow, IranNastaliq renders perfectly again!
2009-11-02 14:40:15 -05:00
Behdad Esfahbod 0f7e6b2cea [GPOS] Fix more brokenness 2009-11-02 14:40:15 -05:00
Behdad Esfahbod ff05d257dd [HB] Move lookup types enum into subtable class 2009-11-02 14:40:14 -05:00
Behdad Esfahbod 263bbef767 [GDEF] Simplify Device access 2009-11-02 14:40:14 -05:00
Behdad Esfahbod 60d77cf05f [HB] Indentation 2009-11-02 14:40:14 -05:00
Behdad Esfahbod 90de3dfff9 [HB] Remove unused methods 2009-11-02 14:40:14 -05:00
Behdad Esfahbod 4c44d830d7 [HB] Indentation 2009-11-02 14:40:14 -05:00
Behdad Esfahbod d18fd8e3f7 [GPOS] CursivePosFormat1 2009-11-02 14:40:14 -05:00
Behdad Esfahbod 70632add33 [GSUB] PairPosFormat2 2009-11-02 14:40:14 -05:00
Behdad Esfahbod b24ecbadf4 [GPOS] PairPosFormat1 2009-11-02 14:40:14 -05:00
Behdad Esfahbod 056c7ec1ae [GPOS] Start filling apply() functions in 2009-11-02 14:40:14 -05:00
Behdad Esfahbod 4fa77d3c43 [HB] Use enums 2009-11-02 14:40:14 -05:00
Behdad Esfahbod 6b54c5d044 [HB] More reference cast simplification 2009-11-02 14:40:14 -05:00
Behdad Esfahbod eb0dfc830e [HB] Rename LOOKUP_ARGS to APPLY_ARGS 2009-11-02 14:40:13 -05:00
Behdad Esfahbod 2a8e6accdf [HB] Internally rename position() and substitute() to apply() 2009-11-02 14:40:13 -05:00
Behdad Esfahbod f6c8a6eacf [HB] Simplify casts 2009-11-02 14:40:13 -05:00
Behdad Esfahbod 9c42f05a5c Switch Pango to new, defunt, GPOS 2009-11-02 14:40:13 -05:00
Behdad Esfahbod 5e5eb0573f [HB] Start GPOS! 2009-11-02 14:40:13 -05:00
Behdad Esfahbod 64e67f7599 [GSUB] Minor 2009-11-02 14:40:13 -05:00
Behdad Esfahbod d79cae0b4e [HB] Minor 2009-11-02 14:40:13 -05:00
Behdad Esfahbod 8533bb985e [GSUB] Protect against mismatching Extension subtable types 2009-11-02 14:40:13 -05:00
Behdad Esfahbod 969afd706e [GSUB] Implement ReverseChainSingleSubst
GSUB is done!
2009-11-02 14:40:13 -05:00
Behdad Esfahbod 4acaffd786 [HB] Don't use G_LIKELY! 2009-11-02 14:40:13 -05:00
Behdad Esfahbod 3dcb12f171 [GSUB] Oops, fix Extension check 2009-11-02 14:40:12 -05:00
Behdad Esfahbod 2e8fb6c38d [HB] Tweak some constants and fix Coverage 2009-11-02 14:40:12 -05:00
Behdad Esfahbod d6aae5f5ca [HB] Cleanup TODOs 2009-11-02 14:40:12 -05:00
Behdad Esfahbod 122f21fb9a [GSUB] Fix context_length handling in Ligature too 2009-11-02 14:40:12 -05:00
Behdad Esfahbod 47958dea21 [HB] Minor cleanup 2009-11-02 14:40:12 -05:00
Behdad Esfahbod e73a0c2a90 [HB] Correctly skip glyphs when applying (Chain)Context lookups 2009-11-02 14:40:12 -05:00
Behdad Esfahbod 7cff75babd [HB] Fix context_length checking 2009-11-02 14:40:12 -05:00
Behdad Esfahbod d0ba055700 [HB] ChainContext complete
IranNastaliq renders perfectly again!
2009-11-02 14:40:12 -05:00
Behdad Esfahbod e072c24e79 [HB] Implement backtrack matching 2009-11-02 14:40:12 -05:00
Behdad Esfahbod 02e1e5c63f [HB] One more step to go, for fully working GSUB and ChainContext 2009-11-02 14:40:12 -05:00
Behdad Esfahbod f14c2b7acf [HB] Further modularize Context matching 2009-11-02 14:40:12 -05:00
Behdad Esfahbod 13ed4405c5 [HB] A step closer to working ChainContext 2009-11-02 14:40:11 -05:00
Behdad Esfahbod e8cbaaf6d5 [HB] Add HeadlessArrayTo<> 2009-11-02 14:40:11 -05:00
Behdad Esfahbod dcb6b60254 [HB] More template goodness 2009-11-02 14:40:11 -05:00
Behdad Esfahbod aa3d7adca5 [HB] More churning towards ChainContext lookups 2009-11-02 14:40:11 -05:00
Behdad Esfahbod 48f16ed96a [HB] Towards sharing Context and ChainContext code 2009-11-02 14:40:11 -05:00
Behdad Esfahbod 6cf2a52593 [HB] Add check to avoid infinite recursion 2009-11-02 14:40:11 -05:00
Behdad Esfahbod 887c4b4416 [HB] Cosmetic 2009-11-02 14:40:11 -05:00
Behdad Esfahbod ca5290f499 [HB] Start ChainContext and ReverseChainSingleSubst lookups 2009-11-02 14:40:11 -05:00
Behdad Esfahbod 433f4aea74 [HB] Remove stale TODO 2009-11-02 14:40:11 -05:00
Behdad Esfahbod 6f20f72e9c [HB] Split Layout-common tables into new files 2009-11-02 14:40:11 -05:00
Behdad Esfahbod f45107fe09 [HB] More shuffling 2009-11-02 14:40:11 -05:00
Behdad Esfahbod f8dc67b3c2 [HB] Cleanup format unions 2009-11-02 14:40:10 -05:00
Behdad Esfahbod da1097bc3b [HB] Use four bytes for Null Tag, not 5 2009-11-02 14:40:10 -05:00
Behdad Esfahbod 19fc24f268 [HB] Couple size checks 2009-11-02 14:40:10 -05:00
Behdad Esfahbod ecf17e849d [HB] Propagate property of first glyph
This slightly grows code size.
2009-11-02 14:40:10 -05:00
Behdad Esfahbod eca8e33710 [GSUB] Further optimize the main switch 2009-11-02 14:40:10 -05:00
Behdad Esfahbod 13068232e7 [HB] Unify first glyph property checking 2009-11-02 14:40:10 -05:00
Behdad Esfahbod 66bf7ce4e3 [HB] Move Context matching logic out of GSUB 2009-11-02 14:40:10 -05:00
Behdad Esfahbod a1625528cd [GSUB] Unify ContextSubst matching 2009-11-02 14:40:10 -05:00
Behdad Esfahbod c36238bea4 [HB] Renames 2009-11-02 14:40:09 -05:00
Behdad Esfahbod 15c3e75b39 [HB] Simplify buffer 2009-11-02 14:40:09 -05:00
Behdad Esfahbod 36f78446ce [HB] Add TODO item 2009-11-02 14:40:09 -05:00
Behdad Esfahbod ee58aaebd2 [HB] Update copyright years 2009-11-02 14:40:09 -05:00
Behdad Esfahbod f4c9514935 [HB] Simplify more arrays 2009-11-02 14:40:09 -05:00
Behdad Esfahbod c9a7cbe9cb [HB] Use ArrayOf<> in GSUB 2009-11-02 14:40:09 -05:00
Behdad Esfahbod 5f810363ac [HB] Add ArrayOf<> 2009-11-02 14:40:09 -05:00
Behdad Esfahbod 238c855fcd [HB] Use OffsetTo<> for Coverage 2009-11-02 14:40:09 -05:00
Behdad Esfahbod 3d54bd1293 [HB] Use OffsetTo<> in more places 2009-11-02 14:40:09 -05:00
Behdad Esfahbod 9e4d9d7b27 [HB] Add OffsetTo template. 2009-11-02 14:40:09 -05:00
Behdad Esfahbod e07f89295b [HB] Automate int-type size assertion 2009-11-02 14:40:09 -05:00
Behdad Esfahbod 8b83580331 [HB] Use templates for Null objects
Also use a common pool for all nul-content ones.
2009-11-02 14:40:08 -05:00
Behdad Esfahbod 6e13d41401 [HB] Remove obsolete comment 2009-11-02 14:40:08 -05:00
Behdad Esfahbod 9f721cf380 [GSUB] Start ChainContextSubst 2009-11-02 14:40:08 -05:00
Behdad Esfahbod 7fca9e5245 [GSUB] Implement ContextSubstFormat3 2009-11-02 14:40:08 -05:00
Behdad Esfahbod 1ff926a568 [GSUB] Implement ContextSubstFormat2 2009-11-02 14:40:08 -05:00