summaryrefslogtreecommitdiff
path: root/src/hb-aat-layout-common.hh
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14[ot-shape] Move code aroundBehdad Esfahbod1-2/+2
2018-11-12Rename check_array(array, a, b) to check_range()Behdad Esfahbod1-2/+6
2018-11-08[aat] Support Lookup<OffsetTo<>>, needed by just and lcar (#1368)Ebrahim Byagowi1-0/+57
2018-11-07[kern] Implement negative state numbersBehdad Esfahbod1-24/+66
Let the fuzzing bots rip this code apart...
2018-11-07[aat] Add debug info to state machineBehdad Esfahbod1-0/+3
2018-11-07[aat] MinorBehdad Esfahbod1-6/+10
2018-11-07[morx/kerx] Rename typesBehdad Esfahbod1-2/+2
2018-11-06[kern] Improve Format 2Behdad Esfahbod1-11/+9
Still disabled.
2018-11-06MinorBehdad Esfahbod1-1/+1
2018-11-04[aat] Clean up ankr table include messBehdad Esfahbod1-22/+9
2018-11-04Clean up buffer->swap_buffers() callsBehdad Esfahbod1-2/+1
That function checks for buffer->successful already. No need to check at call site.
2018-10-31[mort] Massage some moreBehdad Esfahbod1-0/+28
2018-10-30[mort] More fixes]Behdad Esfahbod1-3/+2
2018-10-30[mort] Grind some moreBehdad Esfahbod1-5/+12
2018-10-30[mort] Make it compile / hook it upBehdad Esfahbod1-6/+5
Untested.
2018-10-30[mort] Bring back mort generalizationsEbrahim Byagowi1-11/+65
Started by reverting https://github.com/harfbuzz/harfbuzz/commit/1f1c85a5 Just a starting point, if we agree even mort can come back.
2018-10-26Fix bunch of unused parameter warningsBehdad Esfahbod1-2/+5
Show up with gcc -O0. There's a few more but those are functions that need to be filled in. Maybe this is a lost battle...
2018-10-25[aat] MinorBehdad Esfahbod1-3/+1
2018-10-25[aat] Start adding support for DELETED-GLYPHBehdad Esfahbod1-0/+2
https://github.com/harfbuzz/harfbuzz/issues/1302
2018-10-20[aat] Fix LookupFormat10 sanitizeBehdad Esfahbod1-1/+1
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11060
2018-10-19[aat] Implement LookupFormat10Behdad Esfahbod1-3/+52
2018-10-17Kick botsBehdad Esfahbod1-2/+2
2018-10-17[aat] Fix sanitize slowdownBehdad Esfahbod1-0/+4
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11034
2018-10-17[aat] Another try at fixing Lookup null objects...Behdad Esfahbod1-3/+20
Ugly as hell, and don't even understand why some bits are needed. But the logic is sound.
2018-10-16[aat] CommentBehdad Esfahbod1-1/+2
2018-10-16[aat] Make sure Lookup offset is never nulledBehdad Esfahbod1-1/+2
It has unbounded size... Fixes https://oss-fuzz.com/v2/testcase-detail/5718889451749376
2018-10-14[aat] More protection against buffer failBehdad Esfahbod1-3/+4
2018-10-14[aat] WhitespaceBehdad Esfahbod1-2/+3
2018-10-11[aat] Fix two wrongs that made a right before!Behdad Esfahbod1-2/+2
Unfortunately our static asserts (DEFINE_SIZE_STATIC) don't actually fail when used in templates, thanks to SFINAE. Le sighs. Probably fixes https://oss-fuzz.com/v2/testcase-detail/5740171484463104
2018-10-11[aat] Fix mul overflowBehdad Esfahbod1-3/+8
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10897
2018-10-11[trak] Fix, and hook upBehdad Esfahbod1-2/+2
Works beautifully! Test coming.
2018-10-11[kerx] Implement Format4 'ankr'-based mark attachmentBehdad Esfahbod1-2/+6
Tested with Kannada MN: $ HB_OPTIONS=aat ./hb-shape Kannada\ MN.ttc -u 0CCD,0C95,0CD6 [kn_ka.vattu=0+230|kn_ai_length_mark=1@326,0+607]
2018-10-11[aat] Wire up 'ankr' table to apply contextBehdad Esfahbod1-2/+5
2018-10-10[kerx] Actually hook up, and fix crashBehdad Esfahbod1-0/+6
2018-10-09[aat] Fixup recent commitBehdad Esfahbod1-1/+1
For 329f2401082011007d9ce12b15ce0225cd267c57 max_ops is signed.
2018-10-09[aat] Set embedded sanitizer max ops really highBehdad Esfahbod1-0/+1
Since we consume it legitimately during shaping.
2018-10-09[kerx] Implement Format0 apply()Behdad Esfahbod1-2/+4
Not hooked up to be called yet.
2018-10-07Move codeBehdad Esfahbod1-105/+0
2018-10-07[aat] RenameBehdad Esfahbod1-6/+6
2018-10-06[morx] Fix memory access issues with unsafe_to_breakBehdad Esfahbod1-3/+5
2018-10-05[morx] Fix memory access issueBehdad Esfahbod1-3/+1
If buffer was enlarged, info was being outdated. Fixes https://github.com/harfbuzz/harfbuzz/issues/1225
2018-10-01[morx] Break out if buffer gets into errorBehdad Esfahbod1-0/+2
Was getting stuck not making progress somehow.
2018-09-19[aat] MinorBehdad Esfahbod1-1/+2
2018-09-15Disallow null-enabled offsets to unsized structures...Behdad Esfahbod1-4/+4
...like UnsizedArrayOf<>. This fixes a class of crasher bugs, mostly with color and AAT tables. We cannot use nullable offsets to varsized data that does not declare min_size, because it's nost safe to use our fixed-size null pool for types that have their size external. So, use non_null'able offsets for these. A further enhancement would be to make use of min_size in Null<> itself. Will try that after.
2018-09-14Fix buildsBehdad Esfahbod1-1/+1
2018-09-14[aat] Add enums for pre-defined state and classesBehdad Esfahbod1-3/+16
Not sure how I didn't add before...
2018-09-11Port rest from VAR to UnsizedArrayOf<>Behdad Esfahbod1-7/+7
2018-09-10Simplify sanitize->check_array()Behdad Esfahbod1-6/+4
Fix a bug in CBDT sanitize, and redundant check in avar.
2018-08-25Rename hb-*private.hh to hb-*.hhBehdad Esfahbod1-0/+644
Sorry for the noise, downstream custom builders. Please adjust.