Behdad Esfahbod [Wed, 21 Dec 2016 02:52:50 +0000 (20:52 -0600)]
Ouch, finish previous change
Behdad Esfahbod [Wed, 21 Dec 2016 02:50:38 +0000 (20:50 -0600)]
[fuzzer] Separate main() into a new file
Behdad Esfahbod [Tue, 20 Dec 2016 21:01:16 +0000 (15:01 -0600)]
Protect collect_glyphs() and closure() against malicious DDOS fonts
Fixes https://github.com/behdad/harfbuzz/issues/363
Mike Hommey [Fri, 30 Sep 2016 09:15:37 +0000 (18:15 +0900)]
Support building with older glib versions
It is desirable to be able to build against older versions of glib.
fd7a245 changed the configure check to require glib > 2.38 for
G_TEST_DIST. Before that, version 2.16 was required, but in fact,
since aafe395, G_PASTE is being used, which was introduced in 2.19.1.
And since
0ef179e2, hb-glib uses GBytes, which were introduced in
2.31.10.
2.19.1 is rather old, but 2.38 is rather new. For Firefox, building
against 2.22 is still supported, although we could probably get away
with bumping that to 2.28. Either way, GBytes is not available.
Arguably, if you build against a glib that doesn't support GBytes,
you're not going to use the hb_glib_blob_create function, so we hide
the function when building against such a glib.
As for G_TEST_DIST, when building against versions of glib that don't
support it, we can fallback to the previous behavior, which, AIUI, was
just making the test not work when building in a separate directory.
Volker H. Simonis [Wed, 14 Dec 2016 17:56:17 +0000 (18:56 +0100)]
Minor fixes to pacify Coverity code scan
Fixes https://github.com/behdad/harfbuzz/pull/377
ebraminio [Sat, 17 Dec 2016 07:00:40 +0000 (10:30 +0330)]
[dwrite] Provide an experimental API for justification (#279)
elmarb [Wed, 7 Dec 2016 10:50:27 +0000 (11:50 +0100)]
NMake ICU option builds with builtin ICU (#375)
Khaled Hosny [Mon, 5 Dec 2016 21:20:47 +0000 (23:20 +0200)]
[win32] Fix wrong description of the ICU option (#372)
Behdad Esfahbod [Wed, 28 Sep 2016 15:16:06 +0000 (17:16 +0200)]
Fix build after rebasing opentype-gx branch on top of MATH table
Behdad Esfahbod [Wed, 28 Sep 2016 15:05:43 +0000 (17:05 +0200)]
[GX] Apply 'rvrn' feature before any other feature
Behdad Esfahbod [Tue, 13 Sep 2016 21:49:46 +0000 (23:49 +0200)]
[GX] Fix build with older FreeType
Sascha Brawer [Tue, 13 Sep 2016 16:40:07 +0000 (18:40 +0200)]
Call hb_font_set_var_coords_normalized() from FT_Face coords
Behdad Esfahbod [Sat, 10 Sep 2016 11:52:34 +0000 (04:52 -0700)]
[GX] Make FeatureVariations actually work
Yay!!!!
Behdad Esfahbod [Sat, 10 Sep 2016 10:57:24 +0000 (03:57 -0700)]
[GX] Hook up feature variations
Shape-plan caching is not implemented.
Behdad Esfahbod [Sat, 10 Sep 2016 10:53:11 +0000 (03:53 -0700)]
[GX] Add hb_ot_layout_feature_with_variations_get_lookups()
Behdad Esfahbod [Sat, 10 Sep 2016 10:32:39 +0000 (03:32 -0700)]
[GX] Add hb_ot_layout_table_find_feature_variations()
Behdad Esfahbod [Sat, 10 Sep 2016 09:44:20 +0000 (02:44 -0700)]
Shuffle code around
Behdad Esfahbod [Sat, 10 Sep 2016 09:43:20 +0000 (02:43 -0700)]
Move add_lookups from map to map-builder
In prep for more changes.
Behdad Esfahbod [Sat, 10 Sep 2016 09:11:05 +0000 (02:11 -0700)]
[GX] Remove (partial) support for anisotropic variations
It doesn't always work, not part of FreeType, and we were not going
to expose it in the API anyway. Can always be added later.
Behdad Esfahbod [Sat, 10 Sep 2016 08:58:27 +0000 (01:58 -0700)]
[GX] Handle setting var coords to NULL
Behdad Esfahbod [Sat, 10 Sep 2016 08:24:28 +0000 (01:24 -0700)]
[GX] Implement Feature Variations
Not hooked up to shaper yet.
Behdad Esfahbod [Sat, 10 Sep 2016 07:25:16 +0000 (00:25 -0700)]
[GX] Fix another x/y thinko
Thanks Werner!
Behdad Esfahbod [Sat, 10 Sep 2016 07:22:24 +0000 (00:22 -0700)]
[GX] Rename VarStore to VariationStore
Behdad Esfahbod [Sat, 10 Sep 2016 07:01:10 +0000 (00:01 -0700)]
[GX] Fix build with some compilers
Eg. https://ci.appveyor.com/project/behdad/harfbuzz/build/1.0.48/job/o9mnd33kcdeeg30r
hb-open-type-private.hh:103:29: error: static data member 'OT::Device::<anonymous union>::<anonymous struct>::static_size' in unnamed class [-fpermissive]
Behdad Esfahbod [Sat, 10 Sep 2016 06:12:14 +0000 (23:12 -0700)]
[GX] Skip tail zero entries when setting variation coordinates
Behdad Esfahbod [Sat, 10 Sep 2016 05:48:27 +0000 (22:48 -0700)]
[GX] Fix thinko
Behdad Esfahbod [Sat, 10 Sep 2016 05:23:34 +0000 (22:23 -0700)]
[GX] Add new API hb_font_set_var_coords_normalized()
Will probably change.
Behdad Esfahbod [Sat, 10 Sep 2016 00:03:11 +0000 (17:03 -0700)]
[GX] Hook up GPOS to Variation Store stored in GDEF
Untested.
Behdad Esfahbod [Fri, 9 Sep 2016 23:51:07 +0000 (16:51 -0700)]
[GX] Change GDEF API to return varStore
Behdad Esfahbod [Fri, 9 Sep 2016 23:27:03 +0000 (16:27 -0700)]
[GX] Pass apply-context down to get_anchor()
Needed to access GDEF for varStore.
Behdad Esfahbod [Fri, 9 Sep 2016 23:22:45 +0000 (16:22 -0700)]
[GX] Add varStore member to GDEF
Still not hooked up from GPOS.
Behdad Esfahbod [Fri, 9 Sep 2016 23:05:17 +0000 (16:05 -0700)]
Minor change to GDEF, in prep for new version
Behdad Esfahbod [Fri, 9 Sep 2016 22:40:15 +0000 (15:40 -0700)]
[GX] Port variation stuff to Variation Store design
Not hooked up to GDEF yet.
Behdad Esfahbod [Fri, 9 Sep 2016 22:39:52 +0000 (15:39 -0700)]
Make OffsetArrayOf take OffsetType template argument
Behdad Esfahbod [Fri, 9 Sep 2016 20:17:33 +0000 (13:17 -0700)]
[GX] Revert "[GX] Add VariationAlternates, to allow conditional lookups in GSUB/GPOS"
This reverts commit
2859f1c7174d6f7ae5dcf0db5411bc0182b21594.
We are going in a different direction.
Behdad Esfahbod [Fri, 9 Sep 2016 20:08:52 +0000 (13:08 -0700)]
[GX] Free GX coordinates
Behdad Esfahbod [Fri, 18 Mar 2016 22:52:24 +0000 (15:52 -0700)]
[GX] Add compact VariationDevice implementation
Add compact format that uses signed bytes instead of shorts.
Behdad Esfahbod [Sun, 13 Mar 2016 07:49:09 +0000 (23:49 -0800)]
[GX] Add VariationAlternates, to allow conditional lookups in GSUB/GPOS
Not hooked up to runtime yet.
Behdad Esfahbod [Sun, 13 Mar 2016 07:28:12 +0000 (23:28 -0800)]
[GX] Minor
Behdad Esfahbod [Wed, 2 Mar 2016 20:54:35 +0000 (12:54 -0800)]
[GX] Minor
Behdad Esfahbod [Wed, 2 Mar 2016 03:41:49 +0000 (12:41 +0900)]
[GX] Minor rename
Behdad Esfahbod [Wed, 2 Mar 2016 03:21:36 +0000 (12:21 +0900)]
[GX] Hookup VariationDevice to Device table implementation
Behdad Esfahbod [Tue, 1 Mar 2016 10:42:24 +0000 (19:42 +0900)]
[GX] Break out early if factor is zero
Also disable sanity-checking of variation records.
Behdad Esfahbod [Tue, 1 Mar 2016 10:29:36 +0000 (19:29 +0900)]
[GX] Towards anisotropic interpolation
Also hookup to ValueRecord and Anchors.
Behdad Esfahbod [Tue, 1 Mar 2016 10:12:08 +0000 (19:12 +0900)]
[GX] Add data types for encoding numerical variations
Behdad Esfahbod [Mon, 5 Dec 2016 21:42:28 +0000 (13:42 -0800)]
1.3.4
Behdad Esfahbod [Mon, 5 Dec 2016 04:28:38 +0000 (20:28 -0800)]
[hb-fuzzer] Get glyph extents for output glyphs
To exercise glyph-extents codepaths (glyf / CBLC+CBDT).
Behdad Esfahbod [Mon, 5 Dec 2016 03:55:17 +0000 (19:55 -0800)]
[CBDT] Add test for fetching glyph extents
Behdad Esfahbod [Mon, 5 Dec 2016 03:43:33 +0000 (19:43 -0800)]
[CBDT] Minor
Behdad Esfahbod [Mon, 5 Dec 2016 03:36:30 +0000 (19:36 -0800)]
[CBDT] Fix thinko!
Behdad Esfahbod [Mon, 5 Dec 2016 03:26:54 +0000 (19:26 -0800)]
[CBDT] Implement IndexSubtableFormat3
Behdad Esfahbod [Mon, 5 Dec 2016 03:12:52 +0000 (19:12 -0800)]
[cbdt] Move some more code around
Behdad Esfahbod [Mon, 5 Dec 2016 02:56:24 +0000 (18:56 -0800)]
Behdad Esfahbod [Sat, 3 Dec 2016 06:43:05 +0000 (22:43 -0800)]
[cbdt] Last of sanitization fixes
Should be all good now..
Behdad Esfahbod [Sat, 3 Dec 2016 05:36:42 +0000 (21:36 -0800)]
[cbdt] Clean up some more
Almost there..
Behdad Esfahbod [Sat, 3 Dec 2016 04:12:57 +0000 (20:12 -0800)]
[cbdt] More sanitize work
Behdad Esfahbod [Sat, 3 Dec 2016 03:51:23 +0000 (19:51 -0800)]
Check for offset overflows during sanitize
Behdad Esfahbod [Sat, 3 Dec 2016 03:25:54 +0000 (19:25 -0800)]
[cbdt] Start fixing sanitization (or lack thereof)
Behdad Esfahbod [Fri, 2 Dec 2016 23:21:43 +0000 (15:21 -0800)]
[CBDT] Use CHAR instead of int8_t
Behdad Esfahbod [Fri, 2 Dec 2016 23:11:37 +0000 (15:11 -0800)]
Rename 'ebdt' to 'cbdt' since we only support the PNG format
Seigo Nonaka [Fri, 2 Dec 2016 23:03:50 +0000 (15:03 -0800)]
Introduce get_extent support for color bitmap font. (#351)
hb_font_get_glyph_extents now works for color bitmap fonts.
Currently only font having index format 1 and image format 17
is supported.
Ebrahim Byagowi [Fri, 28 Oct 2016 18:19:11 +0000 (21:49 +0330)]
Fix "nmake install" when ADDITIONAL_LIB_DIR is provided and test it on CI (#356)
Behdad Esfahbod [Wed, 26 Oct 2016 16:27:48 +0000 (18:27 +0200)]
[tests] Add tests for vertical origin with ft and ot font-funcs
Behdad Esfahbod [Wed, 26 Oct 2016 16:12:50 +0000 (18:12 +0200)]
Use horizontal ascent as fallback vertical origin
Behdad Esfahbod [Wed, 26 Oct 2016 16:08:41 +0000 (18:08 +0200)]
Move code around
Behdad Esfahbod [Wed, 26 Oct 2016 15:54:04 +0000 (17:54 +0200)]
[hb-ot-font] Use ascent+descent as fallback vertical advance
Behdad Esfahbod [Wed, 26 Oct 2016 15:44:16 +0000 (17:44 +0200)]
Fix vertical glyph origin with hb-ot-font
Behdad Esfahbod [Wed, 26 Oct 2016 15:19:07 +0000 (17:19 +0200)]
Fix vertical font metrics
Ouch!
Behdad Esfahbod [Wed, 26 Oct 2016 14:17:15 +0000 (16:17 +0200)]
1.3.3
Behdad Esfahbod [Wed, 26 Oct 2016 14:04:30 +0000 (16:04 +0200)]
Fix "make distcheck"
Behdad Esfahbod [Wed, 26 Oct 2016 08:33:33 +0000 (10:33 +0200)]
[ci] Fix appveyor.yml syntax error
Behdad Esfahbod [Sun, 23 Oct 2016 12:39:43 +0000 (14:39 +0200)]
[gobject] Update for new MATH structs
Khaled Hosny [Mon, 24 Oct 2016 21:31:36 +0000 (00:31 +0300)]
Merge pull request #352 from fred-wang/makefile-am
Remove inexistent file ttx file from test/api/Makefile.am
Frédéric Wang [Mon, 24 Oct 2016 19:42:04 +0000 (21:42 +0200)]
Remove inexistent file ttx file from test/api/Makefile.am
Ebrahim Byagowi [Sat, 22 Oct 2016 08:53:05 +0000 (12:23 +0330)]
Merge pull request #349 from ebraminio/mergebackvcpkgpatches
[ci] Enable hb-freetype on Windows build tests
Ebrahim Byagowi [Fri, 21 Oct 2016 08:18:58 +0000 (11:48 +0330)]
[ci] Enable freetype on msvc using vcpkg
Ebrahim Byagowi [Tue, 18 Oct 2016 11:00:00 +0000 (14:30 +0330)]
Merge back @vlj's local patches of vcpkg
Ebrahim Byagowi [Fri, 14 Oct 2016 10:24:55 +0000 (13:54 +0330)]
Merge pull request #340 from ebraminio/nouniscribe
Make Uniscribe optional on nmake win32 builds
Ebrahim Byagowi [Sun, 9 Oct 2016 05:36:05 +0000 (09:06 +0330)]
Make Uniscribe optional on nmake win32 builds
Most of harfbuzz clients don't need Uniscribe and DirectWrite support at all
as harfbuzz is a replacement for Uniscribe so Chromium and Firefox are using
harfbuzz without them on Windows.
This removal also helps win32 nmake clients to have reduced binary size and
libs count.
Behdad Esfahbod [Tue, 11 Oct 2016 20:45:22 +0000 (13:45 -0700)]
Fix configure on iOS
Fixes https://github.com/behdad/harfbuzz/issues/342
Ebrahim Byagowi [Tue, 11 Oct 2016 13:53:41 +0000 (17:23 +0330)]
Merge pull request #344 from ebraminio/fixmacci
[ci] Whitelist more symbols and unbreak mac CI
Ebrahim Byagowi [Mon, 10 Oct 2016 13:57:52 +0000 (17:27 +0330)]
[ci] Whitelist more symbols and unbreak mac CI
Thanks to @khaledhosny, actually this is his work :)
Behdad Esfahbod [Tue, 4 Oct 2016 21:53:17 +0000 (14:53 -0700)]
LFS (large file system?) support in hb-*shap*, hb-view
Fixes https://github.com/behdad/harfbuzz/issues/336
Behdad Esfahbod [Wed, 28 Sep 2016 17:17:27 +0000 (19:17 +0200)]
Fix dist
Behdad Esfahbod [Wed, 28 Sep 2016 17:11:22 +0000 (19:11 +0200)]
Aim math API for 1.3.3 instead of 1.4.0
Khaled Hosny [Fri, 30 Sep 2016 11:01:24 +0000 (04:01 -0700)]
Fix building math docs (#335)
Behdad Esfahbod [Tue, 27 Sep 2016 15:56:35 +0000 (17:56 +0200)]
Require glib >= 2.38.0 for G_TEST_DIST
Behdad Esfahbod [Tue, 27 Sep 2016 15:15:59 +0000 (17:15 +0200)]
Merge branch 'math'
Supercedes https://github.com/behdad/harfbuzz/pull/326
Fixes https://github.com/behdad/harfbuzz/pull/331
Behdad Esfahbod [Tue, 27 Sep 2016 14:51:38 +0000 (16:51 +0200)]
[MATH] Fix more docs
Behdad Esfahbod [Tue, 27 Sep 2016 14:44:22 +0000 (16:44 +0200)]
[MATH] Rename hb_math_*_t types to hb_ot_math_*_t
With this, I believe MATH table API is not ready to be merged.
Behdad Esfahbod [Tue, 27 Sep 2016 14:42:25 +0000 (16:42 +0200)]
Update docs
Frédéric Wang [Tue, 27 Sep 2016 13:28:35 +0000 (15:28 +0200)]
Document API for MathVariants (#330)
Frédéric Wang [Tue, 27 Sep 2016 11:53:34 +0000 (13:53 +0200)]
Add tests for get_mathvariant (#329)
Behdad Esfahbod [Tue, 27 Sep 2016 11:50:54 +0000 (13:50 +0200)]
1.3.2
Frédéric Wang [Tue, 27 Sep 2016 11:18:00 +0000 (13:18 +0200)]
Add tests for hb_ot_math_get_glyph_variants (#328)
Phil Krylov [Tue, 27 Sep 2016 10:38:49 +0000 (12:38 +0200)]
Allow building with graphite2 without pkg-config (#318)
Behdad Esfahbod [Tue, 27 Sep 2016 09:30:44 +0000 (11:30 +0200)]
[MATH] Simplify test
Frédéric Wang [Tue, 27 Sep 2016 09:02:08 +0000 (11:02 +0200)]
test-ot-math: Use different scales for vertical and horizontal directions and add test for hb_ot_math_get_min_connector_overlap. (#327)
Behdad Esfahbod [Tue, 27 Sep 2016 08:58:08 +0000 (10:58 +0200)]
[MATH] Add HB_OT_MATH_SCRIPT
Behdad Esfahbod [Mon, 26 Sep 2016 20:18:41 +0000 (22:18 +0200)]
[MATH] Enable tests for glyph-assembly italics-correction