Behdad Esfahbod
b47159011c
Define return_trace()
...
Not functional change (expected!).
9 years ago
Behdad Esfahbod
c917965b9e
Add missing returns
...
Fixes possible invalid read of two bytes.
Reported by Behzad Najjarpour Jabbari, Secunia Research.
9 years ago
Behdad Esfahbod
f3159ba514
Micro-optimize hb_language_from_string()
...
As measured / improved by Benson Limketkai.
9 years ago
Sascha Brawer
f2ad935e19
Handle language tags that indicate phonetic IPA transcription
...
The BCP-47 registry defines a variant subtag "fonipa" that can be used
in combination with arbitrary other language tags. For example,
"rm-CH-fonipa-sursilv" indicates the Sursilvan dialect of Romansh
as used in Switzerland, transcribed used the International Phonetic
Alphabet.
http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
9 years ago
Behdad Esfahbod
b8811429b6
Fix Since tags
...
Fixes https://github.com/behdad/harfbuzz/issues/103
9 years ago
Behdad Esfahbod
5d74ff02ab
Fix Since: version tags on font and face APIs
...
A while back we marked every API as version:1.0. We should fix them all
to reflect real version they were introduced. This is a start.
Patch from Nikolay Sivov.
9 years ago
Behdad Esfahbod
7f54053974
1.0.3
9 years ago
Behdad Esfahbod
5828c45d7a
[indic] Add comments to merge_clusters calls
9 years ago
Behdad Esfahbod
bdc8215949
[thai] Respect cluster-level > 0
9 years ago
Behdad Esfahbod
5b31fe383e
[use] Merge /before/ reordering
9 years ago
Behdad Esfahbod
0d438f89bd
[hangul] Merge /before/ reordering
9 years ago
Behdad Esfahbod
f883de664f
[OT] Merge /before/ reordering
9 years ago
Behdad Esfahbod
c403d63200
[myanmar] Use buffer->sort() to sort cluster
...
This can possibly produce more granular clusters.
9 years ago
Behdad Esfahbod
e995d33c10
[OT] Merge clusters when reordering marks for normalization
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=541608
and cluster test.
9 years ago
Behdad Esfahbod
b6d7d161a8
[tests] Add Hebrew test for normalization under cluster-level=1
...
Currently fails.
https://bugzilla.gnome.org/show_bug.cgi?id=541608
9 years ago
Behdad Esfahbod
93099748e3
Minor
9 years ago
Behdad Esfahbod
85846b3de7
Use insertion-sort instead of bubble-sort
...
Needed for upcoming merge-clusters fix.
9 years ago
Behdad Esfahbod
fad2674874
Minor
9 years ago
Behdad Esfahbod
23e4fac6de
Update git.mk from upstream
9 years ago
Behdad Esfahbod
5783e05f81
[docs] Move docs/reference/ contents into docs/
9 years ago
Behdad Esfahbod
cd5e3a13a6
[docs] Fix out-of-tree build
9 years ago
Behdad Esfahbod
3899795fa3
Merge pull request #131 from simoncozens/docs
...
Use gtk-doc to build user's manual as well as reference
9 years ago
Simon Cozens
01e16e88f5
Combine user / reference information into gtk-doc generated manual.
9 years ago
Simon Cozens
11a07c4729
Correct tag hierarchy, to allow for table-of-contents entries.
9 years ago
Simon Cozens
387d6af428
Missing tag (oops).
9 years ago
Behdad Esfahbod
d205965286
[docs] Fix typo
9 years ago
Behdad Esfahbod
c424b41705
Merge pull request #129 from simoncozens/docs
...
First two chapters. More to follow.
9 years ago
Behdad Esfahbod
31594b98af
[test] Fix test-object
...
See previous commit.
9 years ago
Behdad Esfahbod
326b5ebf57
Poison freed objects such that double-free is detected
...
Previously we were setting refcount of freed objects to the inert value, which
was harmful because it caused further destroy()s of the freed object to NOT
call free() and hence hide the bug. Indeed, after eb0bf3ae66
test-object
was double-free'ing objects and this was never caught on Linux. It only was
caught as crashing on Mac.
Now we poison refcount upon freeing and check that it's valid whenever reading
it. Makes test-object fail now.
9 years ago
Simon Cozens
5470e744dd
Current state and skeleton outline
9 years ago
Behdad Esfahbod
6578575cc8
[GPOS] Fix cursive connection with mix of RTL and non-RTL lookups
...
See thread "Issue with cursive attachment" started by Khaled.
Turned out fixing this wasn't as bad as I had assumed. I like the
new code better; we now have a theoretical model of cursive
connections that is easier to reason about.
9 years ago
Behdad Esfahbod
7368da6724
[test] Add test for cursive-positioning with mixed directions
...
Fails now. Fix coming. See thread "Issue with cursive attachment"
started by Khaled. Test fonts were made by modifying test font
from Khaled to add more anchors.
9 years ago
Simon Cozens
f0807654da
First two chapters. More to follow.
9 years ago
Behdad Esfahbod
58f2a73fb9
[GPOS] Rewrite cursive attachment slightly differently
...
In anticipation for upcoming fix for bug reported by
Khaled in thread "Issue with cursive attachment".
9 years ago
Behdad Esfahbod
fdd1770e00
Add API/cmdline to show glyph extents when serializing buffer
...
New API: HB_BUFFER_SERIALIZE_FLAG_GLYPH_EXTENTS
hb-shape now accepts --show-extents.
Patch from Simon Cozens.
9 years ago
Behdad Esfahbod
2cee5b68a0
[ot-font] Fix short-offset calculation
9 years ago
Behdad Esfahbod
b50fcfa829
[ot-font] Implement glyph_extents() for TrueType fonts
...
This brings ot-fonts into almost-complete shape and mostly in par with
ft font.
9 years ago
Behdad Esfahbod
0299b45000
Make BYTE a real type
9 years ago
Behdad Esfahbod
ed6962c795
[coretext] Use i32 instead of u32 as well
...
Shouldn't cause *any* functional changes, but is more correct.
9 years ago
Behdad Esfahbod
163c435f18
[uniscribe] Fix negative offsets
...
Ouch!
9 years ago
Behdad Esfahbod
789b89ef71
1.0.2
9 years ago
Behdad Esfahbod
958c268fa3
[coretext] Add TODO item
9 years ago
Behdad Esfahbod
7c5bee09d9
[uniscribe] Fix font scale handling
...
By default shape at upem (or ppem), and scale results.
Similar to work done in CoreText backend, but using upem as default.
9 years ago
Behdad Esfahbod
902e74a098
Commented-out code to print buffer before each lookup
...
To be turned into a useful HB_DEBUG_SHAPE infrastructure...
9 years ago
Behdad Esfahbod
75504a5048
Allow serializing buffer with output-buffer being used
...
Ie, don't call get_positions() if positions are not
requested for serialization.
9 years ago
Behdad Esfahbod
e47b772a56
[ot] Change buffer content type right after we map to glyphs
...
Needed for upcoming debug output changes.
9 years ago
Behdad Esfahbod
d104415e4c
[Android.mk] Update for SEA removal and USE addition
9 years ago
Behdad Esfahbod
ddd6bf12f1
Don't declare dependency on freetype in harfbuzz.pc
...
See comments.
9 years ago
Behdad Esfahbod
2c8b3b2e53
[debug] Print lookup index in debug-apply output
9 years ago
Behdad Esfahbod
50ad7788ee
[coretext] Remove assert that kicks in on Mac OS 10.6
...
http://crbug.com/419769
9 years ago