Behdad Esfahbod [Wed, 14 Mar 2018 15:31:53 +0000 (16:31 +0100)]
Add NameID
Behdad Esfahbod [Wed, 14 Mar 2018 15:26:33 +0000 (16:26 +0100)]
[color/COLR] Simplify
Behdad Esfahbod [Wed, 14 Mar 2018 15:18:42 +0000 (16:18 +0100)]
[color/COLR] Clean up
Behdad Esfahbod [Wed, 14 Mar 2018 15:08:12 +0000 (16:08 +0100)]
[color/COLR] Fix bad sanitize
Bad bad bad bad code. Don't do that. If compiler's not happy, understand why.
Behdad Esfahbod [Wed, 14 Mar 2018 15:03:01 +0000 (16:03 +0100)]
[color/COLR] Clean up
Behdad Esfahbod [Wed, 14 Mar 2018 14:52:53 +0000 (15:52 +0100)]
[color/cbdt] Clean up
Behdad Esfahbod [Wed, 14 Mar 2018 14:51:33 +0000 (15:51 +0100)]
Revert "hb-private.hh: Add fallback implementation for round()"
This reverts commit
b9dcbb1f8312d8606b230f75594d40b7d4087004.
This is gross. Should be only done if a specific macro is defined. Not the other way
around. This fails my build as autotools companions where not added anyway.
Ebrahim Byagowi [Thu, 15 Mar 2018 08:10:52 +0000 (11:40 +0330)]
Merge pull request #886 from madig/only-export-visible-symbols
CMake: hide symbols by default on non-MSVC, define export attribute
Nikolaus Waxweiler [Wed, 14 Mar 2018 10:29:24 +0000 (10:29 +0000)]
Enable implicit symbol hiding for all libraries, static and shared
This covers all built libraries now and both static and shared builds.
Ebrahim Byagowi [Wed, 14 Mar 2018 07:34:28 +0000 (11:04 +0330)]
[dwrite] GCC/mingw/msys2 compatibility (#884)
Ebrahim Byagowi [Wed, 14 Mar 2018 06:26:31 +0000 (09:56 +0330)]
[ci] Trying to fix gen-def issue on appveyor (#885)
Nikolaus Waxweiler [Wed, 14 Mar 2018 00:50:32 +0000 (00:50 +0000)]
CMake: hide symbols by default on non-MSVC, define export attribute
This change makes sure that non-MSVC builds using CMake properly hide
non-exported functions.
Ebrahim Byagowi [Tue, 13 Mar 2018 23:24:07 +0000 (02:54 +0330)]
Merge pull request #877 from fanc999/master.msvc
Fix CMake builds on Windows, MSVC in particular
Chun-wei Fan [Mon, 12 Mar 2018 08:43:53 +0000 (16:43 +0800)]
CMake: Fix utility program installation
Put in the utility program that was missed in installation by replacing
the one that was duplicated.
Chun-wei Fan [Mon, 12 Mar 2018 08:23:57 +0000 (16:23 +0800)]
CMake: Fix introspection on Windows
The list of source files to pass to g-ir-scanner is becoming too
long for Windows, as Windows imposes a 8192-character limit for command
lines, so we need to first transform that list into a listings file, and
then use the --filelist option for g-ir-scanner to build the
introspection files.
Chun-wei Fan [Mon, 12 Mar 2018 05:48:55 +0000 (13:48 +0800)]
test/api: Fix building subset tests
Include stdbool.h in hb-setset-test.h instead of in the individual
sources, if it is found; otherwise use a simplistic fallback for it if
it is not found.
Also declare variables at the top of the block, to build on pre-C99
compiliers.
Chun-wei Fan [Mon, 12 Mar 2018 05:38:01 +0000 (13:38 +0800)]
CMake: Fix running tests on Windows
For the API tests, output the test programs at $(TOP_BUILDDIR) so that
the freshly-built DLLs will be available for the test programs. For
those that are run through the Python wrapper scripts, use
${PYTHON_EXECUTABLE} instead of plain 'python' in case the Python
interpreter is not in the PATH.
Chun-wei Fan [Mon, 12 Mar 2018 05:33:03 +0000 (13:33 +0800)]
hb-private.hh: Add fallback implementation for round()
Add a simplistic round() implementation for our purposes, used when the
compiler does not support round() directly.
Chun-wei Fan [Mon, 12 Mar 2018 05:27:38 +0000 (13:27 +0800)]
configure.ac/CMake: Check for round() and stdbool.h
Not all the compilers that HarfBuzz is buildable on supports round() and
has the header stdbool.h, so we check for them and define HAVE_ROUND and
HAVE_STDBOOL_H repsectively in our CFLAGS so that we include them only
when they are found, or use fallback implementations when necessary.
Also include FindPythonInterp earlier as we need PYTHON_EXECUTABLE to be
set for running the tests.
Ebrahim Byagowi [Mon, 12 Mar 2018 10:30:11 +0000 (14:00 +0330)]
[ot-color/SVG] Minor (#878)
Behdad Esfahbod [Sun, 11 Mar 2018 19:38:40 +0000 (20:38 +0100)]
[sbix] Clean up
Ebrahim Byagowi [Sat, 10 Mar 2018 07:43:52 +0000 (11:13 +0330)]
[ot-color] SVG table implementation (#874)
Ebrahim Byagowi [Sat, 10 Mar 2018 07:37:56 +0000 (11:07 +0330)]
[ot-color] sbix table implementation (#870)
Ebrahim Byagowi [Fri, 9 Mar 2018 21:14:36 +0000 (00:44 +0330)]
[dev-run] minor
Garret Rieger [Fri, 9 Mar 2018 19:06:52 +0000 (12:06 -0700)]
Merge pull request #872 from googlefonts/drop-tables
[subset] Drop the same tables by default as fontTools does.
Ebrahim Byagowi [Fri, 9 Mar 2018 12:13:03 +0000 (15:43 +0330)]
Make subset test runner compatible with py3
Fixes #873
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
Garret Rieger [Fri, 9 Mar 2018 00:30:36 +0000 (16:30 -0800)]
[subset] Drop the same tables by default as fontTools does.
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.
Garret Rieger [Wed, 7 Mar 2018 20:37:03 +0000 (12:37 -0800)]
[subset] Drop cmap 12, platform 0 tables from Mplus1p expected files.
Garret Rieger [Wed, 7 Mar 2018 01:47:40 +0000 (17:47 -0800)]
[subset] Fix deadlock waiting for process output in subset test runner.
Garret Rieger [Tue, 6 Mar 2018 23:43:08 +0000 (15:43 -0800)]
[subset] add some extra logging to subset run-tests.py.
Garret Rieger [Fri, 2 Mar 2018 02:20:00 +0000 (18:20 -0800)]
[subset] Add japanese font file to subset integration tests.
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.
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.
Garret Rieger [Wed, 7 Mar 2018 18:33:02 +0000 (10:33 -0800)]
[subset] Unit test to check that post subsetting drops glyph names.
Garret Rieger [Wed, 7 Mar 2018 02:33:39 +0000 (18:33 -0800)]
[subset] drop all glyph names from the post table.
Garret Rieger [Wed, 7 Mar 2018 19:36:00 +0000 (12:36 -0700)]
Merge pull request #867 from googlefonts/vmtx
[subset] Add vmtx subsetting.
Garret Rieger [Wed, 7 Mar 2018 19:08:55 +0000 (11:08 -0800)]
[subset] fix author.
Garret Rieger [Wed, 7 Mar 2018 18:29:15 +0000 (10:29 -0800)]
[subset] s/hmetrics/vmetrics.
Garret Rieger [Wed, 7 Mar 2018 18:17:06 +0000 (10:17 -0800)]
[subset] cleanup.
Garret Rieger [Tue, 6 Mar 2018 23:40:35 +0000 (15:40 -0800)]
[subset] add unit tests for vmtx subsetting.
Garret Rieger [Tue, 6 Mar 2018 21:08:20 +0000 (13:08 -0800)]
[subset] Skip subsetting vhea.
Garret Rieger [Sat, 3 Mar 2018 01:33:49 +0000 (17:33 -0800)]
[subset] Subset vmtx if present.
Behdad Esfahbod [Wed, 7 Mar 2018 15:11:44 +0000 (16:11 +0100)]
[test] Fix build with older glib
Behdad Esfahbod [Wed, 7 Mar 2018 15:05:14 +0000 (16:05 +0100)]
1.7.6
Behdad Esfahbod [Wed, 7 Mar 2018 14:52:42 +0000 (15:52 +0100)]
[ot] Comment out AAT include
Behdad Esfahbod [Wed, 7 Mar 2018 14:51:42 +0000 (15:51 +0100)]
Remove hb-ot-color.h
So I can make a release.
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.
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
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.
Behdad Esfahbod [Wed, 7 Mar 2018 08:37:22 +0000 (09:37 +0100)]
Minor
Behdad Esfahbod [Wed, 7 Mar 2018 08:27:16 +0000 (09:27 +0100)]
Sign
Garret Rieger [Tue, 6 Mar 2018 21:46:51 +0000 (13:46 -0800)]
[set] add a test demonstrating a bug in hb_set_union.
Ebrahim Byagowi [Tue, 6 Mar 2018 20:53:40 +0000 (00:23 +0330)]
[ci] Enable -Werror=unused (#862)
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
Ebrahim Byagowi [Mon, 5 Mar 2018 10:55:11 +0000 (14:25 +0330)]
[dev-run] an option to open using a GUI app
Ebrahim Byagowi [Mon, 5 Mar 2018 09:32:50 +0000 (13:02 +0330)]
[ci] minor, bring back the removed assertion
Ebrahim Byagowi [Mon, 5 Mar 2018 09:28:34 +0000 (12:58 +0330)]
[ci] minor
Ebrahim Byagowi [Sat, 3 Mar 2018 23:26:27 +0000 (02:56 +0330)]
[aat/kerx] Add a TODO
Ebrahim Byagowi [Sat, 3 Mar 2018 23:17:26 +0000 (02:47 +0330)]
[ot-color] Move cbdt to the namespace (#860)
Ebrahim Byagowi [Sat, 3 Mar 2018 23:01:53 +0000 (02:31 +0330)]
[ci] Remove --coverage as use of --enable-code-coverage
Ebrahim Byagowi [Sat, 3 Mar 2018 19:56:11 +0000 (23:26 +0330)]
[ci] Don't run coveralls on freetype folder
Ebrahim Byagowi [Sat, 3 Mar 2018 19:47:36 +0000 (23:17 +0330)]
[ci] Remove failing check on run-coveralls
Ebrahim Byagowi [Sat, 3 Mar 2018 19:39:25 +0000 (23:09 +0330)]
Add lcov tool for coverage tests
Ebrahim Byagowi [Sat, 3 Mar 2018 19:33:13 +0000 (23:03 +0330)]
[ci] Enable code coverage on Travis Linux builds
Ebrahim Byagowi [Sat, 3 Mar 2018 19:25:09 +0000 (22:55 +0330)]
Enable coverage test on autotools (#857)
Ebrahim Byagowi [Sat, 3 Mar 2018 19:13:23 +0000 (22:43 +0330)]
[ot-color] Move the related tables to hb-ot-color-* (#858)
Ebrahim Byagowi [Sat, 3 Mar 2018 18:30:29 +0000 (22:00 +0330)]
[COLR/CPAL] Provide enough helper for rasterization (#855)
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.
Ebrahim Byagowi [Fri, 2 Mar 2018 07:34:09 +0000 (11:04 +0330)]
[aat/kerx] Improve format 6 subtable
Ebrahim Byagowi [Thu, 1 Mar 2018 20:37:26 +0000 (00:07 +0330)]
[aat/kerx] Make parsing of the table actually work (#850)
Ebrahim Byagowi [Thu, 1 Mar 2018 20:36:03 +0000 (00:06 +0330)]
[COLR] Sanitize BaseGlyphRecord (#854)
Ebrahim Byagowi [Thu, 1 Mar 2018 06:57:18 +0000 (10:27 +0330)]
[CPAL] Fix version checking logic on sanitizer (#851)
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
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.
rsheeter [Wed, 28 Feb 2018 21:52:29 +0000 (13:52 -0800)]
Merge pull request #845 from googlefonts/drophints
[subset] drop hints from composites
Rod Sheeter [Wed, 28 Feb 2018 19:41:24 +0000 (11:41 -0800)]
[subset] kick the build
Rod Sheeter [Wed, 28 Feb 2018 19:15:08 +0000 (11:15 -0800)]
[subset] extract a method to flip off composite instruction flag
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
Ebrahim Byagowi [Wed, 28 Feb 2018 10:00:17 +0000 (13:30 +0330)]
Merge pull request #847 from ebraminio/colr
[colr] Implement
Ebrahim Byagowi [Wed, 28 Feb 2018 09:49:40 +0000 (13:19 +0330)]
[colr] Implement
Ebrahim Byagowi [Wed, 28 Feb 2018 08:35:49 +0000 (12:05 +0330)]
Merge pull request #841 from ebraminio/color
Support CPAL table
Ebrahim Byagowi [Wed, 28 Feb 2018 08:23:39 +0000 (11:53 +0330)]
[cmake] cleanup (#846)
Ebrahim Byagowi [Tue, 27 Feb 2018 19:26:17 +0000 (22:56 +0330)]
[CPAL] Refactor and address the reviews
Rod Sheeter [Wed, 28 Feb 2018 04:51:12 +0000 (20:51 -0800)]
[subset] remove WE_HAVE_INSTRUCTIONS from composites when dropping hints
Rod Sheeter [Wed, 28 Feb 2018 04:17:04 +0000 (20:17 -0800)]
[subset] update the test file for composite, fix an offset calculation
Rod Sheeter [Wed, 28 Feb 2018 01:25:32 +0000 (17:25 -0800)]
Merge branch 'expand-tests' of github.com:googlefonts/harfbuzz into drophints
Garret Rieger [Tue, 27 Feb 2018 22:33:36 +0000 (14:33 -0800)]
[subset] Add drop hinting profile to full-font.tests
Garret Rieger [Tue, 27 Feb 2018 22:28:50 +0000 (14:28 -0800)]
[subset] Add a drop hints profile to basics.tests
Garret Rieger [Tue, 27 Feb 2018 21:15:40 +0000 (13:15 -0800)]
[subset] apply subset profiles (flags) to the subset integration tests.
Garret Rieger [Tue, 27 Feb 2018 19:36:16 +0000 (11:36 -0800)]
[subset] add expected/full-font to dist files.
Garret Rieger [Tue, 27 Feb 2018 02:51:56 +0000 (18:51 -0800)]
[subset] Add subset integration tests using the full roboto font.
Garret Rieger [Tue, 27 Feb 2018 02:39:09 +0000 (18:39 -0800)]
[subset] Add some more variations of the basic test.
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
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.
Garret Rieger [Tue, 27 Feb 2018 22:37:18 +0000 (14:37 -0800)]
[subset] minor fixes in 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
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.
Garret Rieger [Tue, 27 Feb 2018 21:49:00 +0000 (13:49 -0800)]
[subset] when dropping hints, clear hint related fields in maxp.