Behdad Esfahbod
0f98fe88f4
[ot] Search globally for 'vert' feature if not found in specified script/lang
...
Fixes https://github.com/behdad/harfbuzz/issues/63
10 years ago
Behdad Esfahbod
f327aacfa1
[ot] Minor
10 years ago
Behdad Esfahbod
d78463c801
Minor debug output fix
10 years ago
Behdad Esfahbod
d99f50bde0
Add missing TRACE_RETURN
10 years ago
Behdad Esfahbod
2dc8e3f470
[ot] Add missing return!
10 years ago
Behdad Esfahbod
582069172c
Add test case for deleting default ignorables with positioning
10 years ago
Behdad Esfahbod
8cfbc304ee
Fix hide-default-ignorables after f0010dfd01
...
We can't delete things before hb_ot_layout_position_finish(). So,
just zero the advance before it, and remove later.
10 years ago
Behdad Esfahbod
2dbd3d29d6
Fix hide-ignorables if font doesn't have space glyph
...
Was broken by 82b521aeb7
, as we have
positioning data by then and can't use the output buffer. Ouch!
10 years ago
Behdad Esfahbod
4ba796b26e
Refactor _hb_glyph_info_is_default_ignorable()
10 years ago
Behdad Esfahbod
f0010dfd01
[ot] Hide default-ignorables before finishing off positioning
...
For example, fixes the following sequence with Arial XP:
628 25cc 651 25cc 64e 3a 20 628 651 34f 64e
628 25cc 64e 25cc 651 3a 20 628 64e 34f 651
Discovered as part of:
https://bugs.freedesktop.org/show_bug.cgi?id=85873
10 years ago
Behdad Esfahbod
376d587f36
Implement more granular cluster-merging
...
TODO: Documentation.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71445
10 years ago
Behdad Esfahbod
a60e2cfa39
[ot] Don't rely on cluster numbers for ensure_native_direction()
10 years ago
Behdad Esfahbod
701112dad9
[ot] Simplify form_clusters()
10 years ago
Behdad Esfahbod
7b8b63adc5
[ot] Don't mirror character if font doesn't support mirrored character!
10 years ago
Behdad Esfahbod
97d7c3a100
[graphite2] Fix bunch of stuff
...
Based on patch from Martin Hosken, with review from Jonathan and I.
10 years ago
Behdad Esfahbod
ea7f8414e3
[graphite2] Enlarge buffer for output glyphs!
10 years ago
Behdad Esfahbod
9cd59db1af
[USE] Implement topographical features for non-Arabic-joining scripts
...
This works per-syllable as per the spec, but we think it should be per
spacing/base/??? glyph instead.
10 years ago
Behdad Esfahbod
ecb0b24ef3
Use foreach_cluster in Indic shaper
10 years ago
Behdad Esfahbod
56f71ff988
Use foreach_syllable in Myanmar shaper
10 years ago
Behdad Esfahbod
ac596511a8
Add foreach_syllable
...
Use it in USE.
10 years ago
Behdad Esfahbod
8ba9e68968
[USE] Do Arabic-like shaping
10 years ago
Behdad Esfahbod
9daf2dfb6b
Add hb-ot-shape-complex-arabic-private.hh
10 years ago
Behdad Esfahbod
a51a661fe1
[USE] Only reorder the first component of a split left mark
10 years ago
Behdad Esfahbod
a08a278b15
[USE] Don't compose split matras
...
Same logic as in Indic shaper.
10 years ago
Behdad Esfahbod
21cb08a417
Remove unused SEA shaper
10 years ago
Behdad Esfahbod
db1e9cdd41
Retire SEA shaper in favor of USE
10 years ago
Behdad Esfahbod
87dde9c647
[USE] Only use USE shaper if script system is not DFLT
...
Same logic as Indic and SEA.
10 years ago
Behdad Esfahbod
29832d797f
Route misc untested scripts through USE shaper instead of Indic
...
These were never tested with Indic shaper, and indeed wouldn't work there
because they didn't have their viramas and other config defined. They are
all also supported by MS through USE, so route them there.
10 years ago
Behdad Esfahbod
40c4a991c7
[USE] Implement dotted-circle
...
This makes USE feature-complete as far as the Indic-like features
are concerned.
10 years ago
Behdad Esfahbod
7ce03ebe7c
[USE] Move pref
10 years ago
Behdad Esfahbod
2d4b62ead9
[USE] Fix-up variation selectors and word joiner in table
10 years ago
Behdad Esfahbod
ad7178227f
[USE] Use a couple warnings
10 years ago
Behdad Esfahbod
a85c4da9b1
[USE] Move rphf
10 years ago
Behdad Esfahbod
5b5617e066
Add FLAG_UNSAFE()
...
Unused right now.
10 years ago
Behdad Esfahbod
f8160a4959
Add FLAG_SAFE() for values known to be small-enough
...
And add check to FLAG()
10 years ago
Behdad Esfahbod
366aeaad00
Add note re ASSERT_STATIC_EXPR_ZERO()
10 years ago
Behdad Esfahbod
d6adca9fbb
Remove unused macro ASSERT_STATIC_EXPR()
10 years ago
Behdad Esfahbod
1025e1a9e7
Use unsigned in FLAG()
10 years ago
Behdad Esfahbod
cf59c7589c
[USE] Use use_category() for rphf/pref memory
10 years ago
Behdad Esfahbod
595936ec25
[USE] Hook of rphf and pref custom processing
...
Still no reordering.
10 years ago
Behdad Esfahbod
ba72801325
[USE] Add CGJ to table
10 years ago
Behdad Esfahbod
4febed61ed
[USE] Set up features
10 years ago
Behdad Esfahbod
52a9577956
[USE] Hook up new scripts to USE shaper
...
Don't reroute scripts that we were routing to other shapers
before (just yet).
10 years ago
Behdad Esfahbod
b4c0829bc1
[USE] Remove unused Unicode data enums from USE C++ side
10 years ago
Behdad Esfahbod
44910cef62
[USE] Finish converting Unicode positional categories to USE
...
Even compiles.
10 years ago
Behdad Esfahbod
ad72555252
[USE] Map from Unicode data to USE syllabic categories
...
Positional sub-categories not applied yet.
10 years ago
Behdad Esfahbod
20e246e674
[USE] Start moving Unicode-to-USE mapping into Python code
10 years ago
Behdad Esfahbod
eb74535cc2
[USE] Fix Number clusters
...
The spec wrongly has "H" where "HN" is meant.
10 years ago
Behdad Esfahbod
a9663958fe
[USE] Start putting together the shaper body
10 years ago
Behdad Esfahbod
e0eabd7f67
[USE] Put a Ragel machine together
...
Grammar from the spec!
10 years ago