Behdad Esfahbod
7b8b63adc5
[ot] Don't mirror character if font doesn't support mirrored character!
9 years ago
Behdad Esfahbod
97d7c3a100
[graphite2] Fix bunch of stuff
...
Based on patch from Martin Hosken, with review from Jonathan and I.
9 years ago
Behdad Esfahbod
ea7f8414e3
[graphite2] Enlarge buffer for output glyphs!
9 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.
9 years ago
Behdad Esfahbod
ecb0b24ef3
Use foreach_cluster in Indic shaper
9 years ago
Behdad Esfahbod
56f71ff988
Use foreach_syllable in Myanmar shaper
9 years ago
Behdad Esfahbod
ac596511a8
Add foreach_syllable
...
Use it in USE.
9 years ago
Behdad Esfahbod
8ba9e68968
[USE] Do Arabic-like shaping
9 years ago
Behdad Esfahbod
9daf2dfb6b
Add hb-ot-shape-complex-arabic-private.hh
9 years ago
Behdad Esfahbod
a51a661fe1
[USE] Only reorder the first component of a split left mark
9 years ago
Behdad Esfahbod
a08a278b15
[USE] Don't compose split matras
...
Same logic as in Indic shaper.
9 years ago
Behdad Esfahbod
21cb08a417
Remove unused SEA shaper
9 years ago
Behdad Esfahbod
db1e9cdd41
Retire SEA shaper in favor of USE
9 years ago
Behdad Esfahbod
87dde9c647
[USE] Only use USE shaper if script system is not DFLT
...
Same logic as Indic and SEA.
9 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.
9 years ago
Behdad Esfahbod
40c4a991c7
[USE] Implement dotted-circle
...
This makes USE feature-complete as far as the Indic-like features
are concerned.
9 years ago
Behdad Esfahbod
7ce03ebe7c
[USE] Move pref
9 years ago
Behdad Esfahbod
2d4b62ead9
[USE] Fix-up variation selectors and word joiner in table
9 years ago
Behdad Esfahbod
ad7178227f
[USE] Use a couple warnings
9 years ago
Behdad Esfahbod
a85c4da9b1
[USE] Move rphf
9 years ago
Behdad Esfahbod
5b5617e066
Add FLAG_UNSAFE()
...
Unused right now.
9 years ago
Behdad Esfahbod
f8160a4959
Add FLAG_SAFE() for values known to be small-enough
...
And add check to FLAG()
9 years ago
Behdad Esfahbod
366aeaad00
Add note re ASSERT_STATIC_EXPR_ZERO()
9 years ago
Behdad Esfahbod
d6adca9fbb
Remove unused macro ASSERT_STATIC_EXPR()
9 years ago
Behdad Esfahbod
1025e1a9e7
Use unsigned in FLAG()
9 years ago
Behdad Esfahbod
cf59c7589c
[USE] Use use_category() for rphf/pref memory
9 years ago
Behdad Esfahbod
595936ec25
[USE] Hook of rphf and pref custom processing
...
Still no reordering.
9 years ago
Behdad Esfahbod
ba72801325
[USE] Add CGJ to table
9 years ago
Behdad Esfahbod
4febed61ed
[USE] Set up features
9 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).
9 years ago
Behdad Esfahbod
b4c0829bc1
[USE] Remove unused Unicode data enums from USE C++ side
9 years ago
Behdad Esfahbod
44910cef62
[USE] Finish converting Unicode positional categories to USE
...
Even compiles.
9 years ago
Behdad Esfahbod
ad72555252
[USE] Map from Unicode data to USE syllabic categories
...
Positional sub-categories not applied yet.
9 years ago
Behdad Esfahbod
20e246e674
[USE] Start moving Unicode-to-USE mapping into Python code
9 years ago
Behdad Esfahbod
eb74535cc2
[USE] Fix Number clusters
...
The spec wrongly has "H" where "HN" is meant.
9 years ago
Behdad Esfahbod
a9663958fe
[USE] Start putting together the shaper body
9 years ago
Behdad Esfahbod
e0eabd7f67
[USE] Put a Ragel machine together
...
Grammar from the spec!
9 years ago
Behdad Esfahbod
fd74b939b1
Minor
9 years ago
Behdad Esfahbod
5e5c8560cc
[USE] Minor optimization of USE table
9 years ago
Behdad Esfahbod
14b12f92a9
[USE] Add Kharoshti test data from Unicode proposal
9 years ago
Behdad Esfahbod
c48ff28852
[USE] Build Universal Shaping Engine data table from Unicode 8 files
9 years ago
Behdad Esfahbod
e2c95116e1
[USE] Add Universal Shaping Engine to Makefile
9 years ago
Behdad Esfahbod
41a29af805
Update Arabic shaping table for Unicode 8.0
9 years ago
Behdad Esfahbod
64a2726e2c
Add Unicode 8.0 scripts
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1183209
9 years ago
Behdad Esfahbod
9ae156b768
Fix pragma usage
...
https://bugs.freedesktop.org/show_bug.cgi?id=91228
Commit cdcdfe61b9
changed two `#pragma
message` to `#pragma error` in hb-unicode.cc, however MSVC uses #error,
just like the #else branch. `#pragma error` is an unknown pragma so
MSVC does not fail the build because of it, which I believe was the
intention of that commit.
If it's meant to be an #error, then the #ifdef for _MSC_VER can be
removed entirely.
9 years ago
Behdad Esfahbod
5f13bbd9d4
When removing default-ignorables, merge clusters
...
Fixes test-shape, and:
https://code.google.com/p/chromium/issues/detail?id=497578
10 years ago
Behdad Esfahbod
82b521aeb7
Rewrite hide_default_ignorables
...
Separate the loops for the two cases of replacing with space
and deleting. For deleting, use the out-buffer machinery.
Needed for upcoming cluster merge fix.
10 years ago
Behdad Esfahbod
b3a2f6afba
[test] Add test for cluster merging
...
Based on test from https://code.google.com/p/chromium/issues/detail?id=497578
Currently fails. Basically, if there's a default_ignorable at the
start of text, and font has no space glyph, we remove the default_ignorable,
and that makes the first char in text to correspond to no cluster.
Fix coming.
10 years ago
Behdad Esfahbod
a6446d44e6
0.9.41
10 years ago
Behdad Esfahbod
cd042fc8c4
[util] Disable hb-fc-list for now
...
Until I figure out what to do about the API, and finalize
the tool.
10 years ago