Garret Rieger
f9f0969cb6
[subset] switch to hb_memcpy.
2 years ago
Garret Rieger
1e34852f07
[subset] Fix undefined behaviour.
...
Don't memcpy if there's nothing to copy.
2 years ago
Garret Rieger
311413f16b
[subset] Fix fuzzer issue.
...
Fixes https://oss-fuzz.com/testcase-detail/5693568490012672 . new_index should be set from new_index2 when the entry is present in the map.
2 years ago
Matthias Clasen
4ba7980b8e
Fix the generated gobject headers
...
These headers are not acceptable to modern compilers.
gcc says things like:
/usr/include/harfbuzz/hb-gobject-enums.h💯 1: warning:
function declaration isn’t a prototype [-Wstrict-prototypes]
100 | hb_gobject_ot_metrics_tag_get_type () G_GNUC_CONST;
2 years ago
Ali Chraghi
79bb3b5278
[docs] fix typo
2 years ago
Behdad Esfahbod
b5bdb9f955
Merge pull request #3648 from harfbuzz/indic-cleanup
...
Indic cleanup
2 years ago
Behdad Esfahbod
98116e5cf5
[myanmar] Fix comments on categories
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894955430
2 years ago
Behdad Esfahbod
02016914b3
[indic-generator] Remove unnecessary Myanmar category=D overrides
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894685106
2 years ago
Behdad Esfahbod
937c878078
[indic-generator] Remove unnecessary override for Myanmar U+1039
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894762535
2 years ago
Behdad Esfahbod
9504037ccb
[indic-generator] Remove three unneeded Myanmar overrides U+AA74-6
...
These three characters have Indic_Syllabic_Category=Consonant_Placeholder. The
original evidence that prompted these overrides says they can take tone marks.
They are not subjoined: Khamti Shan apparently does not use subjoined
characters at all. Therefore, PLACEHOLDER is good enough and these need not be
overridden to C.
https://www.unicode.org/L2/L2008/08276-khamti-proposal.pdf
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894640713
2 years ago
Behdad Esfahbod
02eb6606d7
[indic-generator] Remove redundant PLACEHODER characters overrides
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894631922
2 years ago
Behdad Esfahbod
e16669ceac
[indic-generator] Remove redundant override of U+2010 / U+2011
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894630596
2 years ago
Behdad Esfahbod
bb255cd9a6
[indic-generator] Remove redundant override of U+0980
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894627064
2 years ago
Behdad Esfahbod
30d8c87d01
[myanmar] Document Medials
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894532676
2 years ago
Behdad Esfahbod
e1826c3714
[khmer] Reuse OT_H for OT_Coeng
...
https://github.com/harfbuzz/harfbuzz/pull/3648#discussion_r894517417
2 years ago
Behdad Esfahbod
eb2f2e318a
[indic-generator] Update comment re U+104E
...
https://github.com/harfbuzz/harfbuzz/pull/3648#pullrequestreview-1002150048
2 years ago
Behdad Esfahbod
0daafefdd1
Merge branch 'main' into indic-cleanup
2 years ago
Behdad Esfahbod
148283d0e0
[syllabic] Use a buffer scratch-flag for has-broken-syllable
2 years ago
Behdad Esfahbod
6997d10bc0
[arabic] Remove a couple TODO items
2 years ago
Behdad Esfahbod
e1575f2347
[iter] Remove a few TODO items
2 years ago
Behdad Esfahbod
689c77530a
[buffer] Actually remove TODO item
...
In reality, one side is smaller and one side is larger. The existing code
handles that just fine.
2 years ago
Behdad Esfahbod
d09e962b9f
[buffer] Update a TODO item
2 years ago
Behdad Esfahbod
b3f689e7e5
[serializer] Remove TODO that's not gonna happen
2 years ago
Behdad Esfahbod
10a8cc28fc
[normalizer] Remove a TODO that's not going to happen
2 years ago
Behdad Esfahbod
7635568f29
[font] Remove a TODO item that's not gonna happen
2 years ago
Behdad Esfahbod
bd453de757
[unicode] Accept a couple hacks as permanent
2 years ago
Behdad Esfahbod
39c132a62d
[indic/myanmar] Simplify compare functions
2 years ago
Behdad Esfahbod
a5bcd8567f
[indic] Update comment re category listing
2 years ago
Behdad Esfahbod
10a5485136
[indic/myanmar] Move is_consonant to .cc files
2 years ago
Behdad Esfahbod
1c657460ef
[indic] Expand MEDIAL_FLAGS
2 years ago
Behdad Esfahbod
9e3917f6d6
[indic] Move a couple of functions to .cc file
2 years ago
Behdad Esfahbod
165ef55e57
[indic-generator] Move INDIC_COMBINE_CATEGORIES here
2 years ago
Behdad Esfahbod
b030dd9e88
[indic-table] Minor rename
2 years ago
Behdad Esfahbod
d414fb3328
[indic/khmer/myanmar] Add static_assert that categories match OT_*
2 years ago
Behdad Esfahbod
15ea4ccb04
[indic-like] Add note about replicated values
2 years ago
Behdad Esfahbod
3289e81532
[indic] Use categories from the machine
2 years ago
Behdad Esfahbod
37217fc9be
[indic-generator/myanmar] Move most Myanmar category overrides to generator
2 years ago
Behdad Esfahbod
c136227f57
[indic-generator/khmer] Move Khmer overrides to generator
2 years ago
Behdad Esfahbod
40aa4e8320
[indic/khmer/myanmar] Add Khmer/Myanmar categories to indic_category_t
2 years ago
Behdad Esfahbod
25793075e2
[indic-generator] Move Khmer/Myanmar vowel categories to the generator
2 years ago
Behdad Esfahbod
a6c82d4b8c
[myanmar] Simplify to not use position info from the indic table for shaping
2 years ago
Behdad Esfahbod
10cd8ac0e5
[indic-generator] Move matra category overrides to generator
2 years ago
Behdad Esfahbod
c4e4f1d387
[indic-generator] Move SMVD position overrides to generator
2 years ago
Behdad Esfahbod
2963154c15
[indic-generator] Add a couple comments
2 years ago
Behdad Esfahbod
91d6f45bc9
[indic-generator] Move some position overrides to the generator
2 years ago
Behdad Esfahbod
0ec4dcb93d
[indic-generator] Ouch
...
Not sure how this was passing tests still.
2 years ago
Behdad Esfahbod
f0269e0f1b
[indic-generator] Move Ra handling to the generator
2 years ago
Behdad Esfahbod
419d2146c2
[indic-generator] Cap off what categories have positions
...
This was left off of the commit moving Indic categories to the generator.
It didn't fail any tests, but adding it back because it has implications
possibly.
2 years ago
Behdad Esfahbod
e1d965d527
[indic-generator] Move position mapping to generator
2 years ago
Behdad Esfahbod
4907514026
[indic-generator] Move category overrides to generator
2 years ago