platform/upstream/libHarfBuzzSharp.git
6 years agoMake subset test runner compatible with py3
Ebrahim Byagowi [Fri, 9 Mar 2018 12:13:03 +0000 (15:43 +0330)]
Make subset test runner compatible with py3

Fixes #873

6 years ago[ci] Enable subset tests on ArchLinux to test
Ebrahim Byagowi [Fri, 9 Mar 2018 11:55:59 +0000 (15:25 +0330)]
[ci] Enable subset tests on ArchLinux to test

This makes ArchLinux bots fail, a starting point to #873

6 years agoMerge pull request #871 from googlefonts/mplus
Garret Rieger [Thu, 8 Mar 2018 22:50:25 +0000 (15:50 -0700)]
Merge pull request #871 from googlefonts/mplus

[subset] Add a Japanese font to the subset integration tests.

6 years ago[subset] Drop cmap 12, platform 0 tables from Mplus1p expected files.
Garret Rieger [Wed, 7 Mar 2018 20:37:03 +0000 (12:37 -0800)]
[subset] Drop cmap 12, platform 0 tables from Mplus1p expected files.

6 years ago[subset] Fix deadlock waiting for process output in subset test runner.
Garret Rieger [Wed, 7 Mar 2018 01:47:40 +0000 (17:47 -0800)]
[subset] Fix deadlock waiting for process output in subset test runner.

6 years ago[subset] add some extra logging to subset run-tests.py.
Garret Rieger [Tue, 6 Mar 2018 23:43:08 +0000 (15:43 -0800)]
[subset] add some extra logging to subset run-tests.py.

6 years ago[subset] Add japanese font file to subset integration tests.
Garret Rieger [Fri, 2 Mar 2018 02:20:00 +0000 (18:20 -0800)]
[subset] Add japanese font file to subset integration tests.

6 years agoMerge pull request #868 from googlefonts/post
Garret Rieger [Thu, 8 Mar 2018 21:41:59 +0000 (14:41 -0700)]
Merge pull request #868 from googlefonts/post

[subset] Drop glyph names from post when subsetting.

6 years ago[subset] use create_sub_blob instead of manually copying the post table.
Garret Rieger [Thu, 8 Mar 2018 19:06:49 +0000 (11:06 -0800)]
[subset] use create_sub_blob instead of manually copying the post table.

6 years ago[subset] Unit test to check that post subsetting drops glyph names.
Garret Rieger [Wed, 7 Mar 2018 18:33:02 +0000 (10:33 -0800)]
[subset] Unit test to check that post subsetting drops glyph names.

6 years ago[subset] drop all glyph names from the post table.
Garret Rieger [Wed, 7 Mar 2018 02:33:39 +0000 (18:33 -0800)]
[subset] drop all glyph names from the post table.

6 years agoMerge pull request #867 from googlefonts/vmtx
Garret Rieger [Wed, 7 Mar 2018 19:36:00 +0000 (12:36 -0700)]
Merge pull request #867 from googlefonts/vmtx

[subset] Add vmtx subsetting.

6 years ago[subset] fix author.
Garret Rieger [Wed, 7 Mar 2018 19:08:55 +0000 (11:08 -0800)]
[subset] fix author.

6 years ago[subset] s/hmetrics/vmetrics.
Garret Rieger [Wed, 7 Mar 2018 18:29:15 +0000 (10:29 -0800)]
[subset] s/hmetrics/vmetrics.

6 years ago[subset] cleanup.
Garret Rieger [Wed, 7 Mar 2018 18:17:06 +0000 (10:17 -0800)]
[subset] cleanup.

6 years ago[subset] add unit tests for vmtx subsetting.
Garret Rieger [Tue, 6 Mar 2018 23:40:35 +0000 (15:40 -0800)]
[subset] add unit tests for vmtx subsetting.

6 years ago[subset] Skip subsetting vhea.
Garret Rieger [Tue, 6 Mar 2018 21:08:20 +0000 (13:08 -0800)]
[subset] Skip subsetting vhea.

