Khaled Hosny
6add69a6ec
[hb-view] Allow building without cairo-ft
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3925
2 years ago
Behdad Esfahbod
f252cf80e1
[open-type] Allow passing an offset to to_float()
2 years ago
Behdad Esfahbod
6ae35365f8
Fix build
2 years ago
Behdad Esfahbod
e957391efe
[colr] Add NoVariable::varIdxBase
2 years ago
Behdad Esfahbod
e06de98c36
[var-common] Make VarInstancer take an offset
2 years ago
Behdad Esfahbod
251f9f6213
[open-type] Add VarIdx::add()
2 years ago
Behdad Esfahbod
bf2ae3f0ca
[open-type] Add static_assert for NO_VARIATION
2 years ago
Matthias Clasen
d4496e6405
COLRv1: Apply variations correctly
...
The variations are for xMin, yMin, xMAx, yMax.
Apply them before converting to extents..
2 years ago
Matthias Clasen
193e0e3e8e
Cosmetic: typo fix
2 years ago
Garret Rieger
b5acde43ed
[subset] check pending/subsetted tag sets for alloc failure.
2 years ago
Jordan Petridis
79285a9983
VarC: cast ints ( #3934 )
...
msvc is rightfully complaining that the types on the sides of
the ternary are not matching:
```
C:\pango\subprojects\harfbuzz\src\OT\glyf\VarCompositeGlyph.hh(317): error C2446: ':': no conversion from 'const OT::HBUINT16' to 'const OT::HBUINT8'
```
2 years ago
Behdad Esfahbod
300d82ce2e
Fix compiler warning
2 years ago
Behdad Esfahbod
199345eb29
Merge pull request #3928 from harfbuzz/colrv1-extents
...
COLRv1: use ClipBoxes for extents
2 years ago
Behdad Esfahbod
bd7cb384cf
[VarC] Remove unused variable
2 years ago
Behdad Esfahbod
51d3ce39ba
Merge pull request #3933 from googlefonts/cff
...
[subset] Fix infinite loop when instancing CFF fonts
2 years ago
Behdad Esfahbod
1b278c7658
[VarC] Update for new format
...
https://github.com/harfbuzz/boring-expansion-spec/issues/71
2 years ago
Garret Rieger
64cbe8b962
[subset] Also note that only full instancing works.
2 years ago
Garret Rieger
0da59f86a8
[subset] note that CFF/CFF2 instancing is not yet supported.
2 years ago
Garret Rieger
9fbe52b88d
[subset] enable instancing tests by default.
2 years ago
Garret Rieger
38a9628885
[subset] simplify handling of table subsetting depedencies.
...
Allow the dependency checker to see all tables that will be subset. Use this to fix the HMTX/VMTX dep check against glyf. Don't delay hmtx/vmtx subsetting if no glyf table is present.
2 years ago
Garret Rieger
0853e5d9d7
[subset] if table dependencies can't be resolved fail the subset.
...
Avoids getting stuck in an infinite loop.
2 years ago
Behdad Esfahbod
6bb478eeeb
[VarC] Clamp after addition
2 years ago
Behdad Esfahbod
80a5011eb6
[VarC] Fix coord setting
...
Those are additive.
2 years ago
Behdad Esfahbod
4e9a6cfb49
[COLR] Use VarStoreInstancer
2 years ago
Behdad Esfahbod
a3a3d37b95
[var] Add VarStoreInstancer
2 years ago
Behdad Esfahbod
c64661b2f8
[COLR] Fix variation code
2 years ago
Behdad Esfahbod
ff332b14ea
[COLR] Handle HB_OT_LAYOUT_NO_VARIATIONS_INDEX
2 years ago
Behdad Esfahbod
9a3f0be291
[COLR] Apply variations in get_extent
2 years ago
Behdad Esfahbod
68964efa55
[COLR] Use bsearch in get_extents
2 years ago
Behdad Esfahbod
d0ee5a452f
[COLR] Return false from get_extents if table version not 1
2 years ago
Behdad Esfahbod
b3d6a5ef86
[colr] Minor no behavior change
2 years ago
Matthias Clasen
7a748ad4ac
COLRv1: use ClipBoxes for extents
...
This is a first step; ultimatively, we
should compute the extents is ClipBoxes
are missing.
2 years ago
Behdad Esfahbod
d36a0f8c42
[COLR] Add TODO
2 years ago
Behdad Esfahbod
a306820681
[colr] Use SortedArray instead of Array
2 years ago
Behdad Esfahbod
b9d5e7a8bb
[colr] Set HB_COLRV1_MAX_NESTING_LEVEL to 16
...
Was 100. That seemed excessive.
2 years ago
Behdad Esfahbod
c17afa48de
[colr] Remove COLRV1_ENABLE_SUBSETTING
2 years ago
Behdad Esfahbod
9ab2c8034e
Revert "[glyf] Use component phantom points after transformation"
...
This reverts commit a756bd1944
.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3929
2 years ago
Behdad Esfahbod
7f73b57bc1
[subset] Graduate L1 instancing API from experimental
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3926
2 years ago
Khaled Hosny
0f4e38cd86
[subset] Small doc fixes
2 years ago
Behdad Esfahbod
bf2e817549
[VarComposites] Support GID24
2 years ago
Behdad Esfahbod
8c641eeefb
Merge pull request #3841 from harfbuzz/varc
...
[glyf] VariableComposites
2 years ago
Behdad Esfahbod
10d38dcdfd
[varc] Change format slightly
...
Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/70
2 years ago
Behdad Esfahbod
af450a757d
[config] Use HB_EXPERIMENTAL_API instead of adhoc HB_EXPERIMENTAL
2 years ago
Behdad Esfahbod
5cf0b9ae7d
[varc] Mark as experimental feature with HB_NO_VAR_COMPOSITES
2 years ago
Behdad Esfahbod
82b4f3791e
[coord-setter] Don't modify font coords
2 years ago
Behdad Esfahbod
e9e503b80b
[Glyph] Pass down coords to get_points
2 years ago
Behdad Esfahbod
8e46870093
[gvar] Take coords in instead of font in apply_deltas_to_points
2 years ago
Behdad Esfahbod
3caa42a4a7
Fix build after rebase
2 years ago
Behdad Esfahbod
bbe59e4211
Whitespace
2 years ago
Behdad Esfahbod
13deea7cbd
[glyf/VarComposite] Clamp axis coordinates
2 years ago