David Corbett
ccb0367dae
Let VS1 follow U+1031 MYANMAR VOWEL SIGN E
7 years ago
punchcutter
c6dbf6e77c
Allow optional ZWJ in virama terminated cluster
7 years ago
Bruce Mitchener
dae20fb5a7
Use nullptr instead of 0.
7 years ago
Bruce Mitchener
90218fa93c
Fix typos.
7 years ago
Bruce Mitchener
148ca61075
[ot-layout] Fix nullptr dereference.
...
If the `calloc` for `gsub_accels` or `gpos_accels` fails, then the
unlikely branch afterwards can be taken, which frees up the
`hb_ot_layout_t`, but since those fields can now be `nullptr`, then
we don't want to dereference them.
7 years ago
Bruce Mitchener
0c66043a92
[coretext] Fix memory leaks.
...
In `reference_table`, if the data is empty and we return early,
we still need to release the data object.
In `hb_coretext_shape`, there two edge cases where an early
return should release the attributed string.
7 years ago
Behdad Esfahbod
f0b700db39
1.7.5
7 years ago
Behdad Esfahbod
585b576098
Fix distcheck
7 years ago
Behdad Esfahbod
e89df6e1ae
[aat] Limit number of DontAdvance transitions
...
Remove the faulty loop-detection logic. Use max-ops for breaking
out of infinite loops or heavy work.
https://twitter.com/behdadesfahbod/status/958065026262183936
7 years ago
Behdad Esfahbod
e00743b47d
[test/text-rendering-tests] Update from upstream
7 years ago
Ebrahim Byagowi
29d901286e
[cmake] Build src/ executables ( #733 )
7 years ago
Ebrahim Byagowi
55cae0d72e
[test] Use 'otool -L' where ldd doesn't exist (macOS) ( #732 )
7 years ago
David Corbett
2ec7dd1f6c
Fix Travis build on macOS ( #731 )
7 years ago
Behdad Esfahbod
12757b6929
Misc warning fixes
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/712
7 years ago
bungeman
85be365ed9
Use KernSubTableFormat2::rightClassTable
...
Issue originally reported at http://cppfiles.com/chromium.txt .
This fixes what appears to be a copy - paste issue which causes both
KernSubTableFormat2::rightClassTable and the 'right' argument to
KernSubTableFormat2::get_kerning to go unused.
7 years ago
Ebrahim Byagowi
c41b7fc105
[cmake] Use -fvisibility-inlines-hidden instead ( #726 )
7 years ago
Ebrahim Byagowi
3d61576606
[cmake] fix symbol exporting issue on newer gcc ( #724 )
7 years ago
Ebrahim Byagowi
8b60e7c2c3
[ci] minor, less hacks ( #722 )
7 years ago
Ebrahim Byagowi
aaf934de3b
[ci] minor ( #721 )
7 years ago
Ebrahim Byagowi
bd752db733
[ci] unbreak bots with outdated freetype version ( #718 )
7 years ago
Bruce Mitchener
19a93fcf19
Fix typos.
7 years ago
Behdad Esfahbod
51ce3828e6
[aat] Fix Ligature matching
...
I hope... Makes "ffi" work with Zapfino. I'm not sure if doing it correctly though...
7 years ago
Behdad Esfahbod
bef509855c
[aat] Add TODO
7 years ago
Behdad Esfahbod
e6f283ed7d
[aat] Implement LigatureSubtable
...
We form the Zapfino ligature now. Yay! No further testing done.
7 years ago
Behdad Esfahbod
f07ce661a2
[aat] Embed a sanitizer context in hb_aat_apply_context_t
...
For run-time checking.
7 years ago
Behdad Esfahbod
046690a4df
[aat] Add hb_aat_apply_context_t
7 years ago
Behdad Esfahbod
fd03449094
Rename hb_apply_context_t to hb_ot_apply_context_t
7 years ago
Behdad Esfahbod
94b49beee9
Whitespace
7 years ago
Ebrahim Byagowi
e849b8a85b
[cmake] Always put test/api/CMakeLists.txt on distributions
7 years ago
Cosimo Lupo
c8f2a4f5b9
hb-common.cc: Hatran script is right-to-left ( #714 )
...
"Hatran is written from right to left horizontally"
http://www.unicode.org/L2/L2012/12312-n4324-hatran.pdf
This ancient script was added with Unicode 8.0.
Also this spreadsheet (referenced in an inline comment in the
source code) has it as RTL: http://goo.gl/x9ilM
7 years ago
Ebrahim Byagowi
00806149b9
Improve avoiding C++ linkage, definition creation and cmake tests ( #710 )
7 years ago
David Corbett
9b693212a8
Update record-test.sh to the new directory layout ( #716 )
7 years ago
Behdad Esfahbod
461a605fde
[aat] Allocate set dynamically
7 years ago
Behdad Esfahbod
4c4a9fc861
Typo
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/711
7 years ago
Ebrahim Byagowi
90f01bad63
[cmake] don't link to libstdc++ ( #707 )
7 years ago
rdb
5e14e5f65d
[cmake] Fix for CMake 3.0 and below ( #706 )
7 years ago
Ebrahim Byagowi
c97a7eca7f
[cmake] Fix symbols visibility and enable check-symbols.sh test ( #705 )
7 years ago
Behdad Esfahbod
60f84ef014
Disable MORX-13/14
...
Really, need better way to catch these :(.
7 years ago
Behdad Esfahbod
949f6af289
Disallow sanitize recursing into Extension subtables multiple times
...
Fixes https://oss-fuzz.com/v2/testcase-detail/5216838347653120
which is a stack overflow, not by way of infinite recursion, just
being deep. That's disallowed anyway, so catch it as it happens,
not afterwards.
7 years ago
Behdad Esfahbod
bcb6f1ae0a
Whitespace
7 years ago
Behdad Esfahbod
12fffce10e
[aat] Sanitize classTable in StateTable
7 years ago
Behdad Esfahbod
e6263c7142
[aat] Wire up table length to apply()
7 years ago
Behdad Esfahbod
679ae744d0
[aat] Towards implementing LigatureSubtable
7 years ago
Behdad Esfahbod
c9e12a2b9b
Fix set initializer
7 years ago
Behdad Esfahbod
54a1e250a8
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
9009b341c4
[aat] Fix some struct sizes
...
I hate it that with my compiler at least, it doesn't catch totally uncompilable
statements in templates if they are not used...
7 years ago
Behdad Esfahbod
57051b4f67
[aat] Flush rest of buffer if state machine failed
7 years ago
Behdad Esfahbod
369dfab0f8
Minor
7 years ago
Behdad Esfahbod
25364c4f00
[aat] Fix symbol visibility
...
Not sure why only one of the bots sees this as visible...
7 years ago
Behdad Esfahbod
ee16b9d8d3
Revert accidental morx enablement
7 years ago