Ebrahim Byagowi
2dbdeb1421
[cmake] Run fuzzing and shaping tests ( #666 )
7 years ago
Ebrahim Byagowi
24b30faa2a
[cmake] Use GNUInstallDirs values ( #665 )
7 years ago
Behdad Esfahbod
7d397c5d5c
Add Coverity badge
7 years ago
Ebrahim Byagowi
50163976d2
[cmake] Enable cmake tests on distribution and test it ( #664 )
7 years ago
David Corbett
7bfdf1a941
Forbid Batak killers after vowel signs
7 years ago
Ebrahim Byagowi
9890782736
[ci] Add -Wno-attributes to djgpp, add alpine, format ( #663 )
7 years ago
Behdad Esfahbod
72ecaae0ad
[use] Allow ZWJ before/after Halant
...
https://github.com/harfbuzz/harfbuzz/issues/542#issuecomment-353169729
7 years ago
Behdad Esfahbod
bc92245b68
Minor
7 years ago
Ebrahim Byagowi
81dfc29d2d
[ci] Add a DOS/djgpp compiler ( #659 )
7 years ago
Behdad Esfahbod
007a2a4317
1.7.4
7 years ago
Volker H. Simonis
a9432bde7e
HarfBuzz 1.7.1 and later don't compile on AIX with xlC ( #655 )
7 years ago
Behdad Esfahbod
2fe5f885b6
[set] Handle nil set in add_range() / add_sorted_array()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/657
7 years ago
Behdad Esfahbod
b5bbb791d3
1.7.3
7 years ago
Behdad Esfahbod
1245395a60
[coretext] In hb_coretext_font_create() set ptem
...
Otherwise setting the CTFont was ineffective as it would have been
recreated anyway unless font size was set to 18 CSS points.
7 years ago
Behdad Esfahbod
493a005d95
[set] In add_sorted_array(), bail if data is not sorted
7 years ago
Behdad Esfahbod
a7bd6d7a4c
[collect_glyphs] Bail if input data looks like garbage
...
Specificaly, when a range or sorted array has unexpected order, we take that as
font data being garbage and bail out. This fixes significant slowdown on a bad
version of Chandas font which has a 600KB GPOS with garbage inside.
Later on, I like to add a maximum-work counter for collect_glyphs to protect
against malicious fonts as well.
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=794896
7 years ago
Behdad Esfahbod
1ce7d6e215
[set] Optimize add_array() / add_sorted_array()
...
Does page lookup as needed.
7 years ago
Behdad Esfahbod
71e6adf1e2
[collect_glyphs] handle ClassDef better
7 years ago
Behdad Esfahbod
87cc5a65cb
[collect_glyphs] In PairPosFornat2 do not collect classDef1
...
The coverage already covered that.
7 years ago
Behdad Esfahbod
81f27df4d9
More work towards improving collect_glyphs() against bad input
...
The three "XXXXX"'s should be switched to false. Doing that separately for ease
of bisecting...
7 years ago
Behdad Esfahbod
5d02572034
[set] Add add_sorted_array()
...
Not optimized to use sortedness yet. Also start putting in place infra
to faster reject bad data.
A version of Chandas.ttf found on some Chrome bots has 660kb of GPOS,
mostly junk. That is causing 48 million of set->add() calls in
collect_glyphs(), which is insane.
In the upcoming commits, I'll be speeding that up by optimizing
add_sorted_array(), while also reducing work by rejecting out-of-sort
arrays quickly and propagate the rejection.
Part of https://bugs.chromium.org/p/chromium/issues/detail?id=794896
7 years ago
Behdad Esfahbod
9d6511a734
[set] Reduce number of preallocated pages from 8 to 1
...
Now that pagesize is 8192, this feels better.
7 years ago
Behdad Esfahbod
ae2e2b068e
Fix partial tracing debug builds
7 years ago
Behdad Esfahbod
9daa88cd79
Minor
7 years ago
Behdad Esfahbod
f424a34223
[set] Change pagesize from 512 bits to 8192 bits
...
Fixes perf regression on some heavy fonts in Chrome's FT+HB
interaction.
See:
https://bugs.chromium.org/p/chromium/issues/detail?id=782220
More work to be done:
https://bugs.chromium.org/p/chromium/issues/detail?id=794896
7 years ago
Behdad Esfahbod
0fe62c1f33
[set] Add add_array()
...
To be used to optimize adding a whole bunch of (sorted) items at the same time,
as in CoverageFormat1.
7 years ago
ebraminio
20e69c950d
[test] print commented line, like the original script ( #649 )
7 years ago
ebraminio
71ad2777c5
[ci] Add an after distribution test runner ( #648 )
7 years ago
ebraminio
5f061d27d5
Rewrite run-tests in python ( #647 )
7 years ago
Khaled Hosny
3ce6c7bd96
[ci] Sort out Travis configuration
...
Use a matrix to avoid a gazillion if's.
7 years ago
ebraminio
5a6d2b986a
[ci] minor improvements ( #644 )
7 years ago
Khaled Hosny
840a32e3f3
Run cmake tests on CI builds
7 years ago
Khaled Hosny
c860955148
Add API tests to cmake build
7 years ago
Khaled Hosny
f19126dd35
We are already inside “if HAVE_GLIB” check
7 years ago
ebraminio
7af48a3f37
[ci] Don't cache msys2 folder
7 years ago
ebraminio
b6f505c716
[ci] Enable glib and freetype on appveyor cmake ( #643 )
7 years ago
Behdad Esfahbod
03b7a221f7
[debug] Use %p to print pointers
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/640
7 years ago
Ebrahim Byagowi
353cc6fbf0
[ci] Fix appveyor badge
7 years ago
Nathan Willis
0dc03ef757
Indic: always hyphenate pre-base-reordering, for clarity.
7 years ago
Behdad Esfahbod
be59f3cbf4
Silence unused-variables warning on MSVC
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/635
7 years ago
David Corbett
80c1b01f05
Allow digits in language system tags
7 years ago
David Corbett
85bb89a88b
Fix string matching in parse_bool
7 years ago
Olivier Blin
0fd89dc61c
[hb-ft] Fix build when Multiple Master font support is disabled in freetype
...
FT_Set_Var_Blend_Coordinates() is not available when "Multiple Master
font interface" is disabled in freetype's modules.cfg
7 years ago
Behdad Esfahbod
843f7f7035
1.7.2
7 years ago
Behdad Esfahbod
eeb26d21d4
[set] Actually commit fixes mentioned in previous commit!
7 years ago
Behdad Esfahbod
20b4672754
[set] Fix recent changes
...
Ouch!
Add tests.
7 years ago
Behdad Esfahbod
0744149cda
[set] Protect against bad input in hb_set_add_range()
7 years ago
Behdad Esfahbod
d5e29303db
[coretext] Add hb_coretext_font_create()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/628
New API:
hb_coretext_font_create()
7 years ago
Behdad Esfahbod
9d0194b3a8
[set] Optimize add_range() some more
...
It's as good as it gets, and seems to be on par with previous set implementation
in my benchmark.
Would be great if someone can double-check my bitops.
7 years ago
Behdad Esfahbod
438c325a25
[set] Optimize add_range()
...
With new set implementation, this became really costy. Optimize it.
There's more to be done, but this shaves off most of the fat.
Part of fixing https://bugs.chromium.org/p/chromium/issues/detail?id=782220
7 years ago