Ebrahim Byagowi
38fa924904
[meson] revert 020b182
as meson fails when there is cyclic dependency
4 years ago
Ebrahim Byagowi
42d039cc99
[meson] minor
4 years ago
Ebrahim Byagowi
f2a80ab2c2
[meson] use null_dep idiom
4 years ago
Ebrahim Byagowi
05ab073d9b
[meson] Improve the way cairo-ft availability is checked
4 years ago
Ebrahim Byagowi
d543923294
[fvar] minor
4 years ago
Ebrahim Byagowi
aadcd3ed8a
[meson] use dependency's has_headers to make pulled cairo has ft support
4 years ago
Ebrahim Byagowi
020b182c79
[meson] try freetype without harfbuzz just as a last resort
4 years ago
Xavier Claessens
01fa55e88f
meson: Allow freetype and cairo subprojects to fail
...
If their respective option is set to 'auto' configuration of the
fallback subproject should be allowed to fail for any reason.
4 years ago
Xavier Claessens
00c652adab
meson: Fallback to cairo subproject when option is 'auto'
4 years ago
Xavier Claessens
571365df33
meson: Simplify check for cairo library and headers
4 years ago
Xavier Claessens
c4bbe89b53
meson: Fallback to freetype2 subproject when option is 'auto'
...
But disable harfbuzz support when configuring freetype2 subproject to
avoid dependency cycle.
4 years ago
Xavier Claessens
33252ce576
meson: Simplify check for freetype2 library and headers
4 years ago
Hugo Beauzée-Luyssen
40ec187dec
win32: Cleanup PARTITION handling
...
Use the WINAPI_PARTITION macro to filter desktop/app flavors.
We use a negated desktop check because the default (for mingw-w64 at
least) is to allow all API by combining desktop + app partitions.
This causes build failures if we were to filter using
WINAPI_PARTITION(WINAPI_FAMILY_APP) because it would always be true, but
those API also require Windows 8 or later, while we only require Vista
Fixes warnings like
../src/hb-blob.cc:572:47: warning: 'WINAPI_FAMILY_PC_APP' is not defined, evaluates to 0 [-Wundef]
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP)
^
../src/hb-blob.cc:572:86: warning: 'WINAPI_FAMILY_PHONE_APP' is not defined, evaluates to 0 [-Wundef]
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP)
4 years ago
Ebrahim Byagowi
f3f9205fac
[meson] Assume cairo_ft always available when cairo isn't from pkgconfig
4 years ago
Ebrahim Byagowi
aa8bade97e
[meson] enable cairo as subproject
4 years ago
Ebrahim Byagowi
ea8e784146
[fvar] Improve naming
4 years ago
Ebrahim Byagowi
5de07b8acd
[fvar] Move normalize logic where it is actually filled
4 years ago
Ebrahim Byagowi
0f8dda2cf2
[fvar] Move shared axis filling values into a new method
4 years ago
Ebrahim Byagowi
98c42b3bc7
[fvar] Make AxisRecord fields protected
4 years ago
Ebrahim Byagowi
5f870dfadb
[meson] Make benchmark buildable also in dists
4 years ago
Ebrahim Byagowi
702847aadd
[meson] Turn benchmark to a feature
4 years ago
Behdad Esfahbod
7ee3194f98
[meta] Remove wrong comment
4 years ago
Behdad Esfahbod
26b9670d99
[ft] Better handle allocation failures
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2513
4 years ago
Behdad Esfahbod
26111a11ad
[dagger] Minor cleanup using hb_enumerate
4 years ago
Ebrahim Byagowi
fd8b0a44c4
[ci] Limit number of processes ninja uses
...
Our CricleCI bots run with 32 cores last time I check which makes random compile issues
like this https://circleci.com/gh/harfbuzz/harfbuzz/146030 to happen. Guess that has
something to do with the way virtualization is done in Circle CI so let's limit number of processes.
4 years ago
Ebrahim Byagowi
831b090001
rebase draw test as recent roundf changes
4 years ago
Ebrahim Byagowi
cb7fb3cf4a
Add test for a783840789
4 years ago
Ebrahim Byagowi
1536271f6b
Don't check roundf availability in cmake and meson
4 years ago
Ebrahim Byagowi
08d57d9eca
Add hb_array_t::lfind
4 years ago
Behdad Esfahbod
a783840789
Always round up
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2496
4 years ago
Ebrahim Byagowi
ca8202208a
[ci] retire psvita and djgpp bots
...
till update and overhaul
4 years ago
Sebastian Rasmussen
2267da4ee0
[ft] Do not deference ft_font if it is nullptr ( #2502 )
4 years ago
Sebastian Rasmussen
a373e16131
[ot-shape] Free shape plan maps upon error creating data ( #2497 )
4 years ago
Sebastian Rasmussen
dbf9896e7a
[ft] Handle nullptr when destroying freetype font ( #2494 )
4 years ago
Ebrahim Byagowi
20d1fa3671
[perf] fix the build
4 years ago
Ebrahim Byagowi
76ba619daa
Fix autotools's harfbuzz.cc build
...
How this works? gen-harfbuzzcc.py operates at its own source path (see its 7th line)
and that is reliable when used both on meson and autotools.
Just like 19ecabed
, weirdly this didn't come up sooner, guess it has something
to do with timestamps. Fortunately whole harfbuzz.cc just doesn't matter for
packagers but we can tag a release only for this if needed.
4 years ago
Ebrahim Byagowi
95b1081be4
Add performance benchmark for shaping, get extents and draw
4 years ago
Sebastian Rasmussen
12a9d57292
[face] Destroy blob if face closure can not be created ( #2490 )
...
This fixes issue #2489 .
4 years ago
Ebrahim Byagowi
53b0a183c7
Remove concept of stable/unstable from build tools
...
We never practiced the concept of stable and unstable releases, let's
remove the code and always use the stable scheme.
4 years ago
Ebrahim Byagowi
e4203c1469
2.6.8
4 years ago
Ebrahim Byagowi
8c84fee2e5
Update build systems status messages
4 years ago
Ebrahim Byagowi
e541fb474c
minor, replace single hb_apply daggers with foreach
4 years ago
Ebrahim Byagowi
8bca9a420e
[fvar] minor
4 years ago
Ebrahim Byagowi
b5ae8eab44
[ci] raise msan bot subset timeout
4 years ago
Ebrahim Byagowi
82ec9ef2e9
[fvar] minor simplification
4 years ago
Ebrahim Byagowi
4e37c48e37
[fvar] Remove get_axis_info and get_axis_deprecated
4 years ago
Ebrahim Byagowi
61c240f399
[fvar] Push _axis_info fill logic deeper
4 years ago
Ebrahim Byagowi
47a0fbec31
[meson] Mark longer tests with slow
...
So one can skip them easily by `meson test -Cbuild --no-suite slow`
4 years ago
Ebrahim Byagowi
47dedc7500
[ci] increase tsan and ubsan subset fuzzer timeout
...
as https://circleci.com/gh/harfbuzz/harfbuzz/144966 and https://circleci.com/gh/harfbuzz/harfbuzz/144970
4 years ago
Ebrahim Byagowi
b2d0dba5ef
[cpal] Port to dagger
4 years ago