Behdad Esfahbod
27a8fe7d58
[layout] Only update buffer digest if buffer changed by a pause
2 years ago
Behdad Esfahbod
c2712ff4f5
Reorder hb_ot_shaper_t members to save 8 bytes of data per shaper
2 years ago
Behdad Esfahbod
015aecfcdd
[use-table] Port to using packtab
...
Saves around 9kb.
2 years ago
David Corbett
6059828769
[use] Reintroduce the HVM class for U+0DCA
2 years ago
Behdad Esfahbod
15543f70e0
[indic-like] Move allocation of syllable() buffer var to shapers that use it
...
In indic, we don't have a pause location release the var.
2 years ago
Behdad Esfahbod
5bfb0b721c
Rename s/shape-complex/shaper/g
2 years ago
Behdad Esfahbod
44a7b3b773
s/ot_complex_shaper/ot_shaper/g
2 years ago
Behdad Esfahbod
044d7a06db
[indic-like] Add per-lookup per-syllable flag
...
This allows mix-and-matching per-syllable and other lookups.
In fact, removes the clear-syllables call completely.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3513
3 years ago
David Corbett
49fb8f9072
[USE] Treat visible viramas like dependent vowels
3 years ago
David Corbett
c33468d48e
[USE] Treat all gc=Cn as independent clusters
3 years ago
David Corbett
6e059a46b7
[USE] Allow any non-numeric tail in symbol cluster
3 years ago
David Corbett
7287125c58
[USE] Merge the categories S and O
3 years ago
Behdad Esfahbod
62a535f154
[khmer] Fix comment
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3104
3 years ago
Behdad Esfahbod
2337f0d047
Internally use hb_malloc/.../hb_free instead of malloc/.../free
...
Redefining those stock names as macros was conflicting with gcc 10
headers.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3044
3 years ago
Behdad Esfahbod
59721c2f37
[use] Move data table into same compilation unit
4 years ago
Behdad Esfahbod
d9b167da3d
[use] Remove hb-ot-shape-complex-use.hh
...
Inline into ragel machine.
4 years ago
Behdad Esfahbod
3bb2653a5e
[use] Reuse category numbers exported from ragel machine
...
Part of https://github.com/harfbuzz/harfbuzz/pull/2726
4 years ago
Behdad Esfahbod
c417e0d2f9
[indic/khmer/myanmar/use] Move enum category around
...
Such that the generated -machine.hh headers are independent.
4 years ago
Behdad Esfahbod
0a5c631140
[use] Rename internal enum joinint_form_t members
...
To ease upcoming change.
4 years ago
Behdad Esfahbod
0ddade44cf
[syllabic] Merge various insert_dotted_circles implementations
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1810
4 years ago
Behdad Esfahbod
9dd61c5b78
Rename internal buffer var use
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1810
4 years ago
Simon Cozens
428c111f13
Fix spacing around casts
4 years ago
Simon Cozens
b50099bff2
Trace reordering in pause functions
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
David Corbett
faf09f5466
[USE] Support hieroglyph clusters
4 years ago
David Corbett
420a74f772
[USE] Fix assertion failure for joining scripts
4 years ago
David Corbett
7bffb5d7ba
Generate `has_arabic_joining`
4 years ago
Ebrahim Byagowi
a0b4ac4dce
Turn 8 spaces to tab across the project
...
According to the current code style of the project
5 years ago
Khaled Hosny
da5118da77
[ot-shape] Enable abvm/blwm features by default
...
Core Text seems to apply them to Latin text, but Uniscribe doesn’t.
See https://github.com/harfbuzz/harfbuzz/pull/1908#issuecomment-521819343
5 years ago
Khaled Hosny
2164bd6f29
[ot-shape] Enable dist feature by default ( #1908 )
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1907
5 years ago
Behdad Esfahbod
3724f13ba0
[amalgam] Finish fixing Indic-like shapers
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1809
5 years ago
Behdad Esfahbod
eb37bc9d93
[use] Remove Syriac features
...
This was non-standard, and unused anyway.
5 years ago
Behdad Esfahbod
dc480fc471
[amalgam] More Indic-like issues
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1809
5 years ago
Behdad Esfahbod
d8b5353e07
[amalgam] More
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1809
5 years ago
Behdad Esfahbod
d115a9e022
[amalgam] Fix most duplicate-id instances in Indic-like shapers
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1809
5 years ago
Behdad Esfahbod
7aad53657e
[config] Add HB_NO_OT_SHAPE / HB_NO_OT
...
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
5 years ago
David Corbett
d64fb9db52
[use] Allow U+1A60 TAI THAM SIGN SAKOT after vowel
6 years ago
Behdad Esfahbod
41248cce0e
Remove MIN/MAX in favor of hb_min/hb_max
6 years ago
Behdad Esfahbod
085793d6cd
Remove wrong TODOs
6 years ago
Eric Muller
a86356913e
Add a flag to hb_buffer_t to prevent the insertion of dotted circles on incorrect character sequences.
...
Current behavior unchanged if this flag is not set (and it isn't by default).
6 years ago
Eric Muller
30d7c40f8c
Add a flag to hb_buffer_t to prevent the insertion of dotted circles on incorrect character sequences.
...
Current behavior unchanged if this flag is not set (and it isn't by default).
6 years ago
Behdad Esfahbod
22798e93c4
[use] Minor clarification
6 years ago
David Corbett
3c7792ca32
[use] Fix reordering
...
Fixes #1235 .
6 years ago
Behdad Esfahbod
17335a8161
Clean up buffer->swap_buffers() calls
...
That function checks for buffer->successful already. No need
to check at call site.
6 years ago
Behdad Esfahbod
35d410f2ba
Remove ASSERT_POD
...
Newer compilers / language allows structs with constructor in union.
So, this was not actually testing anything. Indeed, the recent
change in DISALLOW_COPY *is* making some of our types non-POD.
That broke some bots.
Just remove this since it wasn't doing much, and I'd rather have
DISALLOW_COPY.
6 years ago
Behdad Esfahbod
39bd07aed5
Fix bunch of unused parameter warnings
...
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...
6 years ago
Behdad Esfahbod
982c2f4a65
[indic/khmer/myanmar/use] Clarify clear_syllable
...
No logic change.
6 years ago
Behdad Esfahbod
6d40eb8372
Touch up on previous commit
...
https://github.com/harfbuzz/harfbuzz/pull/1273
6 years ago
David Corbett
205737acdc
[use] Prohibit visually ambiguous vowel sequences
6 years ago
Behdad Esfahbod
0a371fee4d
Minor
6 years ago