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

6 years ago[aat/ankr] Minor
Behdad Esfahbod [Mon, 26 Feb 2018 09:04:16 +0000 (01:04 -0800)]
[aat/ankr] Minor

DEFINE_SIZE_MIN is to be used only in rare cases. For fixed-size structs
we want DEFINE_SIZE_STATIC.

6 years ago[aat/ankr] Hook up Lookup table
Behdad Esfahbod [Mon, 26 Feb 2018 09:03:23 +0000 (01:03 -0800)]
[aat/ankr] Hook up Lookup table

6 years ago[aat/ankr] Simplify
Behdad Esfahbod [Mon, 26 Feb 2018 08:57:07 +0000 (00:57 -0800)]
[aat/ankr] Simplify

6 years ago[aat/trak] Simplify sanitize()
Behdad Esfahbod [Mon, 26 Feb 2018 08:32:11 +0000 (00:32 -0800)]
[aat/trak] Simplify sanitize()

6 years ago[aat/trak] Clean up
Behdad Esfahbod [Mon, 26 Feb 2018 08:18:17 +0000 (00:18 -0800)]
[aat/trak] Clean up

We always just used "unsigned int" for counter values. There's
no use for uint16_t outside of a struct.

Also, no need for explict casting where implicit does.

6 years ago[aat] trak sanitization
Ebrahim Byagowi [Sun, 25 Feb 2018 09:00:33 +0000 (12:30 +0330)]
[aat] trak sanitization

6 years ago[aat] minor
Ebrahim Byagowi [Mon, 26 Feb 2018 07:59:48 +0000 (11:29 +0330)]
[aat] minor

Ops, this was done for testing

6 years agoMinor
Behdad Esfahbod [Mon, 26 Feb 2018 03:06:25 +0000 (19:06 -0800)]
Minor

6 years ago[aat/trak] Minor
Behdad Esfahbod [Mon, 26 Feb 2018 02:54:52 +0000 (18:54 -0800)]
[aat/trak] Minor

Maybe we should make DEFINE_* make structs uncopyable.

6 years ago[aat] Implement ankr
Ebrahim Byagowi [Sun, 25 Feb 2018 21:01:09 +0000 (00:31 +0330)]
[aat] Implement ankr

6 years ago[BASE] Minor
Behdad Esfahbod [Mon, 26 Feb 2018 00:32:17 +0000 (16:32 -0800)]
[BASE] Minor

6 years agoMerge remote-tracking branch 'eroux/add-base'
Behdad Esfahbod [Sat, 24 Feb 2018 20:01:54 +0000 (12:01 -0800)]
Merge remote-tracking branch 'eroux/add-base'

