Behdad Esfahbod
e5c7ee9f75
[set] Fix undefined-behavior shift in _previous()
...
harfbuzz/src/hb-set.hh:138:43: runtime error: shift exponent 64 is too large for 64-bit type 'hb_set_t::page_t::elt_t' (aka 'unsigned long long')
5 years ago
Behdad Esfahbod
5fddc5f169
Use foreach_cluster
5 years ago
Behdad Esfahbod
e4a101ed38
[ft] Fix for HB_NO_VAR build
5 years ago
David Corbett
76c27462c2
Don’t modify a ccc to 6
...
ccc=6 will be used in Unicode 13.0.
5 years ago
Michiharu Ariza
8fdafee2a6
undef HB_STRING_ARRAY_LENG_NAME
5 years ago
blueshade7
5e9863f3c6
ARRAY_LENGTH fails with -Wglobal-constructors
5 years ago
blueshade7
a75983690d
calculate hb_string_array length automatically
5 years ago
Khaled Hosny
57da16bc59
[cff] Check rcurveline and rlinecurve arguments
...
Make sure the number of arguments is not too many or too few, otherwise
skip the command.
5 years ago
Khaled Hosny
9f1524ce83
[cff] Fix a typo in processing rlinecurve
...
We want to process all pairs of arguments except the last 6 as lines, so
should have been subtracting 6 here, otherwise if the number of
arguments happens to be multiples of 6 they will be all treated as
curves.
See https://github.com/harfbuzz/harfbuzz/pull/2016#issuecomment-554640098
5 years ago
Behdad Esfahbod
78d5eca813
[set] Fix range-based-loop condition
...
Alternative to https://github.com/harfbuzz/harfbuzz/pull/2046
5 years ago
Hal Canary
4dae7cee4b
[minor] Fix common typos: substition, the the.
...
s/substition/substitution/
s/the the/the/
5 years ago
David Corbett
e6351d9b2c
Add ms-use/IndicShapingInvalidCluster.txt
5 years ago
David Corbett
b372c3e956
Insert a dotted circle within <U+0B85, U+0BC2>
5 years ago
Ebrahim Byagowi
64a45be519
[ubsan] Don't decrease pointer if match_glyph_data is null ( #2048 )
...
Similar to fix on https://github.com/harfbuzz/harfbuzz/pull/2022
Fixes https://crbug.com/1023070
5 years ago
Don
878e3588a3
[cmake] Add harfbuzz-icu library
5 years ago
Ebrahim Byagowi
84b86a12d9
[fuzz] Remove just added case
...
It didn't fail locally but on bots causing timeout, let remove for now.
5 years ago
Ebrahim Byagowi
a8f049c9a1
[fuzz] Upload testcase of https://crbug.com/oss-fuzz/18529
...
Apparently false alarm per last comment and was ok locally also but lets have it here also
5 years ago
Ebrahim Byagowi
7cde68f10c
[ci] install pip in fedora bot
5 years ago
Ebrahim Byagowi
46178c0325
[ci] fix fedora bot
5 years ago
Ebrahim Byagowi
486754a888
[serialize] Extract iterable copy, copy_all
5 years ago
Behdad Esfahbod
35218c488c
Minor
...
Allow empty HB_VAR_ARRAY definition. Though, doesn't compile with any
compiler I know of.
5 years ago
Behdad Esfahbod
1a1d64bc6f
If applying morx, apply kern table even if GPOS is present and has kern
...
Since we won't be applying GPOS if morx...
To be adjusted as I receive more information from Ned. But for now
fixes this:
$ ./hb-shape GillSans.ttc Ty
[T=0+1109|y=1@-128,0+769]
Fixes https://github.com/harfbuzz/harfbuzz/issues/1982 for now.
5 years ago
Behdad Esfahbod
3a74ee5282
2.6.4
5 years ago
Ebrahim Byagowi
3958f6fb23
Add in_range in hb_bytes_t to merge range_checker_t with it
5 years ago
Ebrahim Byagowi
7915c5d6fa
[ci] Check the recipt introduce in 7152ac3
5 years ago
Ebrahim Byagowi
aa3831e295
[glyf] Use contour_bounds_t::empty to simplify get_extents logic
5 years ago
Ebrahim Byagowi
d59ae5836d
[glyf] Refactor contour_bounds_t use to make its fields protected
5 years ago
Behdad Esfahbod
773ee8041e
Merge pull request #2038 from ebraminio/glyf-contour
...
Remove contour_point_t so we won't need to zero its unused var
5 years ago
Ebrahim Byagowi
0efbda7a40
Remove contour_point_t so we won't need to zero its unused var
5 years ago
Behdad Esfahbod
47b4074d5f
Merge pull request #2034 from khaledhosny/cmap-notdef
...
[cmap] Check GID before adding ranges in format 4 & 12
5 years ago
jfkthame
dd8a846037
Use proper y-scale factor for height value
5 years ago
Behdad Esfahbod
7152ac3fcf
Fix build
...
$ make CPPFLAGS="-DHB_TINY -DHB_NO_OT_FONT" libharfbuzz-subset.la
5 years ago
Khaled Hosny
dd288840d6
[cmap] Check GID before adding ranges in format 4 & 12
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2031
5 years ago
Behdad Esfahbod
fd71c045b4
Hopefully fix up previous commit and bots
5 years ago
Behdad Esfahbod
e832dc4c64
[config] Make HB_NO_ERRNO work with systems defining errno as a macro
5 years ago
Behdad Esfahbod
ce11df1b5b
2.6.3
5 years ago
Behdad Esfahbod
5a59de2b98
Actually add +hb_font_get_nominal_glyphs()
...
New API:
+hb_font_get_nominal_glyphs()
5 years ago
Behdad Esfahbod
03028a5fe5
Revert "Don't include codepoint 0 in the results of collect_unicodes."
...
This reverts commit 14ad96ffbf
.
This was wrong. My bad!
https://github.com/harfbuzz/harfbuzz/issues/2031
5 years ago
Behdad Esfahbod
2714dc31b8
Merge pull request #2032 from googlefonts/collect_unicodes
...
Don't include codepoint 0 in the results of collect_unicodes.
5 years ago
Garret Rieger
14ad96ffbf
Don't include codepoint 0 in the results of collect_unicodes.
...
It is always assumed to be the notdef glyph.
5 years ago
Ebrahim Byagowi
aca6390281
[gpos] Don't move pointer when match_glyph_data is not set
5 years ago
Qunxin Liu
defe9b6da0
crash fix : Heap-buffer-overflow READ 2
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18513
5 years ago
Qunxin Liu
b2fcca6e14
fuzzer crash fix
...
https://oss-fuzz.com/testcase-detail/5643107869917184
5 years ago
Ebrahim Byagowi
9815ca0338
[ci] Use custom subset fuzzer timeout for failing sanitizer bots
5 years ago
Ebrahim Byagowi
b03b62cb30
[ci] Add HB_NO_MT on non HB_TINY no-build-system builds
5 years ago
Behdad Esfahbod
5e489670e1
Remove hb-warning.cc
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/2005
5 years ago
Garret Rieger
05bcdb39d8
Add a specialization of array_t:hash for hb_bytes_t and hb_ubytes_t.
5 years ago
Garret Rieger
95ab110cd9
Optimize intersects_array to fix fuzzer timeout.
5 years ago
Garret Rieger
be5cdcdfa2
Store the hash value of a key in item_t in hb_map to reduce the number of hash computations.
5 years ago
Qunxin Liu
b33a0d628e
fuzzer crash fix: Null-dereference WRITE
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18363
5 years ago