Khaled Hosny
378663409a
[ci] Deploy docs only on tagged builds
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2786
2 years ago
Behdad Esfahbod
3723b8544b
[cff] Better max op counting
2 years ago
Behdad Esfahbod
3c84aa8416
[cff] Add a max work counter
...
Set to 10,000 per interpretation right now.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3700
Fixes https://oss-fuzz.com/testcase-detail/5667125715927040
2 years ago
Behdad Esfahbod
89de8c700f
[CoverageFormat2] Another fix for broken tables
...
Fixes https://oss-fuzz.com/testcase-detail/6005342714068992
2 years ago
Behdad Esfahbod
faac252f9f
[util/hb-ot-shape-closure] Fix showing glyph names
2 years ago
Behdad Esfahbod
38f2ec1703
[hb-shape] Move shape_output_t into separate file
2 years ago
Behdad Esfahbod
94be459808
[hb-shape] Internal rename
2 years ago
Behdad Esfahbod
4f22397f05
[ft] A couple of introspection fixes
2 years ago
Behdad Esfahbod
faa8cdc898
[util] Allow HB_CHAFA=2/3 to enable wedges/all symbols in Chafa
2 years ago
Behdad Esfahbod
b4e95965c8
[util] Revert Chafa to use simple blocks only
...
The wedges are nice but not available on Mac.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3729
2 years ago
Behdad Esfahbod
f7f6d278bb
Add hb_language_matches()
...
New API:
+ hb_language_matches()
2 years ago
Behdad Esfahbod
d57ce30054
[ot-shape] Pass reference to props instead of pointer
...
Since cannot be nullptr.
2 years ago
Behdad Esfahbod
a972d05d7e
[aat] Fix build
2 years ago
Behdad Esfahbod
a5dad50072
[aat/morx] Add test for previous commit
...
https://github.com/harfbuzz/harfbuzz/issues/1373
2 years ago
Behdad Esfahbod
2124ad8906
[aat/morx] Implement language-specific forms
...
Test on Mac with, eg.
$ hb-view /Library/Fonts/BigCaslon.ttf -u 107
vs
$ hb-view /Library/Fonts/BigCaslon.ttf -u 107 --language pl
Fixes https://github.com/harfbuzz/harfbuzz/issues/1373
2 years ago
Behdad Esfahbod
d8574b44cc
[CoverageFormat2] Fix iterator to avoid infinite loop
...
on invalid data.
Fixes https://oss-fuzz.com/testcase-detail/5304497047470080
2 years ago
Behdad Esfahbod
b475a2ab29
[array] Adjust operator !=
2 years ago
Behdad Esfahbod
9518d602f3
[atomic] Disable compiler memory barrier on MSVC
...
It keeps giving me internal compiler error.
https://github.com/harfbuzz/harfbuzz/issues/3728
2 years ago
Behdad Esfahbod
f0707e2348
[atomic] Add compiler memory_r_barrier
...
https://github.com/harfbuzz/harfbuzz/issues/3728
2 years ago
Behdad Esfahbod
f3151b6582
[ArrayOf family] Use memory barrier before accessing array
...
Without it, the compiler was reordering and batching the read
of array length and array[0] if the 0'th member was accessed
constantly and function was inlined. This felt safe to the
compiler because HB_VAR_ARRAY is 1, but could be unsafe actually.
The memory barrier disallows that.
This was found by afl/honggfuzz address sanitizers.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49187
2 years ago
Behdad Esfahbod
90e40f24fe
[algs] Tweak attribute(packed) usage
...
Allow disabling it. Also don't cast this pointer.
2 years ago
Behdad Esfahbod
af84680f23
[GSUB] Remove a reinterpret_cast
2 years ago
Behdad Esfahbod
9843f07658
[OffsetTo] Try catching nullable offsets to unbounded types
...
Doesn't catch all cases; if type is not fully defined at
OffsetTo time, we can't know.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1300
to the best we can do.
2 years ago
Behdad Esfahbod
1327d8e3df
[layout-common] Reshuffle code so Feature is defined before it's used
2 years ago
Behdad Esfahbod
f7147835eb
[colr] Add MIN_SIZE to Paint
2 years ago
Behdad Esfahbod
e1d2facd53
[null] Add hb_has_null_size() and hb_has_min_size()
2 years ago
Behdad Esfahbod
c8908f92d7
Merge pull request #3726 from harfbuzz/ft-bitmap
...
Ft bitmap
2 years ago
Behdad Esfahbod
6ed57de15c
[ft] Fix negative font sizes for bitmaps
2 years ago
Behdad Esfahbod
307ee9baff
[ft] Fix bitmap-only vertical metrics
2 years ago
Behdad Esfahbod
87d338eb61
[ft] Fix test
2 years ago
Khaled Hosny
e294200dac
[ft] Check for FT_Get_Transform at build time
2 years ago
Behdad Esfahbod
901236f721
[ft] Implement loading (color) bitmap fonts
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/489
Something about the vertical metrics is still off, not matching
hb-ot. I cannot figure out what.
2 years ago
Behdad Esfahbod
3ac110560d
[ft] Fix scale when font-sizes are negative
2 years ago
Behdad Esfahbod
d68507d062
[arabic] Pause after calt only if no rclt
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1573
2 years ago
Behdad Esfahbod
8b379ddc76
[test-iter] Add back test of OT namespace iteration
2 years ago
Behdad Esfahbod
ab21c4c283
[hb-view] Add one to row of padding
2 years ago
Behdad Esfahbod
2da36cf99a
[hb-view] Use envvar HB_CHAFA=0 to disable Chafa output
2 years ago
Behdad Esfahbod
76e6feb77f
[util/ansi] Enable all symbols in Chafa
...
Gives vastly smoother output. The previous setting was
equivalent to our in-house renderer.
2 years ago
Behdad Esfahbod
679c87ca36
[util/ansi] Fix chafa cell width/height
...
No idea why it was set to 10/20 instead of 8/16.
2 years ago
Behdad Esfahbod
b706be540c
[mingw32] Update instructions
2 years ago
Garret Rieger
5363e40de1
[reorg] update build files.
2 years ago
Garret Rieger
d82ace5c6f
[reorg] add TODO to RangeRecord.
2 years ago
Garret Rieger
c1e280ea78
[reorg] Move Coverage, RangeRecord into new namespace layout.
2 years ago
Garret Rieger
9c2518988d
[repack] Don't count space isolation against round limit.
...
Restore max rounds to 20 but don't count space isolation against the limit. The number of iterations space isolation can make changes for is already bounded to a reasonable max (the number of lookups in the font) so no need to cap the number of iterations.
2 years ago
Behdad Esfahbod
a2f0723148
[GPOS] Adjust mark attachment on multiple substitution some more
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1545
2 years ago
Behdad Esfahbod
ac216972ab
[subset] Add table size blowup bound
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3091
2 years ago
Behdad Esfahbod
4b3afafb00
[array] Use hb_swap() in reverse()
2 years ago
Behdad Esfahbod
87167acfe3
Merge pull request #3704 from harfbuzz/64k
...
Towards breaking the 64k in GSUB/GPOS
2 years ago
Garret Rieger
a369ab133b
[repacker] Increase max_rounds when called via public api.
2 years ago
Behdad Esfahbod
4ee471922d
More -Wcomma fixes
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3716
2 years ago