Behdad Esfahbod
b3c0714b4b
[var] Add hb_var_coord_t and parsing routines
8 years ago
Behdad Esfahbod
72364103bc
Move code around
8 years ago
Behdad Esfahbod
785982bf83
[var] Flesh out some more
8 years ago
Behdad Esfahbod
422c0c36c8
[var] Flesh out a bit
8 years ago
Behdad Esfahbod
b8376b1090
Minor
8 years ago
Behdad Esfahbod
f2e73d37e7
[var] Remove over-optimization
8 years ago
Behdad Esfahbod
469926cc45
[var] Change double to float in API
8 years ago
Behdad Esfahbod
55d42fd667
Start adding hb-ot-var.h and implementation
...
Supports enumerating variation axes, normalizing values, etc.
8 years ago
Behdad Esfahbod
272b511532
Minor
8 years ago
Behdad Esfahbod
a8a5e81a52
[test-ot-math] Add test with nil face/font
8 years ago
Behdad Esfahbod
331d07bd40
Minor
8 years ago
Behdad Esfahbod
b5ecf1bfa4
Fix warnings
8 years ago
Behdad Esfahbod
2f2ceee185
Minor
8 years ago
Khaled Hosny
2452543fdd
[ot] Fix automatic fraction for RTL scripts ( #405 )
...
The numbers for right-to-left scripts are processed also from right to
left, so the order of applying “numr” and “dnom” features should be
reversed in such case.
Fixes https://github.com/behdad/harfbuzz/issues/395
8 years ago
Sascha Brawer
1337428e4f
Update language tags to OpenType 1.8.1 ( #403 )
...
Resolves https://github.com/behdad/harfbuzz/issues/324
8 years ago
Behdad Esfahbod
784d1180de
Fix build with clang
8 years ago
Behdad Esfahbod
1f810daf16
Port math table to hb_lazy_table_loader_t
8 years ago
Behdad Esfahbod
ebbcc11122
Add hb_lazy_table_loader_t
8 years ago
Behdad Esfahbod
1af9d924a4
Move lazy-loader to more generic place
8 years ago
Behdad Esfahbod
ac274331c2
In lazy-loading, remember allocation failure
8 years ago
Behdad Esfahbod
29fb0cb727
Minor
8 years ago
Behdad Esfahbod
93ef684b9b
Rename hb-ot-layout-math-table.hh to hb-ot-math-table.hh
8 years ago
Behdad Esfahbod
3b5263b0e9
Typo
8 years ago
ebraminio
ebf927d3d4
Make UCDN default enabled ( fixes #389 ) ( #391 )
8 years ago
Behdad Esfahbod
00adf9c8a4
Minor
...
Should be enough to get -hangul.cc out of SOURCES in Firefox build:
https://dxr.mozilla.org/mozilla-central/source/gfx/harfbuzz/src/moz.build
No one else should care!
8 years ago
Behdad Esfahbod
7cf9952e7f
[USE] Remove non-canonical decompositions
...
We have had added this in Indic shaper to assist shaping these scripts.
In Universal Shaping Engine however, it is up to font designer to
decompose them. Hence moving them from Indic shaper to USE was
wrong.
Fixup for f6ba63b2e8
Part of fixing https://github.com/behdad/harfbuzz/issues/387
8 years ago
Khaled Hosny
b435c7c46a
[graphite] Stop creating unused gr_face
...
It is unused after previous commit, hb_graphite2_font_get_gr_font()
makes no sense now so deprecating it.
8 years ago
Khaled Hosny
1b00a3b048
[graphite] Fix shaping with varying font sizes
...
Shape using design units and scale the output.
See https://bugs.documentfoundation.org/show_bug.cgi?id=103403#c7
8 years ago
Behdad Esfahbod
af596a5655
1.4.1
8 years ago
Behdad Esfahbod
31f7b1bb94
Add tests for USE using Marchen font and text
...
From http://www.babelstone.co.uk/Fonts/Marchen.html
8 years ago
Behdad Esfahbod
53543f8b3e
Ship UCDN and use it by default
...
So we are not relying on version of Unicode data in glib...
Fixes https://github.com/behdad/harfbuzz/issues/386
Fixes https://github.com/behdad/harfbuzz/issues/388
8 years ago
Behdad Esfahbod
f339706947
1.4.0
8 years ago
Frédéric Wang
ae00af4a47
Move math-specific code from hb-ot-layout to hb-ot-math #235 ( #384 )
8 years ago
Behdad Esfahbod
e053ccc5bb
Remove Android.mk
...
Android uses its own file these days and third-party developers should
be using the autotools-based system against Android NDK.
8 years ago
Behdad Esfahbod
6cff753941
Remove Tibetan decomposition rules from Indic shaper
...
The decomposition is very obscure and unlikely to help
any fonts. Just remove it since Uniscribe probably doesn't
do this either.
Fixes https://github.com/behdad/harfbuzz/issues/382
8 years ago
Behdad Esfahbod
f6ba63b2e8
Port decompositions from Indic to USE shaper
...
Part of https://github.com/behdad/harfbuzz/issues/382
8 years ago
Behdad Esfahbod
e678b537f7
[indic] Remove Chakma decomposition rule from Indic shaper
...
This is now added to USE:
https://github.com/behdad/harfbuzz/pull/383
See:
https://github.com/behdad/harfbuzz/issues/381
https://github.com/behdad/harfbuzz/issues/382
8 years ago
jfkthame
49ba698124
[use] Special-case Chakma split-vowel decomp in the USE shaper. ( #383 )
8 years ago
Behdad Esfahbod
c4ca49d55b
Revert "[indic] Remove redundant Chakma decomposition rule"
...
This reverts commit 805f76fc00
.
Need to investigate why having this rule (with the reversed order)
fixes decomposition as reported by punchcutter:
https://github.com/behdad/harfbuzz/issues/381#issuecomment-269237796
8 years ago
Behdad Esfahbod
805f76fc00
[indic] Remove redundant Chakma decomposition rule
...
This was not used BTW since Chakma doesn't go through Indic shaper
anymore.
See:
https://github.com/behdad/harfbuzz/issues/381
https://github.com/behdad/harfbuzz/issues/382
8 years ago
Behdad Esfahbod
3cc48a46b5
[indix] Comment
8 years ago
nvelinov
7d1c5d8281
Compilation Error for ASSERT_STATIC on Some Compilers ( #380 )
...
* this pointer in type definitions is not interpreted as a constant.
This rule is not enforced strictly by all compilers, but the Green Hills Software compiler will regard this as an error.
* Merging branches for the DEFINE_SIZE_UNION macro
Adding check for the existence of static_size field in the tested member.
8 years ago
Behdad Esfahbod
e2b878055b
Disable OTL processing for Hebrew if GPOS doesn't have Hebrew subtable
...
New approach to fix this:
69f9fbc420
Previous approach was reverted as it was too broad. See context:
https://github.com/behdad/harfbuzz/issues/347#issuecomment-267838368
With U+05E9,U+05B8,U+05C1,U+05DC and Arial Unicode, we now (correctly) disable
GDEF and GPOS, so we get results very close to Uniscribe, but slightly different
since our fallback position logic is not exactly the same:
Before: [gid1166=3+991|gid1142=0+737|gid5798=0+1434]
After: [gid1166=3+991|gid1142=0@402,-26+0|gid5798=0+1434]
Uniscribe: [gid1166=3+991|gid1142=0@348,0+0|gid5798=0+1434]
8 years ago
Behdad Esfahbod
1a0f4aa6df
Revert "Synthesize GDEF glyph class for any glyph that does not have one in GDEF"
...
This reverts commit 69f9fbc420
.
See https://github.com/behdad/harfbuzz/issues/347#issuecomment-268873401
Fixes https://github.com/behdad/harfbuzz/issues/347
8 years ago
Behdad Esfahbod
4b4a1b9f23
Fix assert fail with contextual matching
...
As discovered by libFuzzer / Chromium fuzzing.
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=659496
CC https://github.com/behdad/harfbuzz/issues/139
8 years ago
Behdad Esfahbod
df98ce5fc8
Improve debug output with really deep nesting
8 years ago
Behdad Esfahbod
eab418c5e6
Avoid infinite loop in CoverageFormat2 iteration with bad fonts
...
Fixes https://github.com/behdad/harfbuzz/issues/363
8 years ago
Behdad Esfahbod
a0688e8e7b
Ouch, finish previous change
8 years ago
Behdad Esfahbod
de14c19d14
[fuzzer] Separate main() into a new file
8 years ago
Behdad Esfahbod
7ed71eb347
Protect collect_glyphs() and closure() against malicious DDOS fonts
...
Fixes https://github.com/behdad/harfbuzz/issues/363
8 years ago