platform/upstream/libHarfBuzzSharp.git
7 years ago[GX] Rename VarStore to VariationStore
Behdad Esfahbod [Sat, 10 Sep 2016 07:22:24 +0000 (00:22 -0700)]
[GX] Rename VarStore to VariationStore

7 years ago[GX] Fix build with some compilers
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]

7 years ago[GX] Skip tail zero entries when setting variation coordinates
Behdad Esfahbod [Sat, 10 Sep 2016 06:12:14 +0000 (23:12 -0700)]
[GX] Skip tail zero entries when setting variation coordinates

7 years ago[GX] Fix thinko
Behdad Esfahbod [Sat, 10 Sep 2016 05:48:27 +0000 (22:48 -0700)]
[GX] Fix thinko

7 years ago[GX] Add new API hb_font_set_var_coords_normalized()
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.

7 years ago[GX] Hook up GPOS to Variation Store stored in GDEF
Behdad Esfahbod [Sat, 10 Sep 2016 00:03:11 +0000 (17:03 -0700)]
[GX] Hook up GPOS to Variation Store stored in GDEF

Untested.

7 years ago[GX] Change GDEF API to return varStore
Behdad Esfahbod [Fri, 9 Sep 2016 23:51:07 +0000 (16:51 -0700)]
[GX] Change GDEF API to return varStore

7 years ago[GX] Pass apply-context down to get_anchor()
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.

7 years ago[GX] Add varStore member to GDEF
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.

7 years agoMinor change to GDEF, in prep for new version
Behdad Esfahbod [Fri, 9 Sep 2016 23:05:17 +0000 (16:05 -0700)]
Minor change to GDEF, in prep for new version

7 years ago[GX] Port variation stuff to Variation Store design
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.

7 years agoMake OffsetArrayOf take OffsetType template argument
Behdad Esfahbod [Fri, 9 Sep 2016 22:39:52 +0000 (15:39 -0700)]
Make OffsetArrayOf take OffsetType template argument

7 years ago[GX] Revert "[GX] Add VariationAlternates, to allow conditional lookups in GSUB/GPOS"
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.

7 years ago[GX] Free GX coordinates
Behdad Esfahbod [Fri, 9 Sep 2016 20:08:52 +0000 (13:08 -0700)]
[GX] Free GX coordinates

7 years ago[GX] Add compact VariationDevice implementation
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.

7 years ago[GX] Add VariationAlternates, to allow conditional lookups in GSUB/GPOS
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.

7 years ago[GX] Minor
Behdad Esfahbod [Sun, 13 Mar 2016 07:28:12 +0000 (23:28 -0800)]
[GX] Minor

7 years ago[GX] Minor
Behdad Esfahbod [Wed, 2 Mar 2016 20:54:35 +0000 (12:54 -0800)]
[GX] Minor

7 years ago[GX] Minor rename
Behdad Esfahbod [Wed, 2 Mar 2016 03:41:49 +0000 (12:41 +0900)]
[GX] Minor rename

7 years ago[GX] Hookup VariationDevice to Device table implementation
Behdad Esfahbod [Wed, 2 Mar 2016 03:21:36 +0000 (12:21 +0900)]
[GX] Hookup VariationDevice to Device table implementation

7 years ago[GX] Break out early if factor is zero
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.

7 years ago[GX] Towards anisotropic interpolation
Behdad Esfahbod [Tue, 1 Mar 2016 10:29:36 +0000 (19:29 +0900)]
[GX] Towards anisotropic interpolation

Also hookup to ValueRecord and Anchors.

7 years ago[GX] Add data types for encoding numerical variations
Behdad Esfahbod [Tue, 1 Mar 2016 10:12:08 +0000 (19:12 +0900)]
[GX] Add data types for encoding numerical variations

7 years ago1.3.4
Behdad Esfahbod [Mon, 5 Dec 2016 21:42:28 +0000 (13:42 -0800)]
1.3.4

7 years ago[hb-fuzzer] Get glyph extents for output glyphs
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).

7 years ago[CBDT] Add test for fetching glyph extents
Behdad Esfahbod [Mon, 5 Dec 2016 03:55:17 +0000 (19:55 -0800)]
[CBDT] Add test for fetching glyph extents

7 years ago[CBDT] Minor
Behdad Esfahbod [Mon, 5 Dec 2016 03:43:33 +0000 (19:43 -0800)]
[CBDT] Minor

