Behdad Esfahbod
d8d0c480c8
Refactor some code common to GSUB and GPOS
14 years ago
Behdad Esfahbod
b70c96dbe4
Enable applying GSUB/GPOS features in multiple segments
...
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=644184
among others.
Shapers now can request segmented feature application by calling
add_gsub_pause() or add_gpos_pause(). They can also provide a
callback to be called at the pause. Currently the Arabic shaper
uses pauses to enforce certain feature application. The Indic
shaper can use the same facility to pause and do reordering in the
callback.
14 years ago
Behdad Esfahbod
f6d7a9bb4c
Shuffle code around
14 years ago
Behdad Esfahbod
fc551edbf2
Add todo
...
I'm too lazy to fix the tests now.
14 years ago
Behdad Esfahbod
2e18c6dbdf
Fix reverse_range() position loop
...
Mozilla Bug 669175 - Slow rendering of text sometimes in this case,
using direction: rtl
14 years ago
Behdad Esfahbod
fa2befa46f
Minor
14 years ago
Behdad Esfahbod
d69d5ceaa0
[Indic] Well, at least finding syllables works now :)
...
Still not much there.
14 years ago
Behdad Esfahbod
253a57fb5a
[test-shape-complex] Remove the greek tests
...
They are outdated with respect to the DejaVu Sans I'm using.
We need to add font version checking to the tests.
14 years ago
Behdad Esfahbod
afa74bf904
[test-shape-complex] Print out expected and actual glyphstrings upon failure
...
One has to run the test with --verbose to see that right now.
14 years ago
Behdad Esfahbod
42d453b023
[test] Name tests after their input string
14 years ago
Behdad Esfahbod
2741316978
Minor
...
Towards a better test runner.
14 years ago
Behdad Esfahbod
cc674cbf7f
Minor
14 years ago
Behdad Esfahbod
20d8a3982a
[test] Remove disabled code
...
We'd add normalization and decomposition tests later.
14 years ago
Behdad Esfahbod
9704f0ca6c
[test] Restructure shape test data a bit
14 years ago
Behdad Esfahbod
4ec30aec30
[Indic] Optimize Indic table storage
14 years ago
Behdad Esfahbod
c4a59de6d8
[Indic] Generate a single data table instead of multiple ones
14 years ago
Behdad Esfahbod
a346e923a9
[test] Add Indic tests from harfbuzz.old
...
Needs fonts to be put in test/fonts. Tests are skipped otherwise.
Run with --verbose for details. Working on improving the test runner
to make it easier to make sense of what's going on.
14 years ago
Behdad Esfahbod
8fdba506f0
[Indic] Define indic_position_t
14 years ago
Behdad Esfahbod
65988a145b
[Indic] Add a table of consonant positions
...
Copied form HarfBuzz.old Indic data. These are below and post
consonants. This is temporary. Read the comment in the patch.
14 years ago
Behdad Esfahbod
c7fe56a1d5
[Indic] Some of the basic features are global; Mark them so
14 years ago
Behdad Esfahbod
867361c3ad
[indic] Add syllable recognition state machine
...
Using an incredible tool called Ragel.
14 years ago
Behdad Esfahbod
422e08dbb8
Better categorize Indic character classes
...
Matches OT types now.
14 years ago
Behdad Esfahbod
31f18abecb
Minor compiler warning fixes
14 years ago
Behdad Esfahbod
e3693b72f0
Change a couple strstr() to strchr()
14 years ago
Behdad Esfahbod
b9452bfc16
Fix compiler warnings with -pedantic
14 years ago
Behdad Esfahbod
970e092dc2
Remove extra semicolon
14 years ago
Behdad Esfahbod
8142680802
Cosmetic
14 years ago
Behdad Esfahbod
902ab866f2
GNOME Bug 652227 - Unconditional use of stdint.h
14 years ago
Behdad Esfahbod
20503ccd57
More Indic data shuffling
14 years ago
Behdad Esfahbod
63b177e45c
Minor
14 years ago
Behdad Esfahbod
b9ddbd5593
[Indic] Start an Indic shaper
...
Nothing functional in there yet.
So far, we're parsing IndicSyllabicCategory.txt and IndicMatraCategory.txt
fils from Unicode Character Database and store them in an array to be used
by the shaper. Also hooked up the shaper, but it does not do anything
right now.
14 years ago
Behdad Esfahbod
697a65c5f5
Minor
14 years ago
Behdad Esfahbod
9de1481f2b
Update to ArabicShaping-6.1.0d2.txt
14 years ago
Behdad Esfahbod
9d49433efb
Minor rename
14 years ago
Behdad Esfahbod
0eafce56ee
[TODO] New items
14 years ago
Behdad Esfahbod
89a2bc9ba6
[Vertical] Apply vertical features
...
We apply all of vert, vrt2, vkrn, valt, and vpal.
14 years ago
Behdad Esfahbod
0c6a9767c8
[hb-view] Add --face-index to choose a face in a TrueType Collection
14 years ago
Behdad Esfahbod
4f28fbdd80
Fix TTC header handling
...
Also change the Version type to avoid similar bugs in the future.
Reported by Grigori Goronzy.
14 years ago
Behdad Esfahbod
21deab2bdc
Fixed inifinite loop introduced in 7403e055cd
...
k is the index, not j.
Reported by Tom Hacohen.
14 years ago
Behdad Esfahbod
51881a61ca
Shrink code size
14 years ago
Behdad Esfahbod
90645fb24b
[OT] Separate map_builder from the actual map
...
Respectively, separate planner from the actual plan.
14 years ago
Behdad Esfahbod
5560a19e2b
Minor
14 years ago
Behdad Esfahbod
1587c26fe9
[TODO] Add item
14 years ago
Behdad Esfahbod
5c9f14932d
Minor
14 years ago
Behdad Esfahbod
5bc18195d5
Add check-includes.sh
14 years ago
Behdad Esfahbod
3f12c434e2
[configure] Generate sha256sum and GPG-sign it
14 years ago
Behdad Esfahbod
75ba4073ca
[test] Rename valgrind-log to log-vaglring.txt
14 years ago
Behdad Esfahbod
e3b0ba8e29
Minor
14 years ago
Behdad Esfahbod
595dc63eee
Bump version to 0.7.0 to open up for development
14 years ago
Behdad Esfahbod
f245576042
Release 0.6.0. First official tarball release!
...
There are no API guarantees just yet, but I *expect* that no
incompatible API changes to happen before 1.0.0.
Update NEWS.
14 years ago