6 years ago[subset] Subset vmtx if present.
Garret Rieger [Sat, 3 Mar 2018 01:33:49 +0000 (17:33 -0800)]
[subset] Subset vmtx if present.

6 years ago[test] Fix build with older glib
Behdad Esfahbod [Wed, 7 Mar 2018 15:11:44 +0000 (16:11 +0100)]
[test] Fix build with older glib

6 years ago1.7.6
Behdad Esfahbod [Wed, 7 Mar 2018 15:05:14 +0000 (16:05 +0100)]
1.7.6

6 years ago[ot] Comment out AAT include
Behdad Esfahbod [Wed, 7 Mar 2018 14:52:42 +0000 (15:52 +0100)]
[ot] Comment out AAT include

6 years agoRemove hb-ot-color.h
Behdad Esfahbod [Wed, 7 Mar 2018 14:51:42 +0000 (15:51 +0100)]
Remove hb-ot-color.h

So I can make a release.

6 years ago[ot] Remove hb-ot-base.h
Behdad Esfahbod [Wed, 7 Mar 2018 14:31:15 +0000 (15:31 +0100)]
[ot] Remove hb-ot-base.h

BASE table API will go into hb-ot-layout.h.

6 years ago[set] Fix algebra
Behdad Esfahbod [Wed, 7 Mar 2018 09:49:26 +0000 (10:49 +0100)]
[set] Fix algebra

Was totally b0rked. Ouch!

Fixes https://github.com/harfbuzz/harfbuzz/issues/863

6 years ago[set] Minor
Behdad Esfahbod [Wed, 7 Mar 2018 08:55:22 +0000 (09:55 +0100)]
[set] Minor

In preparation to fix https://github.com/harfbuzz/harfbuzz/issues/863

Binary operations are sets are completely broken. Ouch.

6 years agoMinor
Behdad Esfahbod [Wed, 7 Mar 2018 08:37:22 +0000 (09:37 +0100)]
Minor

6 years agoSign
Behdad Esfahbod [Wed, 7 Mar 2018 08:27:16 +0000 (09:27 +0100)]
Sign

6 years ago[set] add a test demonstrating a bug in hb_set_union.
Garret Rieger [Tue, 6 Mar 2018 21:46:51 +0000 (13:46 -0800)]
[set] add a test demonstrating a bug in hb_set_union.

