Behdad Esfahbod
97b8ada865
[varc] Reset component coordinates to that of the font
...
Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/78
2 years ago
Garret Rieger
40342c9437
[subset] check for addition overflow in hdmx size calculation.
...
Fixes https://oss-fuzz.com/testcase-detail/4877336988483584 .
2 years ago
Garret Rieger
d77fca997e
[subset] when subsetting preprocessor fails, reference the returned face.
...
The caller of the method is expected to destroy the returned result.
2 years ago
Khaled Hosny
fc8fa18418
Revert "[doc] Don’t skip building on Windows"
...
This reverts commit 196e739cf2
.
2 years ago
Khaled Hosny
6d80aba49e
Revert "[doc] Remove redundant check for gtkdoc-scan"
...
This reverts commit 0409363f77
.
Broke lots of bots.
2 years ago
Behdad Esfahbod
9b5b4da0e4
[varc] Set coordinates as absolute values
2 years ago
Khaled Hosny
0409363f77
[doc] Remove redundant check for gtkdoc-scan
...
If docs are enabled, meson will fail earlier of gtkdoc-scan is missing.
2 years ago
Khaled Hosny
196e739cf2
[doc] Don’t skip building on Windows
...
We don’t enable building docs by default, so if one asked explicitly for
it we shouldn’t be overriding that.
2 years ago
Behdad Esfahbod
80e68f09c5
[VarC] Change rotation/skew representation
...
Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/77
2 years ago
Garret Rieger
1840b02e6a
[subset] Don't gate access to the table repacker.
...
Any table with an object graph should repack correctly.
2 years ago
Behdad Esfahbod
03a1685693
[VarC] Change representation of scale from 4.12 to 6.10
...
Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/76
2 years ago
Garret Rieger
1a51f71afd
[subset] don't segfault when --help-all is specified w/ instancing options.
2 years ago
Matthias Clasen
c292e577ff
Fix a typo
2 years ago
Matthias Clasen
b795246fff
[draw] Clarify the docs
...
Disambiguate the origin of draw_data and user_data,
this had me confused a few times.
Fixes: https://github.com/harfbuzz/harfbuzz/issues/3955
2 years ago
Matthias Clasen
eddb408f9c
[draw] Small doc fix
2 years ago
Khaled Hosny
bc4c290b75
[doc] Workaround gtk-doc limitation with HB_DEPRECATED_FOR
...
See https://github.com/harfbuzz/harfbuzz/issues/3957#issuecomment-1356890525
2 years ago
Khaled Hosny
734e5f7cf4
[doc] Add HB_DEPRECATED_FOR to --ignore-decorators
...
Does not make a difference, though.
2 years ago
Khaled Hosny
f9e1192d58
[ot-tag] Document two deprecated symbols
...
See https://github.com/harfbuzz/harfbuzz/issues/3957
2 years ago
Khaled Hosny
947e01a7c1
[subset] Suppress gtk-doc warning
2 years ago
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