summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-10-15[name] Start implementing hb_ot_name_get_utf16()name-tableBehdad Esfahbod3-4/+32
2018-10-15[name] Implement hb_bytes_t get_name()Behdad Esfahbod1-19/+5
2018-10-15[name] Add hb-ot-name.cc for realzBehdad Esfahbod1-0/+50
2018-10-15[name] Implement hb_ot_name_get_names()Behdad Esfahbod3-4/+4
2018-10-15[name] Finish accelerator sortingBehdad Esfahbod2-11/+53
2018-10-15[name] Start implementing public API infrastructureBehdad Esfahbod4-3/+69
2018-10-15[vector] More of the sameBehdad Esfahbod1-2/+2
2018-10-15[vector] Simplify sortBehdad Esfahbod1-6/+1
Hopefully this fits fine with SFINAE with all our compilers.
2018-10-15[name] Add public API declarationsBehdad Esfahbod1-0/+34
2018-10-15[kerx] Fix Format6 sanitizeBehdad Esfahbod1-10/+11
Fixes https://oss-fuzz.com/v2/testcase-detail/5650286710882304
2018-10-15[CBDT] Fix more offsettingBehdad Esfahbod1-3/+4
Fixes https://oss-fuzz.com/v2/testcase-detail/5750379279548416
2018-10-15[morx] Another end-of-text corner caseBehdad Esfahbod1-0/+2
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10990
2018-10-15[kerx] Merge clusters in LigatureBehdad Esfahbod1-1/+6
2018-10-15[kerx/morx] More end-of-text protectionBehdad Esfahbod1-2/+2
2018-10-15[dump-emoji] minorEbrahim Byagowi1-3/+3
2018-10-15[dump-emoji] better explaination of the usageEbrahim Byagowi1-1/+20
2018-10-15[ot-font] Implement TrueType v_originBehdad Esfahbod3-17/+59
Fixes https://github.com/harfbuzz/harfbuzz/issues/537
2018-10-14[blob] Fix UBSan errorBehdad Esfahbod1-1/+2
2018-10-14[CBDT] Fix more offsetting issuesBehdad Esfahbod1-13/+15
Fixes https://github.com/harfbuzz/harfbuzz/issues/960 dump-emoji still segfaults. Needs debugging.
2018-10-14[CBDT] Fix offset handlingBehdad Esfahbod1-1/+1
Fixes https://github.com/harfbuzz/harfbuzz/issues/960
2018-10-14[CBDT] More UnsizedArrayOf cleanupBehdad Esfahbod1-1/+1
2018-10-14[CBDT] Simplify sanitizeBehdad Esfahbod1-6/+1
2018-10-14[morx] Handle end-of-text conditions in InsertionBehdad Esfahbod1-4/+4
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10955
2018-10-14[buffer] Fix output_glyph at end of bufferBehdad Esfahbod1-1/+4
Part of https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10955
2018-10-14[aat] More protection against buffer failBehdad Esfahbod1-3/+4
2018-10-14[hmtx] WhitespaceBehdad Esfahbod1-1/+1
2018-10-14Ignore signed-integer-overflow while kerningBehdad Esfahbod2-0/+10
Fixes https://github.com/harfbuzz/harfbuzz/issues/1247
2018-10-14[kerx] Fix Format1 sanitizeBehdad Esfahbod1-5/+5
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10948
2018-10-14[aat] WhitespaceBehdad Esfahbod1-2/+3
2018-10-13[aat] Finish off massaging tableBehdad Esfahbod1-82/+81
2018-10-13[aat] WIP remove feature mapping here from hb-coretextBehdad Esfahbod3-188/+117
Need to map enum values to numerics since we don't have CoreText headers.
2018-10-13[coretext] Prepare AAT feature mapping to be movedBehdad Esfahbod1-17/+22
2018-10-13[kerx] Sanitize moreBehdad Esfahbod1-3/+6
2018-10-13[kerx] Fix-up previous commitBehdad Esfahbod1-9/+9
A "&" was missing. Go back to using pointers that are less error-prone.
2018-10-13[kerx] Use sanitizer instead of handcoded runtime sanitizationBehdad Esfahbod1-15/+9
2018-10-13[kerx] Wire up context down to get_kerningBehdad Esfahbod1-18/+14
2018-10-13[kerx] Use sanitizer.get_num_glyphs() instead of face->get_num_glyphs()Behdad Esfahbod1-4/+4
2018-10-13[kerx] Protext against overflowsBehdad Esfahbod1-3/+5
2018-10-13[hangul] Fix use-after-free issueBehdad Esfahbod1-7/+9
out_info might have moved since we copied it's position into local info var. Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=894937
2018-10-13Cosmetic and minor changesEbrahim Byagowi9-106/+93
2018-10-12Touch up new APIBehdad Esfahbod3-15/+19
New API: +hb_ot_layout_feature_get_name_ids() +hb_ot_layout_feature_get_characters()
2018-10-12Add hb-ot-name.hBehdad Esfahbod5-11/+59
Actual name-fetching API to come later. New API: hb_name_id_t HB_NAME_ID_INVALID
2018-10-12Add two APIs for getting stylistic set labelsEbrahim Byagowi8-0/+277
* hb_ot_layout_feature_get_characters * hb_ot_layout_feature_get_name_ids However HarfBuzz currently doesn't expose an API for retrieving the actual information associated with NameId from the `name` table and that should be done separately.
2018-10-12[sanitize] Reorder condition to silence bogus gcc warningBehdad Esfahbod1-3/+3
Was givin a dozen of: ../../src/hb-machinery.hh: In member function ‘bool AAT::ankr::sanitize(hb_sanitize_context_t*) const’: ../../src/hb-machinery.hh:307:23: warning: missed loop optimization, the loop counter may overflow [-Wunsafe-loop-optimizations] bool ok = --this->max_ops > 0 && ~~~~~~~~~~~~~~~~~~~~~~ this->start <= p && ~~~~~~~~~~~~~~~~~~~ p <= this->end && ~~~~~~~~~~~~~~~^~ (unsigned int) (this->end - p) >= len; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I believe those are bogus, but this silences them and does not introduce logic issues I believe.
2018-10-12Add HB_DEPRECATED_FOR and mark relevant symbolsBehdad Esfahbod3-6/+14
2018-10-12[graphite] Add HB_DEPRECATED annotationBehdad Esfahbod1-1/+1
2018-10-12Always compile deprecated symbolsBehdad Esfahbod1-4/+0
We haven't been keeping this updated. So, while we don't expose the symbols in the headers if HB_DISABLE_DEPRECATED is defined, we still always build them.
2018-10-11Add missing colons to GObject annotationsDavid Corbett1-2/+2
2018-10-11Fix Indic script tags in GraphiteDavid Corbett1-2/+2
2018-10-11Attach CursivePositioning backwards, not forwardBehdad Esfahbod3-10/+11
This is how Uniscribe does it. So, adjust. This is only relevant to fonts that apply cursive positioning from a contextual lookup. Fixes https://github.com/harfbuzz/harfbuzz/issues/1181