6 years ago[ci] Enable -Werror=unused (#862)
Ebrahim Byagowi [Tue, 6 Mar 2018 20:53:40 +0000 (00:23 +0330)]
[ci] Enable -Werror=unused (#862)

6 years ago[ot-color] Further improvements on COLR/CPAL implementation (#859)
Ebrahim Byagowi [Tue, 6 Mar 2018 13:11:08 +0000 (16:41 +0330)]
[ot-color] Further improvements on COLR/CPAL implementation (#859)

* Implemented a bsearch on get_base_glyph_record
* Made get_color_record_argb actually work

6 years ago[dev-run] an option to open using a GUI app
Ebrahim Byagowi [Mon, 5 Mar 2018 10:55:11 +0000 (14:25 +0330)]
[dev-run] an option to open using a GUI app

6 years ago[ci] minor, bring back the removed assertion
Ebrahim Byagowi [Mon, 5 Mar 2018 09:32:50 +0000 (13:02 +0330)]
[ci] minor, bring back the removed assertion

6 years ago[ci] minor
Ebrahim Byagowi [Mon, 5 Mar 2018 09:28:34 +0000 (12:58 +0330)]
[ci] minor

6 years ago[aat/kerx] Add a TODO
Ebrahim Byagowi [Sat, 3 Mar 2018 23:26:27 +0000 (02:56 +0330)]
[aat/kerx] Add a TODO

6 years ago[ot-color] Move cbdt to the namespace (#860)
Ebrahim Byagowi [Sat, 3 Mar 2018 23:17:26 +0000 (02:47 +0330)]
[ot-color] Move cbdt to the namespace (#860)

6 years ago[ci] Remove --coverage as use of --enable-code-coverage
Ebrahim Byagowi [Sat, 3 Mar 2018 23:01:53 +0000 (02:31 +0330)]
[ci] Remove --coverage as use of --enable-code-coverage

6 years ago[ci] Don't run coveralls on freetype folder
Ebrahim Byagowi [Sat, 3 Mar 2018 19:56:11 +0000 (23:26 +0330)]
[ci] Don't run coveralls on freetype folder

6 years ago[ci] Remove failing check on run-coveralls
Ebrahim Byagowi [Sat, 3 Mar 2018 19:47:36 +0000 (23:17 +0330)]
[ci] Remove failing check on run-coveralls

6 years agoAdd lcov tool for coverage tests
Ebrahim Byagowi [Sat, 3 Mar 2018 19:39:25 +0000 (23:09 +0330)]
Add lcov tool for coverage tests

6 years ago[ci] Enable code coverage on Travis Linux builds
Ebrahim Byagowi [Sat, 3 Mar 2018 19:33:13 +0000 (23:03 +0330)]
[ci] Enable code coverage on Travis Linux builds

6 years agoEnable coverage test on autotools (#857)
Ebrahim Byagowi [Sat, 3 Mar 2018 19:25:09 +0000 (22:55 +0330)]
Enable coverage test on autotools (#857)

6 years ago[ot-color] Move the related tables to hb-ot-color-* (#858)
Ebrahim Byagowi [Sat, 3 Mar 2018 19:13:23 +0000 (22:43 +0330)]
[ot-color] Move the related tables to hb-ot-color-* (#858)

6 years ago[COLR/CPAL] Provide enough helper for rasterization (#855)
Ebrahim Byagowi [Sat, 3 Mar 2018 18:30:29 +0000 (22:00 +0330)]
[COLR/CPAL] Provide enough helper for rasterization (#855)

6 years ago[COLR] Revert previous sanitization on the table
Ebrahim Byagowi [Fri, 2 Mar 2018 21:35:59 +0000 (01:05 +0330)]
[COLR] Revert previous sanitization on the table

That sanitization wasn't right, firstLayerIndex is an index from beginning of the Layer Records
not the table itself.

6 years ago[aat/kerx] Improve format 6 subtable
Ebrahim Byagowi [Fri, 2 Mar 2018 07:34:09 +0000 (11:04 +0330)]
[aat/kerx] Improve format 6 subtable

6 years ago[aat/kerx] Make parsing of the table actually work (#850)
Ebrahim Byagowi [Thu, 1 Mar 2018 20:37:26 +0000 (00:07 +0330)]
[aat/kerx] Make parsing of the table actually work (#850)

6 years ago[COLR] Sanitize BaseGlyphRecord (#854)
Ebrahim Byagowi [Thu, 1 Mar 2018 20:36:03 +0000 (00:06 +0330)]
[COLR] Sanitize BaseGlyphRecord (#854)

6 years ago[CPAL] Fix version checking logic on sanitizer (#851)
Ebrahim Byagowi [Thu, 1 Mar 2018 06:57:18 +0000 (10:27 +0330)]
[CPAL] Fix version checking logic on sanitizer (#851)

6 years ago[test] Add test suite for Brahmi Number Joiners
Behdad Esfahbod [Thu, 1 Mar 2018 00:31:46 +0000 (16:31 -0800)]
[test] Add test suite for Brahmi Number Joiners

https://github.com/harfbuzz/harfbuzz/pull/660

6 years ago[subset] In subset integration test pass output through ots-sanitize if present.
Garret Rieger [Wed, 28 Feb 2018 23:44:00 +0000 (15:44 -0800)]
[subset] In subset integration test pass output through ots-sanitize if present.

6 years agoMerge pull request #845 from googlefonts/drophints
rsheeter [Wed, 28 Feb 2018 21:52:29 +0000 (13:52 -0800)]
Merge pull request #845 from googlefonts/drophints

[subset] drop hints from composites

6 years ago[subset] kick the build
Rod Sheeter [Wed, 28 Feb 2018 19:41:24 +0000 (11:41 -0800)]
[subset] kick the build

6 years ago[subset] extract a method to flip off composite instruction flag
Rod Sheeter [Wed, 28 Feb 2018 19:15:08 +0000 (11:15 -0800)]
[subset] extract a method to flip off composite instruction flag

6 years agoUse old project location of coverity
Ebrahim Byagowi [Wed, 28 Feb 2018 12:13:23 +0000 (15:43 +0330)]
Use old project location of coverity

https://github.com/harfbuzz/harfbuzz/commit/8089711a61687d565f207c56d3d2b658f514d7ab#commitcomment-27835452

6 years agoMerge pull request #847 from ebraminio/colr
Ebrahim Byagowi [Wed, 28 Feb 2018 10:00:17 +0000 (13:30 +0330)]
Merge pull request #847 from ebraminio/colr

[colr] Implement

6 years ago[colr] Implement
Ebrahim Byagowi [Wed, 28 Feb 2018 09:49:40 +0000 (13:19 +0330)]
[colr] Implement

6 years agoMerge pull request #841 from ebraminio/color
Ebrahim Byagowi [Wed, 28 Feb 2018 08:35:49 +0000 (12:05 +0330)]
Merge pull request #841 from ebraminio/color

Support CPAL table

6 years ago[cmake] cleanup (#846)
Ebrahim Byagowi [Wed, 28 Feb 2018 08:23:39 +0000 (11:53 +0330)]
[cmake] cleanup (#846)

6 years ago[CPAL] Refactor and address the reviews
Ebrahim Byagowi [Tue, 27 Feb 2018 19:26:17 +0000 (22:56 +0330)]
[CPAL] Refactor and address the reviews

6 years ago[subset] remove WE_HAVE_INSTRUCTIONS from composites when dropping hints
Rod Sheeter [Wed, 28 Feb 2018 04:51:12 +0000 (20:51 -0800)]
[subset] remove WE_HAVE_INSTRUCTIONS from composites when dropping hints

6 years ago[subset] update the test file for composite, fix an offset calculation
Rod Sheeter [Wed, 28 Feb 2018 04:17:04 +0000 (20:17 -0800)]
[subset] update the test file for composite, fix an offset calculation

6 years agoMerge branch 'expand-tests' of github.com:googlefonts/harfbuzz into drophints
Rod Sheeter [Wed, 28 Feb 2018 01:25:32 +0000 (17:25 -0800)]
Merge branch 'expand-tests' of github.com:googlefonts/harfbuzz into drophints

6 years ago[subset] Add drop hinting profile to full-font.tests
Garret Rieger [Tue, 27 Feb 2018 22:33:36 +0000 (14:33 -0800)]
[subset] Add drop hinting profile to full-font.tests

6 years ago[subset] Add a drop hints profile to basics.tests
Garret Rieger [Tue, 27 Feb 2018 22:28:50 +0000 (14:28 -0800)]
[subset] Add a drop hints profile to basics.tests

6 years ago[subset] apply subset profiles (flags) to the subset integration tests.
Garret Rieger [Tue, 27 Feb 2018 21:15:40 +0000 (13:15 -0800)]
[subset] apply subset profiles (flags) to the subset integration tests.

6 years ago[subset] add expected/full-font to dist files.
Garret Rieger [Tue, 27 Feb 2018 19:36:16 +0000 (11:36 -0800)]
[subset] add expected/full-font to dist files.

6 years ago[subset] Add subset integration tests using the full roboto font.
Garret Rieger [Tue, 27 Feb 2018 02:51:56 +0000 (18:51 -0800)]
[subset] Add subset integration tests using the full roboto font.

6 years ago[subset] Add some more variations of the basic test.
Garret Rieger [Tue, 27 Feb 2018 02:39:09 +0000 (18:39 -0800)]
[subset] Add some more variations of the basic test.

6 years ago[subset] add a (failing for now) test for composite glyf hint dropping
Rod Sheeter [Wed, 28 Feb 2018 01:23:30 +0000 (17:23 -0800)]
[subset] add a (failing for now) test for composite glyf hint dropping

6 years agoMerge pull request #842 from googlefonts/maxp
Garret Rieger [Wed, 28 Feb 2018 00:06:27 +0000 (17:06 -0700)]
Merge pull request #842 from googlefonts/maxp

[subset] when dropping hints, clear hint related fields in maxp.

6 years ago[subset] minor fixes in hb-ot-maxp-table.hh
Garret Rieger [Tue, 27 Feb 2018 22:37:18 +0000 (14:37 -0800)]
[subset] minor fixes in hb-ot-maxp-table.hh

6 years ago[subset] whitespace for hb-ot-maxp-table.hh
Garret Rieger [Tue, 27 Feb 2018 22:14:05 +0000 (14:14 -0800)]
[subset] whitespace for hb-ot-maxp-table.hh

6 years ago[subset] Add maxpV1Tail instead of defining a struct inside maxp for v1 data.
Garret Rieger [Tue, 27 Feb 2018 22:11:36 +0000 (14:11 -0800)]
[subset] Add maxpV1Tail instead of defining a struct inside maxp for v1 data.

6 years ago[subset] when dropping hints, clear hint related fields in maxp.
Garret Rieger [Tue, 27 Feb 2018 21:49:00 +0000 (13:49 -0800)]
[subset] when dropping hints, clear hint related fields in maxp.

6 years ago[BASE] More
Behdad Esfahbod [Tue, 27 Feb 2018 20:50:57 +0000 (12:50 -0800)]
[BASE] More

6 years ago[BASE] Clean up first 29%
Behdad Esfahbod [Tue, 27 Feb 2018 20:45:26 +0000 (12:45 -0800)]
[BASE] Clean up first 29%

6 years agoMerge with master
Ebrahim Byagowi [Tue, 27 Feb 2018 16:45:54 +0000 (20:15 +0330)]
Merge with master

6 years agoMerge pull request #838 from harfbuzz/BASE
Ebrahim Byagowi [Tue, 27 Feb 2018 08:11:12 +0000 (11:41 +0330)]
Merge pull request #838 from harfbuzz/BASE

BASE table

6 years agoRemove public API of the branch
Ebrahim Byagowi [Mon, 26 Feb 2018 09:15:08 +0000 (12:45 +0330)]
Remove public API of the branch

6 years agoMerge pull request #818 from googlefonts/drophints
rsheeter [Tue, 27 Feb 2018 04:23:41 +0000 (20:23 -0800)]
Merge pull request #818 from googlefonts/drophints

[subset] Drop hints

6 years ago[subset] clearer name for trim() and better comment about composite handling, per...
Rod Sheeter [Tue, 27 Feb 2018 03:50:06 +0000 (19:50 -0800)]
[subset] clearer name for trim() and better comment about composite handling, per review feedback

6 years agoMerge pull request #840 from googlefonts/os2
Garret Rieger [Tue, 27 Feb 2018 02:24:18 +0000 (19:24 -0700)]
Merge pull request #840 from googlefonts/os2

[subset] During os2 subsetting update ulUnicodeRange[]c

6 years ago[subset] update to comment in hb-ot-os2-unicode-ranges.hh
Garret Rieger [Tue, 27 Feb 2018 01:56:23 +0000 (17:56 -0800)]
[subset] update to comment in hb-ot-os2-unicode-ranges.hh

6 years ago[subset] small cleanups in hb-ot-os2-table.
Garret Rieger [Tue, 27 Feb 2018 01:51:27 +0000 (17:51 -0800)]
[subset] small cleanups in hb-ot-os2-table.

6 years ago[subset] small updates to gen-unicode-ranges.py
Garret Rieger [Tue, 27 Feb 2018 01:48:51 +0000 (17:48 -0800)]
[subset] small updates to gen-unicode-ranges.py

6 years ago[subset] Move util/generated-unicode-ranges.py to src/gen-unicode-ranges.py
Garret Rieger [Tue, 27 Feb 2018 01:47:10 +0000 (17:47 -0800)]
[subset] Move util/generated-unicode-ranges.py to src/gen-unicode-ranges.py

6 years ago[subset] unsigned int -> hb_codepoint_t.
Garret Rieger [Tue, 27 Feb 2018 01:46:17 +0000 (17:46 -0800)]
[subset] unsigned int -> hb_codepoint_t.

6 years ago[subset] const in _compare_range.
Garret Rieger [Tue, 27 Feb 2018 01:44:39 +0000 (17:44 -0800)]
[subset] const in _compare_range.

6 years ago[subset] Add comment to os2UnicodeRangesSorted.
Garret Rieger [Tue, 27 Feb 2018 00:15:09 +0000 (16:15 -0800)]
[subset] Add comment to os2UnicodeRangesSorted.

6 years ago[subset] Fix incorrect index.
Garret Rieger [Tue, 27 Feb 2018 00:13:10 +0000 (16:13 -0800)]
[subset] Fix incorrect index.

6 years ago[subset] Add special case handling of bit 57 in os2 ulUnicodeRange.
Garret Rieger [Tue, 27 Feb 2018 00:11:24 +0000 (16:11 -0800)]
[subset] Add special case handling of bit 57 in os2 ulUnicodeRange.

6 years ago[subset] Add python util that was used to generated hb-ot-os2-unicode-ranges.hh
Garret Rieger [Mon, 26 Feb 2018 23:59:32 +0000 (15:59 -0800)]
[subset] Add python util that was used to generated hb-ot-os2-unicode-ranges.hh

6 years ago[subset] Add cmake build def for test-unicode-ranges.
Garret Rieger [Mon, 26 Feb 2018 23:56:36 +0000 (15:56 -0800)]
[subset] Add cmake build def for test-unicode-ranges.

6 years ago[subset] Rename hb-os2-unicode-ranges.cc to test-unicode-ranges.cc.
Garret Rieger [Mon, 26 Feb 2018 23:52:01 +0000 (15:52 -0800)]
[subset] Rename hb-os2-unicode-ranges.cc to test-unicode-ranges.cc.

6 years ago[subset] set ulUnicodeRange[] in os2.
Garret Rieger [Mon, 26 Feb 2018 23:50:13 +0000 (15:50 -0800)]
[subset] set ulUnicodeRange[] in os2.

6 years ago[subset] Move hb-ot-os2-unicode-ranges into a cc file with a helper methods and tests.
Garret Rieger [Mon, 26 Feb 2018 23:20:23 +0000 (15:20 -0800)]
[subset] Move hb-ot-os2-unicode-ranges into a cc file with a helper methods and tests.

6 years ago[subset] Add hb-ot-os2-unicode-ranges.hh, a map of os2 unicode ranges.
Garret Rieger [Sat, 24 Feb 2018 02:35:41 +0000 (18:35 -0800)]
[subset] Add hb-ot-os2-unicode-ranges.hh, a map of os2 unicode ranges.

6 years ago[dev-run] show images using iTerm2 images feature
Ebrahim Byagowi [Mon, 26 Feb 2018 19:34:27 +0000 (23:04 +0330)]
[dev-run] show images using iTerm2 images feature

6 years ago[aat/ankr] Define Anchor struct
Behdad Esfahbod [Mon, 26 Feb 2018 09:10:42 +0000 (01:10 -0800)]
[aat/ankr] Define Anchor struct

6 years agoMinor
Behdad Esfahbod [Mon, 26 Feb 2018 09:08:00 +0000 (01:08 -0800)]
Minor