Khaled Hosny
9ca8e7564b
Revert "[circleci] Make dist tarball with meson"
...
This reverts commit 80157cc60b
.
That was a thinko, meson generated dist tarballs are not usable for
autotools build as they will miss generated autotools files.
2 years ago
Nirbheek Chauhan
c7dd63d1a0
meson: Provide binaries when built as a subproject
2 years ago
Nirbheek Chauhan
7be06f6377
meson: Override dependencies to improve usage as a subproject
...
With this change, harfbuzz can be consumed as a subproject without
making any changes to the build files of a project. All you need to do
is provide a wrap file with a `[provide]` section:
https://mesonbuild.com/Wrap-dependency-system-manual.html#provide-section
This is also necessary because otherwise projects need to hard-code
the subproject name, which might be `harfbuzz` when using `wrap-git` or
`harfbuzz-6.0.0` when using `wrap-file` (to build from a release
tarball). This can cause conflicts between different subprojects that
consume harfbuzz differently.
Other projects like glib, cairo, pango, etc already do this.
2 years ago
Behdad Esfahbod
206957aee4
[COLR] Change recursion limit back to 128
2 years ago
Khaled Hosny
31ba950b71
[circleci] Don’t run tests in dist
2 years ago
Khaled Hosny
f22e42d737
[circleci] Remove cruft
2 years ago
Khaled Hosny
21e866b8b5
[circleci] Unify meson commands a bit
2 years ago
Khaled Hosny
80157cc60b
[circleci] Make dist tarball with meson
2 years ago
Khaled Hosny
afcae83a06
6.0.0
2 years ago
Khaled Hosny
27ff90d7b8
[meson] Update freetype2 wrap
...
Use the one from WrapDB and add zlib wrap because current FreeType
tarball misses it.
2 years ago
Matthias Clasen
a98c6fdd92
Mark an argument as unused
2 years ago
Matthias Clasen
601d3806c9
COLRv1: Revamp extents variation
...
Try to do this a cleaner way.
2 years ago
Khaled Hosny
318df8a706
[meson] Update google-benchmark wrap
...
Use the one from WrapDB.
2 years ago
Khaled Hosny
bd7c458028
[meson] Update glib wrap
...
Use the one from WrapDB.
2 years ago
Behdad Esfahbod
51a17201a7
[open-type] In to_float() take offset as float
2 years ago
Khaled Hosny
9e3bfd9aa1
[ci] Build Windows binaries without cairo-ft
2 years ago
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