7 years ago[CBDT] Fix thinko!
Behdad Esfahbod [Mon, 5 Dec 2016 03:36:30 +0000 (19:36 -0800)]
[CBDT] Fix thinko!

7 years ago[CBDT] Implement IndexSubtableFormat3
Behdad Esfahbod [Mon, 5 Dec 2016 03:26:54 +0000 (19:26 -0800)]
[CBDT] Implement IndexSubtableFormat3

7 years ago[cbdt] Move some more code around
Behdad Esfahbod [Mon, 5 Dec 2016 03:12:52 +0000 (19:12 -0800)]
[cbdt] Move some more code around

7 years ago[cbdt] Fix sign bug
Behdad Esfahbod [Mon, 5 Dec 2016 02:56:24 +0000 (18:56 -0800)]
[cbdt] Fix sign bug

Was introduced in d495fc5e38038f4cfb20425b1109324fa70bf2f9

7 years ago[cbdt] Last of sanitization fixes
Behdad Esfahbod [Sat, 3 Dec 2016 06:43:05 +0000 (22:43 -0800)]
[cbdt] Last of sanitization fixes

Should be all good now..

7 years ago[cbdt] Clean up some more
Behdad Esfahbod [Sat, 3 Dec 2016 05:36:42 +0000 (21:36 -0800)]
[cbdt] Clean up some more

Almost there..

7 years ago[cbdt] More sanitize work
Behdad Esfahbod [Sat, 3 Dec 2016 04:12:57 +0000 (20:12 -0800)]
[cbdt] More sanitize work

7 years agoCheck for offset overflows during sanitize
Behdad Esfahbod [Sat, 3 Dec 2016 03:51:23 +0000 (19:51 -0800)]
Check for offset overflows during sanitize

7 years ago[cbdt] Start fixing sanitization (or lack thereof)
Behdad Esfahbod [Sat, 3 Dec 2016 03:25:54 +0000 (19:25 -0800)]
[cbdt] Start fixing sanitization (or lack thereof)

7 years ago[CBDT] Use CHAR instead of int8_t
Behdad Esfahbod [Fri, 2 Dec 2016 23:21:43 +0000 (15:21 -0800)]
[CBDT] Use CHAR instead of int8_t

7 years agoRename 'ebdt' to 'cbdt' since we only support the PNG format
Behdad Esfahbod [Fri, 2 Dec 2016 23:11:37 +0000 (15:11 -0800)]
Rename 'ebdt' to 'cbdt' since we only support the PNG format

