Khaled Hosny
835fc1376f
[ci] Build ragel on the Linux CI job
...
To make sure we don’t accidentally break this option.
3 years ago
Khaled Hosny
a59e7ec993
[meson] Add ragel_subproject option
...
Add an option to build fallback ragel subproject when no suitable ragel
version is found, and make it off by default since most builder don’t
need ragel at all.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3208 (hopefully)
3 years ago
Khaled Hosny
60a38d7988
Merge pull request #3210 from NikitaFeodonit/main
...
CMake: Detect pthread with module FindThread
3 years ago
Garret Rieger
f4649f3895
[subset] restore hb_subset_input_unicode/glyph_set () to documentation.
3 years ago
Garret Rieger
d700646c33
[subset] In preperation for 3.0.0 release remove legacy subsetting api methods.
3 years ago
NikitaFeodonit
19cd84b4e9
CMake: Detect pthread with module FindThread
...
Set CMake minimum version to 3.1.
3 years ago
Behdad Esfahbod
ae14537854
[style] Change tag type to hb_style_tag_t
...
https://github.com/harfbuzz/harfbuzz/pull/3201#discussion_r708914354
3 years ago
David Corbett
470686e817
[USE] Send Khitan Small Script and Yezidi to USE
3 years ago
Khaled Hosny
22cbd038d3
[meson] Add ragel subproject
...
If ragel 6.10 is not found, build it from source.
Seems to work, except that ragel uses exceptions and we configure
HarfBuzz build to not use exceptions, and I can’t find away to enable
exceptions only for the ragel subproject. I had to remove cpp_eh=none
from default options and try to disable exceptions in MSVC manually
(other compilers are already handled).
3 years ago
Khaled Hosny
5898a9618c
[ragel] Regenerate state machine files with 6.10
3 years ago
Khaled Hosny
7e9ac8fea2
[meson] Require ragel 6.10
...
Ragel 7 is also not stable from upstream's point of view.
This uses “version” argument find_program(), which was introduced in
meson 0.52.0, so I raised the minimum required meson version
accordingly.
3 years ago
Behdad Esfahbod
175f24a459
Merge pull request #3206 from harfbuzz/unicode-14
...
Update to Unicode 14.0.0
3 years ago
David Corbett
f1493357f7
[Unicode 14] Update the Arabic joining script list
3 years ago
David Corbett
a0101a31b5
[Unicode 14] Add tests
3 years ago
David Corbett
2c3e4b279b
[Unicode 14] Send all the new scripts to USE
3 years ago
David Corbett
20736d9bb3
[Unicode 14] Update the USE table
3 years ago
David Corbett
35ac0de42b
[Unicode 14] Update the emoji table
3 years ago
David Corbett
ec5688f50f
[Unicode 14] Update the vowel constraint table
3 years ago
David Corbett
11d5334d8e
[Unicode 14] Update the Indic table
3 years ago
David Corbett
18a46eeafb
[Unicode 14] Update the Arabic table
3 years ago
David Corbett
7b05eec054
[Unicode 14] Update the script direction list
3 years ago
David Corbett
26e1498e76
[Unicode 14] Update the UCD table
3 years ago
David Corbett
67f1aa4d21
[Unicode 14] Add new `hb_script_t` values
3 years ago
Behdad Esfahbod
cd77846bd9
[util] Fix leak of an hb_font_t
3 years ago
Behdad Esfahbod
da285d511f
[util/shape-consumer] Simplify font tracking
3 years ago
Behdad Esfahbod
bda3238c89
Add fallback atexit implementation using template descrutors
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3197
3 years ago
Behdad Esfahbod
9c27045158
[style] Fix another float conversion warning
3 years ago
Behdad Esfahbod
5a1a6f1fe3
[ot-shape] Enabled two more features: 'Harf' and 'Buzz'
...
Considered 'required', as opposed to existing 'HARF' and 'BUZZ',
consider them discretionary.
See discussion in https://github.com/harfbuzz/harfbuzz/issues/3200
3 years ago
Behdad Esfahbod
ed1163208d
Call atexit() via hb_atexit()
...
Part of https://github.com/harfbuzz/harfbuzz/issues/3197
3 years ago
Behdad Esfahbod
ad4df20dd6
[style] Fix float conversion warning
3 years ago
Behdad Esfahbod
c5cc23a9b5
[style] Change private slant tag
...
https://github.com/harfbuzz/harfbuzz/issues/3200#issuecomment-918352162
3 years ago
Khaled Hosny
d748586a18
[style] Try harder to fix MSVC build
...
https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160
3 years ago
Khaled Hosny
e275f0d7ed
[style] Try to fix MSVC build
3 years ago
Khaled Hosny
eb4075a1ed
[style] Fix documentation
...
Message documentation a bit to get it working.
3 years ago
Khaled Hosny
4d9b7de0b6
[style] Prepare for release
3 years ago
Khaled Hosny
34ff2d3ea6
Fix build with -Dexperimental_api=true
...
../src/hb-style.cc:102:32: error: no matching function for call to 'hb_style_get_value'
return _hb_angle_to_ratio (hb_style_get_value (HB_STYLE_TAG_SLANT_ANGLE));
^~~~~~~~~~~~~~~~~~
../src/hb-style.cc:99:1: note: candidate function not viable: requires 2 arguments, but 1 was provided
hb_style_get_value (hb_font_t *font, hb_tag_t tag)
^
and
../src/hb-style.cc:80:1: error: unused function '_hb_ratio_to_angle' [-Werror,-Wunused-function]
_hb_ratio_to_angle (float r)
^
3 years ago
Behdad Esfahbod
39c20d2b9e
[style] Add HB_STYLE_TAG_SLANT_RATIO
3 years ago
Behdad Esfahbod
201cbe3c66
[style] Rename HB_STYLE_TAG_SLANT to HB_STYLE_TAG_SLANT_ANGLE
3 years ago
Behdad Esfahbod
a23ce28977
[style] Fall back to GPOS 'size' feature for optical size in style API
3 years ago
Qunxin Liu
37379f8f7d
[subset] fox for (Chain)ContextFormat3: subset lookupRecord
...
skip copying a lookupRecord if lookup referenced in the lookupRecord is
not retained after subset
3 years ago
Khaled Hosny
838d670752
[subset] Improve alignment of --help-all message
3 years ago
Khaled Hosny
9b7af950b3
[docs] Fix subset documentation
...
List the missing new APIs and unlist all the to be deleted legacy APIs.
3 years ago
Khaled Hosny
e38b873eae
[ci] Use different executer for win64 jobs
3 years ago
Khaled Hosny
48c9869bda
Typo
3 years ago
Khaled Hosny
505df5abf8
2.9.1
3 years ago
mahanstreamer
6602cbb706
dead link
3 years ago
mahanstreamer
916ffe0c85
grammer fix
3 years ago
Khaled Hosny
195c05df99
Revert "[ot-shape-normalize] Move buffer out of hb_ot_shape_normalize_context_t"
...
This reverts commit 8cdbea5580
.
For some reason this is causing several tests to crash locally for me
(on macOS), see:
8cdbea5580 (commitcomment-55898088)
3 years ago
David Corbett
f4559d2435
Update hb-ot-tag-table.hh
3 years ago
Khaled Hosny
9fddbb3e24
[test] Rename test and split into smaller subtests
3 years ago