6 years ago[ci] Add clang O3/O0 testers (#834)
Ebrahim Byagowi [Sat, 24 Feb 2018 13:12:12 +0000 (16:42 +0330)]
[ci] Add clang O3/O0 testers (#834)

6 years agoWorkaround for old automake on Travis Linux images
Khaled Hosny [Fri, 23 Feb 2018 22:44:07 +0000 (00:44 +0200)]
Workaround for old automake on Travis Linux images

https://github.com/harfbuzz/harfbuzz/pull/821#issuecomment-368116538

6 years agoAdd -Werror=unused-function check to Travis (#832)
Ebrahim Byagowi [Sat, 24 Feb 2018 10:47:54 +0000 (14:17 +0330)]
Add -Werror=unused-function check to Travis (#832)

6 years ago[aat] Implement trak logic (#816)
Ebrahim Byagowi [Sat, 24 Feb 2018 09:19:42 +0000 (12:49 +0330)]
[aat] Implement trak logic (#816)

6 years agoInclude hb-version.h in git (#825)
Behdad Esfahbod [Sat, 24 Feb 2018 06:51:17 +0000 (22:51 -0800)]
Include hb-version.h in git (#825)

6 years ago[subset] update hdmx test to create input explicitly
Rod Sheeter [Sat, 24 Feb 2018 02:36:22 +0000 (18:36 -0800)]
[subset] update hdmx test to create input explicitly

6 years ago[subset] format tweak, doc string
Rod Sheeter [Sat, 24 Feb 2018 02:18:54 +0000 (18:18 -0800)]
[subset] format tweak, doc string

6 years agoMerge branch 'master' of https://github.com/harfbuzz/harfbuzz into drophints
Rod Sheeter [Sat, 24 Feb 2018 01:53:26 +0000 (17:53 -0800)]
Merge branch 'master' of https://github.com/harfbuzz/harfbuzz into drophints

6 years ago[subset] keep glyph trim separate of more general get_offset
Rod Sheeter [Sat, 24 Feb 2018 01:49:23 +0000 (17:49 -0800)]
[subset] keep glyph trim separate of more general get_offset

6 years ago[subset] zero glyf and loca memory before writing so pads are clean. Test just the...
Rod Sheeter [Sat, 24 Feb 2018 01:43:00 +0000 (17:43 -0800)]
[subset] zero glyf and loca memory before writing so pads are clean. Test just the part of maxp we care about

6 years agoMerge pull request #829 from googlefonts/test-checksum
Garret Rieger [Sat, 24 Feb 2018 01:33:25 +0000 (18:33 -0700)]
Merge pull request #829 from googlefonts/test-checksum

[subset] Caclculate head table checksum adjustment

6 years ago[subset] Caclculate head table checksum adjustment
Behdad Esfahbod [Sat, 24 Feb 2018 00:42:06 +0000 (16:42 -0800)]
[subset] Caclculate head table checksum adjustment

Test still fails, because we do not serialize tables in the same
order that fonttools subsetter does.

6 years agoMerge pull request #828 from googlefonts/mem-fixes
Garret Rieger [Sat, 24 Feb 2018 00:59:08 +0000 (17:59 -0700)]
Merge pull request #828 from googlefonts/mem-fixes

[subset] Fix several memory leaks in subsetting.

6 years ago[subset] Fix checksum calc out-of-bounds access
Behdad Esfahbod [Fri, 23 Feb 2018 23:51:26 +0000 (15:51 -0800)]
[subset] Fix checksum calc out-of-bounds access

6 years ago[subset] Fix memory leak in hb-subset-glyf.
Garret Rieger [Fri, 23 Feb 2018 23:45:45 +0000 (15:45 -0800)]
[subset] Fix memory leak in hb-subset-glyf.

6 years ago[subset] Fix memory leak in hb-subset-plan.
Garret Rieger [Fri, 23 Feb 2018 23:44:21 +0000 (15:44 -0800)]
[subset] Fix memory leak in hb-subset-plan.

6 years ago[subset] Fix memory leak in hb-subset.
Garret Rieger [Fri, 23 Feb 2018 23:41:52 +0000 (15:41 -0800)]
[subset] Fix memory leak in hb-subset.

6 years ago[subset] Fix memory leak in cmap subsetting.
Garret Rieger [Fri, 23 Feb 2018 23:37:43 +0000 (15:37 -0800)]
[subset] Fix memory leak in cmap subsetting.

6 years ago[subset] Fix memory leak in hmtx subsetting.
Garret Rieger [Fri, 23 Feb 2018 23:36:14 +0000 (15:36 -0800)]
[subset] Fix memory leak in hmtx subsetting.

6 years ago[subset] Fix memory leak in subset face destroy.
Garret Rieger [Fri, 23 Feb 2018 23:30:14 +0000 (15:30 -0800)]
[subset] Fix memory leak in subset face destroy.

6 years agoautoconf: provide a harfbuzz-config for use from CMake (#822)
Ben Boeckel [Fri, 23 Feb 2018 21:55:53 +0000 (16:55 -0500)]
autoconf: provide a harfbuzz-config for use from CMake (#822)

6 years agoClean up check-defs and check-symbols (#821)
Behdad Esfahbod [Fri, 23 Feb 2018 21:19:34 +0000 (13:19 -0800)]
Clean up check-defs and check-symbols (#821)

Also, call c++filt on their results.

Also build and fix and check harfbuzz-gobject.def

Also changes harfbuzz-gobject to distribute generated enum sources.

6 years ago[subset] clone trim logic from fonttools glyf handling
Rod Sheeter [Fri, 23 Feb 2018 21:05:58 +0000 (13:05 -0800)]
[subset] clone trim logic from fonttools glyf handling

6 years agoMerge pull request #823 from googlefonts/hdmx
Garret Rieger [Fri, 23 Feb 2018 19:32:18 +0000 (12:32 -0700)]
Merge pull request #823 from googlefonts/hdmx

[subset] Add hdmx subsetting.

6 years ago[subset] Remove commented code from run-tests.py.
Garret Rieger [Fri, 23 Feb 2018 02:41:50 +0000 (18:41 -0800)]
[subset] Remove commented code from run-tests.py.

6 years ago[subset] Update expected files for subsetting integration test to not include cmap 4.
Garret Rieger [Fri, 23 Feb 2018 02:38:44 +0000 (18:38 -0800)]
[subset] Update expected files for subsetting integration test to not include cmap 4.

6 years ago[subset] Fix checksum clearning in subset test diff. Add an updated expected file...
Garret Rieger [Thu, 22 Feb 2018 22:28:18 +0000 (14:28 -0800)]
[subset] Fix checksum clearning in subset test diff. Add an updated expected file (has cmap4 restored).

6 years ago[subset] Don't compare actual to itself in Fix test/subset/run-tests. Print a diff...
Garret Rieger [Thu, 22 Feb 2018 22:07:52 +0000 (14:07 -0800)]
[subset] Don't compare actual to itself in Fix test/subset/run-tests. Print a diff on failure.

6 years ago[hdmx] Fix sanitize()
Behdad Esfahbod [Fri, 23 Feb 2018 18:45:03 +0000 (10:45 -0800)]
[hdmx] Fix sanitize()

6 years ago[hdmx] Minor
Behdad Esfahbod [Fri, 23 Feb 2018 18:38:35 +0000 (10:38 -0800)]
[hdmx] Minor

6 years ago[hdmx] Move DeviceRecord to toplevel again
Behdad Esfahbod [Fri, 23 Feb 2018 18:34:26 +0000 (10:34 -0800)]
[hdmx] Move DeviceRecord to toplevel again

More readable.

6 years ago[subset] More complete sanitization implementation for hdmx.
Garret Rieger [Fri, 23 Feb 2018 00:48:28 +0000 (16:48 -0800)]
[subset] More complete sanitization implementation for hdmx.

6 years ago[subset] Formatting and comments in hdmx.
Garret Rieger [Fri, 23 Feb 2018 00:40:50 +0000 (16:40 -0800)]
[subset] Formatting and comments in hdmx.

6 years ago[subset] In hb-ot-hdmx-table, s/glyf/hdmx.
Garret Rieger [Thu, 22 Feb 2018 20:00:00 +0000 (12:00 -0800)]
[subset] In hb-ot-hdmx-table, s/glyf/hdmx.

6 years ago[subset] Fail subset if a table fails to sanitize.
Garret Rieger [Thu, 22 Feb 2018 19:57:35 +0000 (11:57 -0800)]
[subset] Fail subset if a table fails to sanitize.

6 years ago[subset] Add a unit test for hdmx subsetting.
Garret Rieger [Thu, 22 Feb 2018 01:59:57 +0000 (17:59 -0800)]
[subset] Add a unit test for hdmx subsetting.

6 years ago[subset] Enable hdmx subsetting.
Garret Rieger [Thu, 22 Feb 2018 01:43:32 +0000 (17:43 -0800)]
[subset] Enable hdmx subsetting.

6 years ago[subset] Move DeviceRecord inside of hdmx.
Garret Rieger [Thu, 22 Feb 2018 01:42:58 +0000 (17:42 -0800)]
[subset] Move DeviceRecord inside of hdmx.