Behdad Esfahbod
c681331c3f
[draw] Rename internal draw_helper_t to draw_session_t
3 years ago
Behdad Esfahbod
f1a9a9ccaf
[draw-state] Pass state down to callbacks
3 years ago
Behdad Esfahbod
a9dd9f0bae
[draw] Add public move_to/line_to/... API that take a draw-state
3 years ago
Behdad Esfahbod
9f05362d43
[test-draw] Fix compiler warning
3 years ago
Behdad Esfahbod
ebc2a133c3
[draw] Rename internal methods
3 years ago
Behdad Esfahbod
86fcd4fe98
[draw] Simplify start_path
3 years ago
Behdad Esfahbod
1740916ede
[draw] Remove check for no-op
...
This is unnecessary overhead. Up to rasterizers to handle this. Plus,
this throws off point-numbers in uses that rely on it.
Disabled one test that broke with this.
3 years ago
Behdad Esfahbod
fc78592e67
[draw-state] Add type and use in draw-helper
3 years ago
Behdad Esfahbod
5610fa1da0
[test-draw] Re-enable two disabled tests
3 years ago
Behdad Esfahbod
a755f93e8d
[draw] Add TODO
3 years ago
Behdad Esfahbod
cdb1a1fc06
[draw] Add REPLACEME
3 years ago
Behdad Esfahbod
8b4f429000
[draw] Virtualize hb_font_draw_glyph() into hb_font_get_glyph_shape()
...
To be implemented in hb-ft.
3 years ago
Behdad Esfahbod
92e6e53b30
[draw] Rename user_data to draw_data
3 years ago
Behdad Esfahbod
3b915389b5
[draw] Remove unneeded roundf() calls
3 years ago
Behdad Esfahbod
2bed4f46fb
[draw] Fix draw signatures
3 years ago
Behdad Esfahbod
08e1096609
[draw-fuzzer] Fix signatures
3 years ago
Behdad Esfahbod
e0ac6c587b
Remove remaining traces of HB_EXPERIMENTAL_API
3 years ago
Behdad Esfahbod
5207ce828a
[draw] Enable draw tests
...
Disable two failing ones.
3 years ago
Behdad Esfahbod
157caf254e
[test-draw] Fix compiler warning
3 years ago
Behdad Esfahbod
27dfd69fc7
[draw] Another Since: tag update
3 years ago
Behdad Esfahbod
7ac23f4e78
[draw] Whitespace
3 years ago
Behdad Esfahbod
e157b50345
[draw] Remove return value of hb_font_draw_glyph()
3 years ago
Behdad Esfahbod
ddc36df332
[draw] Move hb_font_draw_glyph() to hb-draw-glyph.cc
3 years ago
Behdad Esfahbod
9a1508a2be
[draw] Replace API Since tags with REPLACEME
3 years ago
Behdad Esfahbod
a428c1193c
[main] Fix compiler warnings
3 years ago
Behdad Esfahbod
35190dc961
[draw] Convert API to float instead of hb_position_t
3 years ago
Behdad Esfahbod
d6e49b8278
[font] Add em_fscalef_[xy] That take and return float
3 years ago
Behdad Esfahbod
6c0b65a6a8
[font] Add em_scaleff() that returns float
3 years ago
Behdad Esfahbod
dd7b6e2c3f
[draw] Remove EXPERIMENTAL_API tag
3 years ago
Behdad Esfahbod
7af165dbf0
Fix compiler warning
3 years ago
Behdad Esfahbod
b2f5131029
[ci] Add configs-ci.yml to test different configs
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2884
3 years ago
Khaled Hosny
db04af2782
Typo
3 years ago
Khaled Hosny
0a12996134
3.4.0
3 years ago
Khaled Hosny
41815a0d63
[name] Extraneous (out) annotation in return value
3 years ago
Behdad Esfahbod
b263371b09
Merge pull request #3398 from harfbuzz/buffer-verify
...
Add HB_BUFFER_FLAG_VERIFY
3 years ago
Behdad Esfahbod
b3f8288cca
[test/subset] Don't hash files without reason
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3118#issuecomment-894021518
3 years ago
Behdad Esfahbod
42b119edb5
[hmtx] Remove other subset-specific method from hmtx accelerator
3 years ago
Behdad Esfahbod
9ba520b5d1
[hmtx] Remove one subset-specific method from hmtx accelerator
...
Looks ugly but is the right thing to do.
3 years ago
Behdad Esfahbod
af407dd24d
Add a fuzzer font
3 years ago
Behdad Esfahbod
6893723879
[machinery] Allow using lazy-loader with void*
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3427
3 years ago
Chun-wei Fan
3d22dae5f8
meson.build: Only use get_variable() on icu_dep with pkgconfig
...
We might have found ICU via the .lib names, and get_variable() is only
available for pkg-config deps.
3 years ago
Chun-wei Fan
52c536bb8d
hb-algs.hh: Fix build on Visual Studio 2015
...
The compiler does not recognize the std::hash call on
hb_decay<decltype (hb_deref (v)>, so give it a shove so that it is recognized
there.
3 years ago
Alexis King
81754a5a96
[ot-math] Add hb_ot_math_get_glyph_kernings
...
closes #3396
3 years ago
Alexis King
1bc4bad7a5
[ot-tag] Add HB_SCRIPT_MATH (Zmth) and map it to OT ‘math’ tag
...
The ISO 15924 code for mathematical notation is ‘Zmth’, but the
OpenType script is ‘math’.
3 years ago
Khaled Hosny
76cd8a4737
[arabic] Update to AMTRA revision 6
...
https://www.unicode.org/reports/tr53/tr53-6.html#Modifications
3 years ago
Khaled Hosny
c4cf5ddb27
[ci] Downgrade pip on MSVC jobs
...
Turns out, pip 22.0 is the source of the breakage:
https://github.com/mesonbuild/meson/issues/9955#issuecomment-1030843844
https://github.com/pypa/pip/issues/10875
3 years ago
Khaled Hosny
ac46c3248e
3.3.2
3 years ago
Behdad Esfahbod
7657bdd91f
Revert "Fix failing Mac test for previous commit"
...
This reverts commit 070e30e6da
.
3 years ago
Behdad Esfahbod
44da4e2a27
Revert "One more fix"
...
This reverts commit cab943a015
.
3 years ago
Behdad Esfahbod
88798ee8be
[GPOS] Disable split-kerning
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3408
Reverts https://github.com/harfbuzz/harfbuzz/pull/3235
Fixes https://github.com/harfbuzz/harfbuzz/pull/3235#issuecomment-1029814978
3 years ago