Commit Graph
13714 Commits
Author SHA1 Message Date
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
Behdad Esfahbod 7b57a8a40e [varc] Implement SparseVariationRegion 2024-04-16 17:10:09 -06:00
Behdad Esfahbod 0dcdbb4f42 [VARC] Add consume_all to unpack_deltas()
Untested.
2024-04-16 17:10:09 -06:00
Behdad Esfahbod ae35e30bd2 [VARC] Add SparseVarRegionAxis 2024-04-16 17:10:09 -06:00
Behdad Esfahbod ef04b5c259 Try fixing MSVC builds 2024-04-16 17:10:09 -06:00
Behdad Esfahbod fa9dc530fc Move CFF Index types to open-type
https://github.com/harfbuzz/boring-expansion-spec/blob/main/VARC.md#cff2indexof
2024-04-16 17:10:09 -06:00
Behdad Esfahbod cf3e88e17f [CFF] Remove duplicate typedef 2024-04-16 17:10:09 -06:00
Behdad Esfahbod bd795373fc [TupleValues] Encode 32bit values
https://github.com/harfbuzz/boring-expansion-spec/blob/main/VARC.md#tuplevalues
2024-04-16 17:10:09 -06:00
Behdad Esfahbod 0c6054539d [TupleValues] Decode 32bit values
https://github.com/harfbuzz/boring-expansion-spec/blob/main/VARC.md#tuplevalues
2024-04-16 17:10:09 -06:00
Behdad Esfahbod e1d0ee3bd7 [var] Mark a few methods as static 2024-04-16 17:10:05 -06:00
Behdad Esfahbod e339fed72c [open-type] Add HBUINT32VAR
https://github.com/harfbuzz/boring-expansion-spec/blob/main/VARC.md#uint32var
2024-04-16 17:09:15 -06:00
Behdad Esfahbod a69a6cb09e Avoid a copy 2024-04-16 17:09:07 -06:00
Garret Rieger 2cfa55056c [instancer] Switch to doubles for delta calculations.
FontTools uses double's internally so match FontTool's precision so we get the same results more often for floating point calculations.
2024-04-15 16:06:19 -06:00
Behdad Esfahbod c053e8f292 [aat] Simplify (or not?) SubtableGlyphCoverage.sanitize() 2024-04-11 08:58:49 -06:00
Behdad Esfahbod d137d55799 [aat] Add (unused) SubtableGlyphCoverage 2024-04-11 08:53:17 -06:00
Behdad Esfahbod d8d2a98b8d [aat] Whitespace 2024-04-11 07:45:41 -06:00
Garret Rieger c84acc8e07 [subset] Fix fuzzer found memory leak.
Fixes https://oss-fuzz.com/testcase-detail/6159925345583104.
2024-04-09 08:41:32 -05:00
David Corbett f3727c4767 Recognize ot_languages2’s disambiguation priority 2024-04-05 18:35:53 -06:00
Behdad Esfahbod 7de2d11150 Fix autotools test 2024-04-01 01:55:38 -06:00
Khaled Hosny 2bd6124737 Fix Python warning
fix_get_types.py:14: SyntaxWarning: invalid escape sequence '\('
2024-03-30 02:20:21 +02:00
Khaled Hosny 63973005bc 8.4.0 2024-03-29 16:32:00 +02:00
Garret Rieger 69f9c29ec1 [repacker] add tests of serializer repack_last(). 2024-03-29 00:19:16 +00:00
Garret Rieger 992953fd3e [subset] updated comment. 2024-03-28 23:12:21 +00:00
Garret Rieger 96f0038e39 [subset] cast. 2024-03-28 23:11:16 +00:00