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
Behdad Esfahbod
44f0ee346f
Fix docs
7 years ago
Behdad Esfahbod
cdfa801ff4
[aat] Tweak previous commit
7 years ago
Behdad Esfahbod
f7600228a4
[aat] Detect infinite-loops in state machine
7 years ago
Behdad Esfahbod
d514f1480c
[circleci] cat test logs on failure on autotools-based builds
7 years ago
Behdad Esfahbod
1facef3378
[travis] On test failure, cat all .log files
7 years ago
Behdad Esfahbod
cdd86bf3a2
[travis] Update cat'ing test-suite.log files
7 years ago
Behdad Esfahbod
22d8c765e7
Disable C++11
...
To better catch errors locally.
7 years ago
Behdad Esfahbod
dd38db523a
[aat] Fix more builds
...
Maybe I should disable C++11 detection such that my compiler also catches
these. Doesn't look like we can switch to it for a while anyway...
7 years ago
Behdad Esfahbod
72cb2b1f57
[aat] Fix builds
7 years ago
Ting-Wei Lan
e3a15d0c6d
Update _POSIX_C_SOURCE to the latest version
...
Defining _POSIX_C_SOURCE to an old version on FreeBSD can cause C99 to
be disabled in libc.
7 years ago
Behdad Esfahbod
c70d58f97d
[aat] Port RearrangementSubtable to StateTableDriver
7 years ago
Behdad Esfahbod
117cfe7bb7
[aat] Add StateTableDriver and convert ContextualSubtable to it
7 years ago
Behdad Esfahbod
0d39ac224c
[test/text-rendering-tests] Update README
7 years ago
Behdad Esfahbod
17a66f133c
[test] Disable MORX-12
...
Ouch. I need a better workflow for this.
7 years ago
Behdad Esfahbod
1f1c85a54a
[aat] Remove 'mort' support
...
It's dead, Jim!
7 years ago
Behdad Esfahbod
7e2fed6d73
[aat] Allow DontAdvance
...
Apparently CoreText does allow these. To be done: detect infinite
loops.
Fixes MORX-12 test.
7 years ago
Behdad Esfahbod
1387fe8f9c
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
17f01aff91
[aat] Sanitize ContextualSubtable
7 years ago
Behdad Esfahbod
9b82aa19d8
More warning fixes
7 years ago
Behdad Esfahbod
680cbc2eb3
[aat] Sanitize StateTable
7 years ago
Behdad Esfahbod
0e3b3379a0
[aat] Actually fix d887f93148
7 years ago
Behdad Esfahbod
1eb98c9916
[test/text-rendering-tests] Actually disable MORX-11
7 years ago
Behdad Esfahbod
3f291ffd5a
[buffer] Fix compiler warnings
...
line 323: Warning: info hides hb_buffer_t::info
...
7 years ago
Behdad Esfahbod
d887f93148
[aat] Make bots happy
...
Don't know why this is not caught by my compiler. Looks like clang catches it
while gcc doesn't.
In file included from ../src/hb-aat-layout-morx-table.hh:31:
../src/hb-aat-layout-common-private.hh:523:30: error: no member named 'static_size' in 'AAT::ContextualSubtable<AAT::MorxTypes>::EntryData'
DEFINE_SIZE_STATIC (4 + T::static_size);
~~~^
7 years ago
Behdad Esfahbod
f6be730994
[aat] In NoncontextualSubtable, handle MarkLast with end-of-line transition
...
Fixes MORX-11 test.
7 years ago
Behdad Esfahbod
1d20d109a0
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
f9be673814
[aat] Implement ContextualSubtable
...
Tested with Zapfino and text "2nd". Sascha will create tests later.
7 years ago
Behdad Esfahbod
335a9c1fe4
[aat] Towards implementing ContextualSubtable
7 years ago
Behdad Esfahbod
62348f647f
[aat] Implement end-of-text in state machine
...
Passes MORX-10 test now.
7 years ago
Behdad Esfahbod
fc405b7ca7
[test/text-rendering-tests] Update from upstream
7 years ago
Behdad Esfahbod
9adbd938fa
Minor
7 years ago
Ebrahim Byagowi
4177f646aa
[cmake] Update and unbreak ( #700 )
7 years ago
Behdad Esfahbod
94644d7ea4
[aat] Generate finegrained unsafe-to-break in state-machine!
...
Neato.
7 years ago
Behdad Esfahbod
994eb7744c
[buffer] Fix crash
7 years ago
Behdad Esfahbod
d6076747ac
[test/text-rendering-tests] Add DISABLED list
7 years ago
Behdad Esfahbod
de02b5093c
[test/in-house] Add Makefile.sources
7 years ago
Behdad Esfahbod
7c32e01d04
Minor
7 years ago
Behdad Esfahbod
a5adc5aa84
[test/text-rendering-tests] Update from upstream
...
Also adds an update.sh script that does this automatically.
7 years ago