Behdad Esfahbod
6775da3a7c
Fix clang warning 'private field 'xxx' is not used
...
Fixes https://github.com/behdad/harfbuzz/pull/16
11 years ago
Behdad Esfahbod
62299826f4
Fix typo in _hb_buffer_serialize_glyphs_text()
...
Fixes https://github.com/behdad/harfbuzz/pull/17
11 years ago
Behdad Esfahbod
ae23c24c32
[arabic] Disable 'cswh' by default
...
I believe Windows 8 disables it, and spec update dated
Jan 2014 also clearly says it's disabled by default:
http://www.microsoft.com/typography/OpenTypeDev/arabic/intro.htm#features
11 years ago
Behdad Esfahbod
08cf5d75ef
[ot] Don't try to compose if normalization is off
11 years ago
Behdad Esfahbod
0596343bfe
Merge pull request #13 from jfkthame/hangul-shaper
...
Tone-mark reordering and improved Old Hangul support
11 years ago
Jonathan Kew
62cb28dfc6
fixup for 64-bit windows build
11 years ago
Jonathan Kew
83d7e7915a
[hangul] Fix ordering of dotted circle with Hangul tone mark (reported by Dohyun Kim).
11 years ago
Jonathan Kew
deef186265
[hangul] Don't force zero-width for marks - this is not wanted for the Jamo Filler glyphs.
11 years ago
Jonathan Kew
391934db0a
[unicode] Exclude the Jamo Filler characters from Default_Ignorable, as some fonts want these to be visible/spacing glyphs.
11 years ago
Jonathan Kew
7244b3fc3b
[hangul] Reorder Hangul tone mark to beginning of syllable, unless font implements it using a zero-width glyph.
11 years ago
Jonathan Kew
103436838d
[hangul] Apply the appropriate *jmo features to decomposed syllables, including Old Hangul sequences that don't have Unicode compositions. Merge clusters in decomposed syllables.
11 years ago
Behdad Esfahbod
8fc1f7fe74
[ot/hangul] Don't decompose Hangul even when combining marks present
...
As discussed on
https://github.com/behdad/harfbuzz/pull/10#issuecomment-31442030
11 years ago
Behdad Esfahbod
64426ec73a
[ot] Simplify composing
...
Not tested. Ouch.
11 years ago
Behdad Esfahbod
8de20b1e8a
Add font->has_glyph()
11 years ago
Behdad Esfahbod
f6298e55ae
[fallback] Minor
11 years ago
Behdad Esfahbod
29ea403d67
[hangul] Fix decomposition logic
...
Seems to be working now.
11 years ago
Behdad Esfahbod
bdb20dafc3
[hangul] Fix decomposition
...
Part of https://github.com/behdad/harfbuzz/pull/10
11 years ago
Behdad Esfahbod
32478656ce
[hangul] Tighten up character categories
...
I had tried to expand to fill the blocks, but that sounds wrong in
retrospect.
11 years ago
Behdad Esfahbod
f14bb7de63
[ot] Separate out hebrew and tibetan shapers from default
...
Now default shaper is truly no-op.
11 years ago
Behdad Esfahbod
6300cd7253
[ot] Define HB_OT_SHAPE_ZERO_WIDTH_MARKS_DEFAULT
11 years ago
Behdad Esfahbod
3d6ca0d32e
[ot] Simplify normalization_preference again
...
No shaper has more than one behavior re this, so no need for a callback.
11 years ago
Behdad Esfahbod
c98b7183f7
[ot] Add Hangul shaper
...
Not exhaustively tested, but I think I got the intended logic
right.
The logic can perhaps be simplified. Maybe we should disabled
normalization with this shaper. Then again, for now focusing on
correctness.
11 years ago
Behdad Esfahbod
15f67048e4
Reorder Tai Tham SAKOT to ensure it comes after any tone marks
11 years ago
Behdad Esfahbod
3216e44feb
[uniscribe] Fix scratch-buffer accounting
11 years ago
Behdad Esfahbod
beeb12c9af
Add TODO item
11 years ago
Luis de Bethencourt
fbd4acc58a
Clean ht-ob headers
11 years ago
Behdad Esfahbod
5497a8a274
Cache various masks on the shape plan
11 years ago
Behdad Esfahbod
02f909664f
Minor correction to kern mask checking
11 years ago
Behdad Esfahbod
a7e8bbb080
Minor fraction mask setting improvement
11 years ago
Behdad Esfahbod
76fff252a9
Don't form fractions if only one of numr/dnom exist
11 years ago
Behdad Esfahbod
3aeee519f0
Bug 72698 - Automatically support frac / numr / dnom
...
When seeing U+2044 FRACTION SLASH in the text, find decimal
digits (Unicode General Category Decimal_Number) around it,
and mark the pre-slash digits with 'numr' feature, the post-slash
digits with 'dnom' feature, and the whole sequence with 'frac'
feature.
This beautifully renders fractions with major Windows fonts,
and any other font that implements those features (numr/dnom is
enough for most fonts.)
Not the fastest way to do this, but good enough for a start.
11 years ago
Behdad Esfahbod
014f369ec9
Add XXX note
11 years ago
Behdad Esfahbod
739325178a
Initialize masks before mirroring
...
We were throwing away the rtlm feature mask set during
mirroring...
11 years ago
Luis de Bethencourt
d507f6b5b7
Have Gtk-Doc ignore UCDN files
11 years ago
Behdad Esfahbod
d688475ea9
Minor
11 years ago
Behdad Esfahbod
2a8c49ade0
Remove unnecessary includes
11 years ago
Behdad Esfahbod
2646aec1e6
Drop required automake version back to 1.11.3
...
Work around broken automake-1.13 changes.
11 years ago
Behdad Esfahbod
860fc9aa7b
0.9.25
11 years ago
Behdad Esfahbod
adb039554d
Minor
11 years ago
Behdad Esfahbod
95d18a7cab
[git.mk] Update
11 years ago
Behdad Esfahbod
d913f98d88
Require automake 1.13
...
Fix tests build.
https://bugs.freedesktop.org/show_bug.cgi?id=71353
11 years ago
Behdad Esfahbod
205bf834d8
Revert "Karen" language mapping back to what it was before
...
https://bugzilla.mozilla.org/show_bug.cgi?id=941470
11 years ago
Behdad Esfahbod
f47b921954
Fix unsafe shape_plan->face dependency
11 years ago
Behdad Esfahbod
c704a8700e
[util] Fix uninitialized memory access
11 years ago
Behdad Esfahbod
260a3198f4
[util] Plug leak
11 years ago
Jonathan Kew
ca8d96c8ba
cache shape plans even if (global) user features are set
11 years ago
Behdad Esfahbod
8ffa528f28
Add note about unsafe shape_plan->face
...
Will fix by removing shape_plan->face completely.
11 years ago
Behdad Esfahbod
aec468f01e
[coretext] Add TODO
11 years ago
Behdad Esfahbod
58cc233e8b
[coretext] Cleanup
11 years ago
Khaled Hosny
c8213c6198
[coretext] Avoid font fallback with CoreText shaper
...
CoreText does automatic font fallback (AKA "cascading") for characters
not supported by the requested font, and provides no way to turn it off,
so detect if the returned run uses a font other than the requested one
and fill in the buffer with .notdef glyphs instead of random indices
glyph from a different font.
11 years ago