Behdad Esfahbod
9ac9af725c
Add TODO item
8 years ago
Behdad Esfahbod
5aec2fb8d0
Remove TODO item that is not going to happen
8 years ago
Behdad Esfahbod
b9b005f3a4
Fix Context lookup application when moving back after a glyph delete
...
This was broken forever, since days that we did not allow moving
tape backwards. Works now. Reported by Doug Felt.
8 years ago
Behdad Esfahbod
a11501444c
Add few tests found by libFuzzer and oss-fuzz
8 years ago
Behdad Esfahbod
85630996b8
Fix buffer-overrun with Bengali reph positioning code
...
This has no security implications whatsoever since we always keep
and extra element at the end of buffer, just in case.
Discovered by oss-fuzz
CC https://github.com/behdad/harfbuzz/issues/139
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=660
8 years ago
Behdad Esfahbod
6685d281d6
1.4.3
8 years ago
Dominik Röttsches
a657f23ca3
Blacklist another instance of Padauk ( #419 )
...
In https://crbug.com/681813 another instance of Padauk was identified
triggering collapsed glyphs. Blacklist this version by patching
hb-ot-layout.cc to print out gdef, gsub, and gpos table length, then
adding those to the list of blacklisted versions.
8 years ago
ebraminio
70202983f5
[ci] Disable vcpkg freetype installation and fix Appveyor CI ( #422 )
8 years ago
jfkthame
44f7d6ecde
Guard against underflow when adjusting length ( #421 )
...
* Guard against underflow when adjusting length
With the fuzz-testcase in mozilla bug 1295299, we end up with a recursed lookup that removes 3 items, when `match_positions[idx]` is 0, which results in (unsigned) `end` wrapping to a huge value.
Making `end` a signed int is probably the simplest route to a fix.
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1295299 .
* Add testcase for #421 .
8 years ago
jfkthame
45766b673f
[indic] Add support for Grantha marks that may be used in Tamil to th… ( #401 )
...
* [indic] Add support for Grantha marks that may be used in Tamil to the Indic table.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1331339 .
Testcase: U+0BA4,U+0BC6,U+1133c,U+0BAA,U+1133c,U+0BC6,U+1133c
* [indic] Add test for Grantha nukta that is allowed in Tamil by ScriptExtensions.txt
8 years ago
Behdad Esfahbod
d4bb52b9fd
Unbreak hb-coretext build
8 years ago
Behdad Esfahbod
c8dfed8e1e
Merge pull request #357 from khaledhosny/graphite-scale
...
[graphite] Fix shaping with varying font sizes
8 years ago
Behdad Esfahbod
7c47474f20
Set LC_ALL instead of LANG when creating harfbuzz.def
...
Hopefully fixes Travis faliure?
https://github.com/behdad/harfbuzz/pull/413#issuecomment-278481882
https://travis-ci.org/khaledhosny/harfbuzz/jobs/199785332#L1065
8 years ago
Philip Withnall
ffde3c9f9e
hb-font: Fix a potentially undefined use of memcmp() ( #413 )
...
While it’s fine to call memcmp(x, 0, 0) in practice, the C99 standard
explicitly says that this is not allowed: even if the length is zero,
the pointer arguments must be valid.
http://stackoverflow.com/a/16363034
Coverity ID: 141178
Signed-off-by: Philip Withnall <withnall@endlessm.com>
8 years ago
Behdad Esfahbod
09594df1ae
Update ax_pthread.m4 to latest upstream version
...
Might help with https://github.com/behdad/harfbuzz/issues/399
8 years ago
Philip Withnall
a6ced90efc
test: Fix some memory leaks in test-font.c ( #409 )
...
Coverity IDs: 141039, 141040, 141041
8 years ago
Philip Withnall
925ceacfed
util: Add missing field initialisers in constructor ( #410 )
...
Coverity ID: 141042
8 years ago
Behdad Esfahbod
73c6dcbb45
Silence Coverity warning
...
Fixes https://github.com/behdad/harfbuzz/issues/408
8 years ago
Behdad Esfahbod
466b3e58bd
Shuffle things around a bit
8 years ago
Behdad Esfahbod
fc8189b639
Minor
8 years ago
Behdad Esfahbod
d3d3691806
Add dirty-state tracking to hb_face_t
8 years ago
Behdad Esfahbod
2171f48b4b
Add dirty-state tracking to hb_font_t
8 years ago
Behdad Esfahbod
95808bad2c
Add new API hb_font_set_face()
...
For completeness.
8 years ago
jfkthame
4ec19319ab
Add Win10 Anniversary Update version of Tahoma to GDEF blacklist. ( #412 )
8 years ago
Behdad Esfahbod
1dd630a7f2
Minor
...
Fixes https://github.com/behdad/harfbuzz/issues/411
8 years ago
Behdad Esfahbod
e888f642db
Route Adlam through Arabic shaper
...
Fixes joined Adlam rendering.
Fixes https://github.com/googlei18n/noto-fonts/issues/828
8 years ago
jfkthame
72c754873c
Add Win7 version of himalaya.ttf to the GDEF table blacklist. ( #407 )
8 years ago
Behdad Esfahbod
22af28a3f1
[var] Implement MVAR table
...
Unhooked. Untested.
8 years ago
Behdad Esfahbod
67a191164d
[var] Whitespace
8 years ago
Behdad Esfahbod
6af6c1114a
1.4.2
8 years ago
Behdad Esfahbod
79e8e27ffd
[var] Hook up advance variations to hb-ot-font
...
Yay, works!
8 years ago
Behdad Esfahbod
6074340371
[var] Fix bug in HVAR/VVAR impl
8 years ago
Behdad Esfahbod
bd3b11d926
[var] Prepare for hooking up advance variations to hb-ot-font
8 years ago
Behdad Esfahbod
a4fca9f005
[var] Implement DeltaSetIndexMap and advance delta fetching
...
Not hooked up to hb-ot-font yet.
8 years ago
Behdad Esfahbod
7b399f73ef
[var] Start adding HVAR/VVAR
8 years ago
Behdad Esfahbod
b732c53eb5
Add LArrayOf<>
8 years ago
Behdad Esfahbod
5e156fa5ed
Add LOffsetTo<>
8 years ago
Behdad Esfahbod
d6bdbbca30
[var] Remove HB_OT_TAG_fvar/avar
...
We're not going to define public macros for tags for tables.
There's little use to those and they are implementation detail.
8 years ago
Behdad Esfahbod
a11d9a0466
Minor
8 years ago
Behdad Esfahbod
7a860f656e
[var] Add macros for standard axes
8 years ago
Behdad Esfahbod
a484e237b1
[var] Implement 'avar' table mapping
...
Untested!
8 years ago
Behdad Esfahbod
a429090572
[var] Flesh out --variations documentation
8 years ago
Behdad Esfahbod
5ec96d30ca
[var] Adjust API in prep for 'avar' implementation
...
The 'avar' table does not allow random access to axis maps,
so change API to avoid quadratic-time implementation.
Removed -hb_ot_var_normalize_axis_value(), added
+hb_ot_var_normalize_variations() and
+hb_ot_var_normalize_coords() instead.
8 years ago
Behdad Esfahbod
8a577aaa0d
[var] Stub implementation of avar table
8 years ago
Behdad Esfahbod
7647a05a0b
Minor
8 years ago
Behdad Esfahbod
d2f249e745
Stub out doc comments for new symbols
8 years ago
Behdad Esfahbod
5dfd341f51
Minor
8 years ago
Behdad Esfahbod
825e40407d
[hb-ft] Remove use of variable-length array
...
Hopefully also fixes build failure on msvc.
8 years ago
Behdad Esfahbod
47ee34e847
[var] Hook up variations to FreeType face
...
hb-view correctly renders variations with ft font-funcs now.
hb-ot-font needs HVAR implementation.
8 years ago
Behdad Esfahbod
111f3e5517
[util] Add --variations
...
Is hooked up to the font, but not to FreeType, so raster doesn't show yet.
Documentation needs to be done.
8 years ago