Roozbeh Pournader
05511acd19
Added language tags for S'gaw Karen and Khamti
...
Tags based on support in Windows 8.1's 'Myanmar Text' font.
2013-11-25 06:36:13 -05:00
Behdad Esfahbod
0bb31e4497
Bug 71845 - Use 64-bit cmpexch on ARM64 iOS
2013-11-20 14:21:07 -05:00
Behdad Esfahbod
02c6c8cd6e
Set buffer content type to INVALID in hb_buffer_set_length(0)
...
Previously we were only setting this in hb_buffer_clear_contents(),
but set_length(0) is a valid way to reinitialize buffer to use with
new text.
2013-11-15 13:07:03 -05:00
Behdad Esfahbod
6300694f6e
0.9.24
2013-11-13 14:54:07 -05:00
Behdad Esfahbod
061cb46493
Use long alignment for scratch buffer
...
Fixes last of scratch alignment warnings in hb-coretext.
2013-11-13 14:50:25 -05:00
Behdad Esfahbod
68c372ed2e
More scratch-buffer cleanup
2013-11-13 14:45:43 -05:00
Behdad Esfahbod
8fcadb9cf9
[coretext] More scratch buffer fixes
2013-11-13 14:33:57 -05:00
Behdad Esfahbod
16f175cb2e
Fix scratch-buffer alignment warnings
2013-11-12 17:22:49 -05:00
Behdad Esfahbod
c7c4ccf8a1
[travis] Enable graphite2
2013-11-12 15:41:22 -05:00
Behdad Esfahbod
83408cf804
Fix llvm warnings on Mac
...
Patch from Scott Fleischman. Warnings were:
harfbuzz/src/hb-font-private.hh:121:42: Implicit conversion loses
integer precision: 'long long' to 'hb_position_t' (aka 'int')
harfbuzz/src/hb-font-private.hh:126:42: Implicit conversion loses
integer precision: 'long long' to 'hb_position_t' (aka 'int')
harfbuzz/src/hb-font-private.hh:400:85: Implicit conversion loses
integer precision: 'long long' to 'hb_position_t' (aka 'int')
harfbuzz/src/hb-ot-layout-common-private.hh:1115:37: Implicit conversion
loses integer precision: 'long long' to 'int'
harfbuzz/src/hb-ft.cc:421:97: Implicit conversion loses integer
precision: 'unsigned long long' to 'int'
harfbuzz/src/hb-ft.cc:422:97: Implicit conversion loses integer
precision: 'unsigned long long' to 'int'
2013-11-06 14:46:04 -05:00
Behdad Esfahbod
333cc6e2d1
[otlayout] Remove unused is_inplace()
...
Patch from Jonathan Kew.
2013-10-30 17:30:11 +00:00
Behdad Esfahbod
176fd17d02
Bug 70971 - Signed/unsigned compiler warnings on windows
...
Patch from Emil Eklund.
2013-10-30 17:27:24 +00:00
Behdad Esfahbod
3d436d325e
[otlayout] Reset ccc when marking glyph as letter
2013-10-28 21:00:37 +01:00
Behdad Esfahbod
b9d0077ac1
Fix win32 testing
2013-10-28 20:46:11 +01:00
Behdad Esfahbod
dce79c2bd7
0.9.23
2013-10-28 20:26:40 +01:00
Behdad Esfahbod
2e990a3d72
Make "make distcheck" happy
2013-10-28 20:23:07 +01:00
Behdad Esfahbod
6ffc007b61
[otlayout] Optimize inplace
...
See thread started by Jonathan with subject "an optimization for complex
fonts".
2013-10-28 19:26:02 +01:00
Behdad Esfahbod
71b4c999a5
Revert "Zero marks by GDEF for Tibetan"
...
This reverts commit d5bd0590ae
.
The reasoning behind that logic was flawed and made under
a misunderstanding of the original problem, and caused
regressions as reported by Jonathan Kew in thread titled
"tibetan marks" in Oct 2013. Apparently I have had fixed
the original problem with this commit:
7e08f1258d
So, revert the faulty commit and everything seems to be in good
shape.
2013-10-28 00:43:27 +01:00
Behdad Esfahbod
9596b2bf56
Pass CPPFLAGS=-Werror to Travis-CI
...
We want default gcc / clang warnings to fail the CI build.
2013-10-28 00:09:05 +01:00
Behdad Esfahbod
c77d1ade68
Fix warnings
2013-10-27 23:53:55 +01:00
Behdad Esfahbod
c2bc818706
Work with old and new glib
...
Avoids "deprecated" warnings.
2013-10-27 23:37:14 +01:00
Behdad Esfahbod
46a863d91d
[indic] Adjust pref reordering logic
...
For Javanese (pref_len == 1) only reorder if it didn't ligate. That's
sensible, and what the spec says. For other Indic (pref_len > 1)
only reorder if ligated.
Doesn't change any test numbers.
2013-10-27 23:28:12 +01:00
Behdad Esfahbod
6b03e3c724
Optimize fallback kerning
...
Patch from Jonathan Kew. "These changes seem to yield a small but
just-about-measurable improvement with old fonts that lack GPOS
kerning."
2013-10-27 21:04:55 +01:00
Behdad Esfahbod
133eeba6a3
Minor
...
See:
https://github.com/prezi/harfbuzz-js/pull/1/files#r7032397
2013-10-27 00:24:59 +02:00
Behdad Esfahbod
a74f0de225
[indic] Fix CM2, really
...
Followup from 6e613f3365
.
2013-10-24 11:46:33 +02:00
Behdad Esfahbod
6e613f3365
Fix "shift count >= width of type" issue
2013-10-23 23:34:13 +02:00
Behdad Esfahbod
ac8cd51191
Refactor
2013-10-18 19:33:09 +02:00
Behdad Esfahbod
0f3fe37fcc
Comment
2013-10-18 19:14:22 +02:00
Behdad Esfahbod
ddce2d8df6
[indic] Improve positioning of post-base bells and whistles
...
Bug 58714 - Kannada u+0cb0 u+200d u+0ccd u+0c95 u+0cbe does not provide
same results as Windows8
https://bugs.freedesktop.org/show_bug.cgi?id=58714
Test with U+0CB0,U+200D,U+0CCD,U+0C95,U+0CBF and tunga.ttf.
Improves some scripts. Improves Bengali too, but numbers
are up because we produce better results than Uniscribe for some
sequences now.
New numbers:
BENGALI: 353724 out of 354188 tests passed. 464 failed (0.131004%)
DEVANAGARI: 707307 out of 707394 tests passed. 87 failed (0.0122987%)
GUJARATI: 366349 out of 366457 tests passed. 108 failed (0.0294714%)
GURMUKHI: 60732 out of 60747 tests passed. 15 failed (0.0246926%)
KANNADA: 951190 out of 951913 tests passed. 723 failed (0.0759523%)
KHMER: 299070 out of 299124 tests passed. 54 failed (0.0180527%)
MALAYALAM: 1048140 out of 1048334 tests passed. 194 failed (0.0185056%)
ORIYA: 42320 out of 42329 tests passed. 9 failed (0.021262%)
SINHALA: 271662 out of 271847 tests passed. 185 failed (0.068053%)
TAMIL: 1091753 out of 1091754 tests passed. 1 failed (9.15957e-05%)
TELUGU: 970555 out of 970573 tests passed. 18 failed (0.00185457%)
2013-10-18 18:17:29 +02:00
Behdad Esfahbod
d5bd0590ae
Zero marks by GDEF for Tibetan
...
See:
http://lists.freedesktop.org/archives/harfbuzz/2013-April/003101.html
2013-10-18 18:17:29 +02:00
Behdad Esfahbod
bf029281b1
Bug 65258 - [...] Mongolian with free variation selector
2013-10-18 18:17:29 +02:00
Behdad Esfahbod
0193649ce4
[otfallback] Don't shift down above-marks too much
...
This seems to generate much better, almost-perfect, positioning for
Arabic as well as Latin above marks.
2013-10-18 18:17:29 +02:00
Behdad Esfahbod
dba9580237
[otfallback] Never fallback-position a below-mark upwards
...
Test with WinXP times.ttf and U+05D9,U+05B5.
2013-10-18 18:17:29 +02:00
Behdad Esfahbod
8177da29ad
Minor
2013-10-18 18:17:29 +02:00
Behdad Esfahbod
c16012e901
[indic] Add Javanese support!
...
Seems to be working just fine!
2013-10-18 18:17:29 +02:00
Behdad Esfahbod
755b44cce6
[ft] Round metrics instead of truncate
...
Lohit-Punjabi has a upem of 769! We were losing one unit in our
code, and FreeType is losing another one... Test with U+0A06.
Has an advance of 854 in the font. We were producing 852.
Now we do 853, which is what FreeType is telling us.
2013-10-18 12:03:01 +02:00
Behdad Esfahbod
9a49351cc2
[indic] Swith pref logic to use _hb_glyph_info_substituted()
...
See comments from caveat! Seems to work fine.
This is useful for Javanese which has an atomically encoded pre-base
reordering Ra which should only be reordered if it was substituted
by the pref feature.
2013-10-18 11:25:24 +02:00
Behdad Esfahbod
f175aa33c5
[indic] Fix compiler warnings
2013-10-18 11:25:24 +02:00
Behdad Esfahbod
8570273414
[otlayout] Add _hb_glyph_info_substituted()
...
Currently unused.
2013-10-18 11:25:24 +02:00
Behdad Esfahbod
a1f7b28561
[otlayout] Switch over from old is_a_ligature() to IS_LIGATED
...
Impact should be minimal and positive.
2013-10-18 11:25:24 +02:00
Behdad Esfahbod
09675a8115
[otlayout] Add HB_OT_LAYOUT_GLYPH_PROPS_LIGATED
...
Currently unused.
2013-10-18 11:25:24 +02:00
Behdad Esfahbod
05ad6b50ac
[otlayout] Add HB_OT_LAYOUT_GLYPH_PROPS_SUBSTITUTED
...
Currently unused.
2013-10-18 11:21:15 +02:00
Behdad Esfahbod
101303dbf7
[otlayout] More shuffling around
2013-10-18 11:21:15 +02:00
Behdad Esfahbod
91689de260
[otlayout] Add _hb_glyph_info_set_glyph_props()
...
No functional change.
2013-10-18 11:21:15 +02:00
Behdad Esfahbod
a016174658
[otlayout] Simplify set_class() usage
2013-10-18 11:21:15 +02:00
Behdad Esfahbod
3ddf892b53
[otlayout] Renaming
2013-10-18 11:21:15 +02:00
Behdad Esfahbod
2e96d2c6ee
[otlayout] More shuffling
2013-10-18 11:21:15 +02:00
Behdad Esfahbod
469524692b
[otlayout] Code shuffling
2013-10-18 11:21:15 +02:00
Behdad Esfahbod
11fb16cb84
Use unsigned enums for mask types
2013-10-18 11:21:11 +02:00
Behdad Esfahbod
03058c3d1e
[otlayout] Remove two unused HB_OT_LAYOUT_GLYPH_PROPS_* values
2013-10-17 20:55:34 +02:00