Commit Graph
17313 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
dependabot[bot] f8ebf27a72 Bump setuptools from 69.2.0 to 69.5.1 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.2.0 to 69.5.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v69.2.0...v69.5.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 06:03:10 -05:00
dependabot[bot] 71200c1341 Bump codecov/codecov-action from 4.2.0 to 4.3.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/7afa10ed9b269c561c2336fd862446844e0cbf71...84508663e988701840491b86de86b666e8a86bed)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 06:03:02 -05:00
Timo Suoranta 39b5ae79f0 Fix for #4395 2024-04-12 19:33:29 +02: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
Khaled Hosny b3e4721af7 Revert "[ci] Enable experimental_api on distcheck job"
This reverts commit 89570d1959.
2024-04-09 18:54:36 +02:00
dependabot[bot] 607931b396 Bump fonttools from 4.50.0 to 4.51.0 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.50.0 to 4.51.0.
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](https://github.com/fonttools/fonttools/compare/4.50.0...4.51.0)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 08:42:46 -05:00
dependabot[bot] cd825c9ae8 Bump github/codeql-action from 3.24.9 to 3.24.10
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.9 to 3.24.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/1b1aada464948af03b950897e5eb522f92603cc2...4355270be187e1b672a7a1c7c7bae5afdc1ab94a)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 08:42:29 -05:00
dependabot[bot] 51dcc99c87 Bump codecov/codecov-action from 4.1.1 to 4.2.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/c16abc29c95fcf9174b58eb7e1abf4c866893bc8...7afa10ed9b269c561c2336fd862446844e0cbf71)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 08:42:17 -05: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