7 years agoIntroduce get_extent support for color bitmap font. (#351)
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.

7 years agoFix "nmake install" when ADDITIONAL_LIB_DIR is provided and test it on CI (#356)
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)

7 years ago[tests] Add tests for vertical origin with ft and ot font-funcs
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

7 years agoUse horizontal ascent as fallback vertical origin
Behdad Esfahbod [Wed, 26 Oct 2016 16:12:50 +0000 (18:12 +0200)]
Use horizontal ascent as fallback vertical origin

7 years agoMove code around
Behdad Esfahbod [Wed, 26 Oct 2016 16:08:41 +0000 (18:08 +0200)]
Move code around

7 years ago[hb-ot-font] Use ascent+descent as fallback vertical advance
Behdad Esfahbod [Wed, 26 Oct 2016 15:54:04 +0000 (17:54 +0200)]
[hb-ot-font] Use ascent+descent as fallback vertical advance

7 years agoFix vertical glyph origin with hb-ot-font
Behdad Esfahbod [Wed, 26 Oct 2016 15:44:16 +0000 (17:44 +0200)]
Fix vertical glyph origin with hb-ot-font

7 years agoFix vertical font metrics
Behdad Esfahbod [Wed, 26 Oct 2016 15:19:07 +0000 (17:19 +0200)]
Fix vertical font metrics

Ouch!

7 years ago1.3.3
Behdad Esfahbod [Wed, 26 Oct 2016 14:17:15 +0000 (16:17 +0200)]
1.3.3

7 years agoFix "make distcheck"
Behdad Esfahbod [Wed, 26 Oct 2016 14:04:30 +0000 (16:04 +0200)]
Fix "make distcheck"

7 years ago[ci] Fix appveyor.yml syntax error
Behdad Esfahbod [Wed, 26 Oct 2016 08:33:33 +0000 (10:33 +0200)]
[ci] Fix appveyor.yml syntax error

7 years ago[gobject] Update for new MATH structs
Behdad Esfahbod [Sun, 23 Oct 2016 12:39:43 +0000 (14:39 +0200)]
[gobject] Update for new MATH structs

7 years agoMerge pull request #352 from fred-wang/makefile-am
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

7 years agoRemove 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

7 years agoMerge pull request #349 from ebraminio/mergebackvcpkgpatches
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

7 years ago[ci] Enable freetype on msvc using vcpkg
Ebrahim Byagowi [Fri, 21 Oct 2016 08:18:58 +0000 (11:48 +0330)]
[ci] Enable freetype on msvc using vcpkg

7 years agoMerge back @vlj's local patches of vcpkg
Ebrahim Byagowi [Tue, 18 Oct 2016 11:00:00 +0000 (14:30 +0330)]
Merge back @vlj's local patches of vcpkg

7 years agoMerge pull request #340 from ebraminio/nouniscribe
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

7 years agoMake 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.

7 years agoFix configure on iOS
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

7 years agoMerge pull request #344 from ebraminio/fixmacci
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

7 years ago[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 :)

7 years agoLFS (large file system?) support in hb-*shap*, hb-view
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

7 years agoFix dist
Behdad Esfahbod [Wed, 28 Sep 2016 17:17:27 +0000 (19:17 +0200)]
Fix dist

7 years agoAim math API for 1.3.3 instead of 1.4.0
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

7 years agoFix building math docs (#335)
Khaled Hosny [Fri, 30 Sep 2016 11:01:24 +0000 (04:01 -0700)]
Fix building math docs (#335)

7 years agoRequire glib >= 2.38.0 for G_TEST_DIST
Behdad Esfahbod [Tue, 27 Sep 2016 15:56:35 +0000 (17:56 +0200)]
Require glib >= 2.38.0 for G_TEST_DIST

7 years agoMerge branch 'math'
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

7 years ago[MATH] Fix more docs
Behdad Esfahbod [Tue, 27 Sep 2016 14:51:38 +0000 (16:51 +0200)]
[MATH] Fix more docs

7 years ago[MATH] Rename hb_math_*_t types to hb_ot_math_*_t
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.

7 years agoUpdate docs
Behdad Esfahbod [Tue, 27 Sep 2016 14:42:25 +0000 (16:42 +0200)]
Update docs

7 years agoDocument API for MathVariants (#330)
Frédéric Wang [Tue, 27 Sep 2016 13:28:35 +0000 (15:28 +0200)]
Document API for MathVariants (#330)

7 years agoAdd tests for get_mathvariant (#329)
Frédéric Wang [Tue, 27 Sep 2016 11:53:34 +0000 (13:53 +0200)]
Add tests for get_mathvariant (#329)

7 years ago1.3.2
Behdad Esfahbod [Tue, 27 Sep 2016 11:50:54 +0000 (13:50 +0200)]
1.3.2

7 years agoAdd tests for hb_ot_math_get_glyph_variants (#328)
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)

7 years agoAllow building with graphite2 without pkg-config (#318)
Phil Krylov [Tue, 27 Sep 2016 10:38:49 +0000 (12:38 +0200)]
Allow building with graphite2 without pkg-config (#318)

7 years ago[MATH] Simplify test
Behdad Esfahbod [Tue, 27 Sep 2016 09:30:44 +0000 (11:30 +0200)]
[MATH] Simplify test

7 years agotest-ot-math: Use different scales for vertical and horizontal directions and add...
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)

7 years ago[MATH] Add HB_OT_MATH_SCRIPT
Behdad Esfahbod [Tue, 27 Sep 2016 08:58:08 +0000 (10:58 +0200)]
[MATH] Add HB_OT_MATH_SCRIPT

7 years ago[MATH] Enable tests for glyph-assembly italics-correction
Behdad Esfahbod [Mon, 26 Sep 2016 20:18:41 +0000 (22:18 +0200)]
[MATH] Enable tests for glyph-assembly italics-correction

7 years ago[MATH] Rename all API to hb_ot_math_*
Behdad Esfahbod [Mon, 26 Sep 2016 20:12:48 +0000 (22:12 +0200)]
[MATH] Rename all API to hb_ot_math_*

7 years ago[MATH] Move API from hb-ot-layout.h to hb-ot-math.h
Behdad Esfahbod [Mon, 26 Sep 2016 19:57:14 +0000 (21:57 +0200)]
[MATH] Move API from hb-ot-layout.h to hb-ot-math.h

7 years agoWhitespace
Behdad Esfahbod [Mon, 26 Sep 2016 19:53:25 +0000 (21:53 +0200)]
Whitespace

7 years ago[MATH] Wire up get_glyph_assembly()
Behdad Esfahbod [Mon, 26 Sep 2016 19:46:05 +0000 (21:46 +0200)]
[MATH] Wire up get_glyph_assembly()

7 years ago[MATH] Wire up get_glyph_variants()
Behdad Esfahbod [Mon, 26 Sep 2016 19:22:48 +0000 (21:22 +0200)]
[MATH] Wire up get_glyph_variants()

7 years ago[MATH] Start fleshing out glyph variant API
Behdad Esfahbod [Mon, 26 Sep 2016 16:51:47 +0000 (17:51 +0100)]
[MATH] Start fleshing out glyph variant API

7 years ago[MATH] Clean up math variants
Behdad Esfahbod [Mon, 26 Sep 2016 15:10:08 +0000 (16:10 +0100)]
[MATH] Clean up math variants

7 years agoMATH table: Add API to access math variants.
Frédéric Wang [Thu, 25 Aug 2016 09:17:50 +0000 (11:17 +0200)]
MATH table: Add API to access math variants.

7 years agoUse G_TEST_DIST to build the path of math test fonts
Frédéric Wang [Mon, 26 Sep 2016 09:51:36 +0000 (11:51 +0200)]
Use G_TEST_DIST to build the path of math test fonts

7 years ago[MATH] Fix get_kerning() with negative y-scale
Behdad Esfahbod [Mon, 26 Sep 2016 12:39:58 +0000 (13:39 +0100)]
[MATH] Fix get_kerning() with negative y-scale

7 years ago[MATH] Clean up get_kerning()
Behdad Esfahbod [Mon, 26 Sep 2016 12:31:47 +0000 (13:31 +0100)]
[MATH] Clean up get_kerning()

7 years ago[MATH] Clean up get_top_accent_attachment()
Behdad Esfahbod [Mon, 26 Sep 2016 11:18:32 +0000 (12:18 +0100)]
[MATH] Clean up get_top_accent_attachment()

Note, the function now returns "half of horizontal advance width"
if top accent attachment for glyph is not explicitly defined.
This is what the spec requires.  Updated tests.

7 years ago[MATH] Clean up get_italics_correction()
Behdad Esfahbod [Mon, 26 Sep 2016 11:12:41 +0000 (12:12 +0100)]
[MATH] Clean up get_italics_correction()

7 years ago[MATH] Clean up a bit more
Behdad Esfahbod [Mon, 26 Sep 2016 11:07:29 +0000 (12:07 +0100)]
[MATH] Clean up a bit more

7 years ago[MATH] Clean up get_math_constant implementation
Behdad Esfahbod [Mon, 26 Sep 2016 10:56:40 +0000 (11:56 +0100)]
[MATH] Clean up get_math_constant implementation

7 years ago[MATH] Cleanup previous commit a bit
Behdad Esfahbod [Mon, 26 Sep 2016 10:47:05 +0000 (11:47 +0100)]
[MATH] Cleanup previous commit a bit

7 years agoMATH Table: Add API to access glyph info.
Frédéric Wang [Thu, 25 Aug 2016 09:15:31 +0000 (11:15 +0200)]
MATH Table: Add API to access glyph info.

7 years ago[MATH] Fixup math constants commit a bit more
Behdad Esfahbod [Mon, 26 Sep 2016 10:24:39 +0000 (11:24 +0100)]
[MATH] Fixup math constants commit a bit more

7 years ago[MATH] Fixups for math constants commit
Behdad Esfahbod [Mon, 26 Sep 2016 10:15:59 +0000 (11:15 +0100)]
[MATH] Fixups for math constants commit

7 years agoMATH Table: Add API to access math contants.
Frédéric Wang [Thu, 25 Aug 2016 09:06:41 +0000 (11:06 +0200)]
MATH Table: Add API to access math contants.

7 years ago[MATH] Fixups for previous commit
Behdad Esfahbod [Mon, 26 Sep 2016 09:45:58 +0000 (10:45 +0100)]
[MATH] Fixups for previous commit

7 years agoMATH Table: Add API to check availability of math data.
Frédéric Wang [Thu, 25 Aug 2016 08:47:15 +0000 (10:47 +0200)]
MATH Table: Add API to check availability of math data.