Commit Graph
17336 Commits
Author SHA1 Message Date
Behdad Esfahbod cf3ce69f00 [TupleValues] Add a pre-alloc 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 3ffd92f096 [varc] Add a couple of seeds for the fuzzer 2024-04-16 17:10:46 -06:00
Behdad Esfahbod f1f5c7dcfe [varc] Micro-optimize non-variation case 2024-04-16 17:10:46 -06:00
Behdad Esfahbod f403215a6e [varc] Simplify scaling 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 85237065cf [varc] Fix get_upem() 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 599d08a578 [varc] Implement edge-count limiting 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 3d846a8d04 [limits] Centralize graph edge limits 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 1339a68504 [varc] Flip depth accounting 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 2b94779d20 [varc] Implement max depth 2024-04-16 17:10:46 -06:00
Behdad Esfahbod aed01d016e [varc] Implement cycle-detection 2024-04-16 17:10:46 -06:00
Behdad Esfahbod d5ab62a19a [varc] Rename macro 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 3901a87ae0 [VARC] Undefine macros after use 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 805272d87d [VARC] Minor simplify 2024-04-16 17:10:46 -06:00
Behdad Esfahbod bf27f4a3b2 [varc] Fix config 2024-04-16 17:10:46 -06:00
Behdad Esfahbod ed57ab9066 [VARC] Comment 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 57a18ac76f [varc] Error check 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 91a06cef7d [VARC] Cleanup 2024-04-16 17:10:46 -06:00
Behdad Esfahbod bb3bfe8cf4 [glyf] Remove old glyf1 VarComposites support 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 72c9deb5f1 [varc] Fixups
Seems to work now!
2024-04-16 17:10:46 -06:00
Behdad Esfahbod 12ad2ff624 [varc] Fix thinko 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 11388c1625 Fix build 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 00d56b12aa [varc] Apply VarComponent transform
Works for the first font. Yay!
2024-04-16 17:10:46 -06:00
Behdad Esfahbod fb333ce425 [varc] Move some code to VARC.cc 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 924432816e [varc] Apply variations to VarComponent transform components
Now just need to apply the transformation to the component,
via an adaptor draw-funcs.
2024-04-16 17:10:46 -06:00
Behdad Esfahbod 825ed6a6f3 [varc] Set coordinates on recursive components
"Just" transformation left!
2024-04-16 17:10:46 -06:00
Behdad Esfahbod 745ff05a04 [varc] Add coord-setter
Copied from glyf.
2024-04-16 17:10:46 -06:00
Behdad Esfahbod 320dcedec7 [varc] Reading VarComponent transform components 2024-04-16 17:10:46 -06:00
Behdad Esfahbod edd1a4443c [varc] Flesh out VarComponent a bit 2024-04-16 17:10:46 -06:00
Behdad Esfahbod f77aa8be88 [varc] Add TupleList 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 4919f3648a [geometry] Flesh out transform & transform_decomposed 2024-04-16 17:10:46 -06:00
Behdad Esfahbod d32c5164c1 [varc] Add hb_transform_decomposed_t 2024-04-16 17:10:46 -06:00
Behdad Esfahbod aeb564381e [varc] Start decoding VarComponent 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 3b8e7d3b6d [HBUINT32VAR] Change return type 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 7a766b33de [varc] Use enum class 2024-04-16 17:10:46 -06:00
Behdad Esfahbod ef7c0a9b82 [varc] Add VarComponent::flags_t 2024-04-16 17:10:46 -06:00
Behdad Esfahbod c6ae8d586b Add hb-geometry.hh 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 70665adc28 [varc] Add guards 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 7ef7ded298 [varc] Add VarCompositeGlyph 2024-04-16 17:10:46 -06:00
Behdad Esfahbod c819a0b499 [varc] Add VarComponent 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 7cf84272f0 [varc] Fix sanitize for HBUINT32VAR 2024-04-16 17:10:46 -06:00
Behdad Esfahbod a94a5c6366 [varc] Add get_point_at to glyf/CFF2 2024-04-16 17:10:43 -06:00
Behdad Esfahbod 0d6f77e629 [varc] Add table 2024-04-16 17:10:09 -06:00
Behdad Esfahbod 0f2fe75508 [varc] Add MultiItemVariationStore 2024-04-16 17:10:09 -06:00
Behdad Esfahbod 2ddd1a279a [varc] Add MultiVarData 2024-04-16 17:10:09 -06:00
Behdad Esfahbod a9776a3d24 [TupleValues] Rename delta to value 2024-04-16 17:10:09 -06:00
Behdad Esfahbod 763f839066 [TupleValues] Move compile/decompile here 2024-04-16 17:10:09 -06:00
Behdad Esfahbod b24511d2b2 [TupleVariations] Rename encode/unpack to compile/decompile 2024-04-16 17:10:09 -06:00
Behdad Esfahbod 8ccebae1f9 [TupleVariations] Simplify encode API 2024-04-16 17:10:09 -06:00
Behdad Esfahbod 3d0c03aec5 [TupleVariations] Take array instead of vector in encode 2024-04-16 17:10:09 -06:00
Behdad Esfahbod 0ee6164a4c [varc] Simplify a bit 2024-04-16 17:10:09 -06:00