platform/upstream/libHarfBuzzSharp.git
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.

7 years agoUpdate detectenv-msvc.mak (#316)
Gregory Morse [Mon, 12 Sep 2016 08:22:15 +0000 (10:22 +0200)]
Update detectenv-msvc.mak (#316)

Windows x86 ARM capability

7 years ago[coretext] Use intended coretext version check logic (#315)
Ebrahim Byagowi [Fri, 9 Sep 2016 18:58:28 +0000 (23:28 +0430)]
[coretext] Use intended coretext version check logic (#315)

7 years agoTry to unbreak building on older macOS again (#314)
Khaled Hosny [Thu, 8 Sep 2016 01:44:37 +0000 (04:44 +0300)]
Try to unbreak building on older macOS again (#314)

7 years ago1.3.1
Behdad Esfahbod [Wed, 7 Sep 2016 21:28:47 +0000 (14:28 -0700)]
1.3.1

7 years agoDo reconfigure the cascade list for Emoji font on OS X 10.9.5 (#313)
Dominik Röttsches [Wed, 7 Sep 2016 20:56:57 +0000 (23:56 +0300)]
Do reconfigure the cascade list for Emoji font on OS X 10.9.5 (#313)

This seems to fix crash issues on 10.9.5 reported on Chrome, compare
crbug.com/549610

7 years agoBlacklist Padauk 2.80 and 3.00 (#311)
Dominik Röttsches [Mon, 5 Sep 2016 08:27:25 +0000 (11:27 +0300)]
Blacklist Padauk 2.80 and 3.00 (#311)

According to comments in issue #305 broken GDEF tables lead
to incorrect rendering of Latin characters. Blacklisting
this font.

7 years ago[ci] Add msys2 build to CI and run its testsuite on Windows (#310)
Ebrahim Byagowi [Thu, 1 Sep 2016 20:51:48 +0000 (01:21 +0430)]
[ci] Add msys2 build to CI and run its testsuite on Windows (#310)

7 years ago[dwrite] Minor, don't include unnecessary headers (#309)
Ebrahim Byagowi [Thu, 1 Sep 2016 15:35:45 +0000 (20:05 +0430)]
[dwrite] Minor, don't include unnecessary headers (#309)

7 years ago[ci] Add Windows CI support, provided by AppVeyor (#308)
Ebrahim Byagowi [Thu, 1 Sep 2016 13:01:16 +0000 (17:31 +0430)]
[ci] Add Windows CI support, provided by AppVeyor (#308)

7 years agoShow the shaper name in the debug message (#306)
Khaled Hosny [Sat, 27 Aug 2016 13:38:42 +0000 (16:38 +0300)]
Show the shaper name in the debug message (#306)

7 years agoMerge pull request #303 from behdad/fonnapa
Sascha Brawer [Thu, 18 Aug 2016 20:33:14 +0000 (22:33 +0200)]
Merge pull request #303 from behdad/fonnapa

Support Americanist Phonetic Notation

7 years agoSupport Americanist Phonetic Notation
Sascha Brawer [Thu, 18 Aug 2016 10:48:38 +0000 (12:48 +0200)]
Support Americanist Phonetic Notation

OpenType language system tag: `APPH`
https://www.microsoft.com/typography/otspec/languagetags.htm

IETF BCP47 variant tag: `fonnapa`
http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry

7 years agoMerge pull request #302 from khaledhosny/master
Sascha Brawer [Thu, 18 Aug 2016 11:59:38 +0000 (13:59 +0200)]
Merge pull request #302 from khaledhosny/master

[travis] Fix MacOS libtool issue

7 years ago[coretext] Blind fix for build on MacOS 10.9
Khaled Hosny [Tue, 16 Aug 2016 01:09:04 +0000 (03:09 +0200)]
[coretext] Blind fix for build on MacOS 10.9

7 years ago[travis] Fix MacOS libtool issue
Khaled Hosny [Tue, 16 Aug 2016 00:49:48 +0000 (02:49 +0200)]
[travis] Fix MacOS libtool issue

Reveals another MacOS build breakage in the Core Text shaper.

7 years agoFix build
Behdad Esfahbod [Tue, 9 Aug 2016 20:03:14 +0000 (13:03 -0700)]
Fix build

7 years agoActually add test
Behdad Esfahbod [Tue, 9 Aug 2016 01:08:08 +0000 (18:08 -0700)]
Actually add test

7 years agoAdd tests for Chinese language tags
Behdad Esfahbod [Tue, 9 Aug 2016 01:06:09 +0000 (18:06 -0700)]
Add tests for Chinese language tags

Using font from https://github.com/behdad/harfbuzz/issues/300

7 years agoMap Macao to ZHH lang tag
Behdad Esfahbod [Tue, 9 Aug 2016 00:57:06 +0000 (17:57 -0700)]
Map Macao to ZHH lang tag

Fixes https://github.com/behdad/harfbuzz/issues/300

7 years agoLimit bits-per-feature to eight
Behdad Esfahbod [Tue, 9 Aug 2016 00:28:54 +0000 (17:28 -0700)]
Limit bits-per-feature to eight

Limits number of alternatives per glyph per feature to 255, so be it.
That's better than possibly breaking shaping because of one bad feature
value.

7 years agoFix sign of shift operators
Behdad Esfahbod [Tue, 9 Aug 2016 00:24:04 +0000 (17:24 -0700)]
Fix sign of shift operators

This one:

  map->mask = (1 << (next_bit + bits_needed)) - (1 << next_bit);

before the fix, the shift was done as an int, causing overflow
if it ever got to 1 << 31.  Sprinkle 'u's around.

Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=634805

7 years agoMap zh-Hant-HK to ZHH
Behdad Esfahbod [Mon, 8 Aug 2016 23:51:08 +0000 (16:51 -0700)]
Map zh-Hant-HK to ZHH

Fixes https://github.com/behdad/harfbuzz/issues/300

8 years agoDon’t build UCDN support when building with GLib (#296)
Khaled Hosny [Thu, 21 Jul 2016 23:26:54 +0000 (02:26 +0300)]
Don’t build UCDN support when building with GLib (#296)

Regression from: b424b6c372dfe4c0ed75a49761eb34a416819446.

8 years ago[coretext] "Fix" crashes on CoreText < 10.10
Behdad Esfahbod [Sat, 23 Jul 2016 00:41:43 +0000 (17:41 -0700)]
[coretext] "Fix" crashes on CoreText < 10.10

Fixes https://github.com/behdad/harfbuzz/issues/297

8 years ago1.3.0
Behdad Esfahbod [Thu, 21 Jul 2016 08:58:00 +0000 (01:58 -0700)]
1.3.0