Khaled Hosny [Thu, 19 Apr 2018 20:41:37 +0000 (23:41 +0300)]
[util] Check all specified shapers are known (#993)
A bit brute force and requires all shapers to be known, not just one.
Fixes https://github.com/harfbuzz/harfbuzz/issues/956
Garret Rieger [Thu, 19 Apr 2018 00:37:39 +0000 (17:37 -0700)]
[subset] Add integration tests for cmap breakge.
Garret Rieger [Thu, 19 Apr 2018 00:32:43 +0000 (17:32 -0700)]
[subset] Add a test for previous cmap breakage.
Garret Rieger [Thu, 19 Apr 2018 00:13:37 +0000 (17:13 -0700)]
[subset] Fix broken cmap creation.
It was ignoring the restriction that gids must be consecutive to be placed into a single group.
Ebrahim Byagowi [Wed, 18 Apr 2018 07:39:37 +0000 (12:09 +0430)]
Minor, annotate the added tables with likely/unlikely (#997)
Garret Rieger [Wed, 18 Apr 2018 01:11:32 +0000 (18:11 -0700)]
[subset] Remove printf's from fuzzing targets.
Ebrahim Byagowi [Tue, 17 Apr 2018 19:31:20 +0000 (00:01 +0430)]
Do sanitization before the use on 'main' mini-program (#994)
Garret Rieger [Tue, 17 Apr 2018 14:21:22 +0000 (08:21 -0600)]
[subset] add a fuzzer target for subset_get_all_codepoints method. (#987)
Behdad Esfahbod [Tue, 17 Apr 2018 13:32:02 +0000 (15:32 +0200)]
[colr] Check layer record access
Garret Rieger [Tue, 17 Apr 2018 13:00:23 +0000 (07:00 -0600)]
[subset] Add implementation of cmap format 12 codepoint listing. (#988)
Ebrahim Byagowi [Tue, 17 Apr 2018 05:06:52 +0000 (09:36 +0430)]
Add pre-opentype font pages detection code (#986)
As Khaled's finding on #981 this is the way Uniscribe detects those fonts. This is its detection part.
Ebrahim Byagowi [Tue, 17 Apr 2018 04:43:35 +0000 (09:13 +0430)]
Make some of implicit header uses explicit (#989)
Splitted from #950 and #986 IIRC Chromium had a policy about this encouraging it,
not sure about automated way to detect and add them but for now lets have the needed
ones of them.
Ebrahim Byagowi [Tue, 17 Apr 2018 04:43:03 +0000 (09:13 +0430)]
Add round to F2DOT14 inner store setter (#990)
It uses floor implicitly without it but explicit use of round will be more correct.
Garret Rieger [Mon, 16 Apr 2018 22:09:27 +0000 (15:09 -0700)]
[subset] Don't assume the last segment in cmap 4 can be skipped, actually check it.
Garret Rieger [Tue, 10 Apr 2018 22:40:24 +0000 (15:40 -0700)]
[subset] sketch out support for a call that lists all codepoints present in a font. Implement support for it in format 4 cmap sub table.
Ebrahim Byagowi [Mon, 16 Apr 2018 14:00:25 +0000 (18:30 +0430)]
Further improvements on dump-fon (#985)
Ebrahim Byagowi [Mon, 16 Apr 2018 09:55:45 +0000 (14:25 +0430)]
Add dump-fon, a prototype on how to work with .fon/.fnt files (#981)
Ebrahim Byagowi [Sun, 15 Apr 2018 17:38:50 +0000 (22:08 +0430)]
Implement to_float and set_float of F2DOT14 (#984)
Ebrahim Byagowi [Sun, 15 Apr 2018 16:48:48 +0000 (21:18 +0430)]
Rename UINT24 to HBUINT24 for consistency (#983)
Ebrahim Byagowi [Fri, 13 Apr 2018 18:49:19 +0000 (23:19 +0430)]
Merge pull request #979 from ebraminio/msvc05
Reinstate support for Visual Studio 2005
Tor Andersson [Fri, 13 Apr 2018 18:31:54 +0000 (23:01 +0430)]
Reinstate support for Visual Studio 2005
Ebrahim Byagowi [Thu, 12 Apr 2018 09:47:03 +0000 (14:17 +0430)]
Always enable atexit on Android (#971)
Obviously one can use a newer NDK for building an updated HarfBuzz
instead that now pretty old version however I am concerned if that
version checking is working with clang that is used with the newer
NDK versions.
Ebrahim Byagowi [Thu, 12 Apr 2018 09:10:45 +0000 (13:40 +0430)]
Update the links and revive the dead ones
Ebrahim Byagowi [Thu, 12 Apr 2018 09:08:19 +0000 (13:38 +0430)]
Add or update tables specifications links
Ebrahim Byagowi [Wed, 11 Apr 2018 14:06:09 +0000 (18:36 +0430)]
minor, use LOffsetTo and LArrayOf whenever possible (#966)
Ebrahim Byagowi [Wed, 11 Apr 2018 13:30:13 +0000 (18:00 +0430)]
[dwrite] Cosmetic change (#963)
Ebrahim Byagowi [Wed, 11 Apr 2018 13:11:48 +0000 (17:41 +0430)]
[graphite] Use tabs instead 8 spaces (#965)
Ebrahim Byagowi [Wed, 11 Apr 2018 13:11:24 +0000 (17:41 +0430)]
[aat] Cosmetic changes (#964)
Ebrahim Byagowi [Wed, 11 Apr 2018 12:43:20 +0000 (17:13 +0430)]
[ot-color] Cosmetic changes (#962)
Ebrahim Byagowi [Mon, 9 Apr 2018 22:56:01 +0000 (03:26 +0430)]
minor
Ebrahim Byagowi [Mon, 9 Apr 2018 20:23:50 +0000 (00:53 +0430)]
[colr/cpal] Improvements and add a sample renderer (#927)
Ebrahim Byagowi [Mon, 9 Apr 2018 20:21:57 +0000 (00:51 +0430)]
[ci] Don't fail on brew warnings
Not the best fix but it works and we don't care about brew warnings, so
Ryan Schmidt [Thu, 5 Apr 2018 22:03:36 +0000 (17:03 -0500)]
Fix build with CoreText on OS X 10.7 and earlier (#952)
Ebrahim Byagowi [Sun, 1 Apr 2018 07:46:42 +0000 (12:16 +0430)]
[aat] Further improvements on feat (#948)
Behdad Esfahbod [Sat, 31 Mar 2018 15:06:17 +0000 (17:06 +0200)]
[hangul] Fix comment
Ebrahim Byagowi [Sat, 31 Mar 2018 12:21:36 +0000 (16:51 +0430)]
[aat] Implement feat table parsing (#947)
Behdad Esfahbod [Sat, 31 Mar 2018 10:15:50 +0000 (12:15 +0200)]
Another try at fixing linker issue
Fixes https://github.com/harfbuzz/harfbuzz/issues/880
Ebrahim Byagowi [Fri, 30 Mar 2018 17:55:35 +0000 (22:25 +0430)]
Minor build related changes
Ebrahim Byagowi [Fri, 30 Mar 2018 17:27:10 +0000 (21:57 +0430)]
[aat] Implement gcid table parsing (#944)
Ebrahim Byagowi [Fri, 30 Mar 2018 15:06:00 +0000 (19:36 +0430)]
[aat] Implement bsln table parsing (#943)
Ebrahim Byagowi [Fri, 30 Mar 2018 00:30:28 +0000 (05:00 +0430)]
Make atexit callbacks threadsafe (#930)
Ebrahim Byagowi [Fri, 30 Mar 2018 00:28:47 +0000 (04:58 +0430)]
[graphite] Make get_table threadsafe (#931)
Ebrahim Byagowi [Thu, 29 Mar 2018 17:30:41 +0000 (22:00 +0430)]
Make gen-* scripts LC_ALL=C compatible (#942)
Ebrahim Byagowi [Thu, 29 Mar 2018 16:52:47 +0000 (21:22 +0430)]
Actual py3 compatibility making on gen-* scripts (#941)
Ebrahim Byagowi [Thu, 29 Mar 2018 08:18:47 +0000 (12:48 +0430)]
Make more gen-* scripts py3 compatible (#940)
Ebrahim Byagowi [Wed, 28 Mar 2018 23:52:53 +0000 (04:22 +0430)]
Add README.wine.md and touch some other docs (#939)
Behdad Esfahbod [Wed, 28 Mar 2018 22:33:51 +0000 (15:33 -0700)]
[atexit] Make hb_languate_item_t *langs freeing threadsafe
Part of https://github.com/harfbuzz/harfbuzz/issues/923
Behdad Esfahbod [Wed, 28 Mar 2018 21:06:58 +0000 (14:06 -0700)]
Fix one UBSan warning
Fixes https://github.com/harfbuzz/harfbuzz/issues/935
Behdad Esfahbod [Wed, 28 Mar 2018 20:38:51 +0000 (13:38 -0700)]
[uniscribe] Fixup for previous commit
Fixes https://github.com/harfbuzz/harfbuzz/issues/934
Behdad Esfahbod [Wed, 28 Mar 2018 17:44:52 +0000 (10:44 -0700)]
[uniscribe] Fix assertion fail in checksum calc
Program: Z:\Users\ebrahim\Desktop\harfbuzz\winbuild\util\.libs\hb-shape.exe
File: ../../src/hb-open-type-private.hh, Line 769
Expression: 0 == (Length & 3)
abnormal program termination
Ebrahim Byagowi [Wed, 28 Mar 2018 14:38:19 +0000 (19:08 +0430)]
Make gen-use-table.py py3 compatible (#932)
Garret Rieger [Tue, 27 Mar 2018 17:42:19 +0000 (10:42 -0700)]
[subset] fix infinite loop bug in looping through tables for subsetting.
Ebrahim Byagowi [Tue, 27 Mar 2018 12:27:09 +0000 (16:57 +0430)]
Implement an internal emojis dumper tool (#909)
Later to be expanded to a more general tool but for now it only supports CBDT, SVG and CBDT.
Ebrahim Byagowi [Tue, 27 Mar 2018 09:29:56 +0000 (13:59 +0430)]
[ci] Fix coverage build fail (#925)
Garret Rieger [Tue, 27 Mar 2018 02:56:56 +0000 (20:56 -0600)]
[subset] Couple of fixes for fuzzer discovered issues. (#924)
* [subset] sanitize individual DeviceRecord's as part of hdmx sanitization.
* [subset] Fix out of bounds read with non-two byte align glyphs.
* [subset] Just use size_device_record >= DeviceRecord::min_size.
* [subset] Add TODO.
* [subset] Re-order checks in hdmx sanitize.
Behdad Esfahbod [Tue, 27 Mar 2018 02:55:22 +0000 (19:55 -0700)]
[hdmx] Minor
Behdad Esfahbod [Tue, 27 Mar 2018 02:55:16 +0000 (19:55 -0700)]
Minor
Behdad Esfahbod [Mon, 26 Mar 2018 22:09:54 +0000 (15:09 -0700)]
Fix previous commit
Automake has this stupid behavior where if your Makefile.am has
syntactic error, it can get to a state that make succeeds but just
ignores broken Makefile.am. Ouch.
Behdad Esfahbod [Mon, 26 Mar 2018 21:26:45 +0000 (14:26 -0700)]
Try fixing linking again
Before 1.7.5, we were setting -fno-exceptions etc on CXXFLAGS. In 1.7.6
we set it as CPPFLAGS. Try fixing. Also, I'm fairly sure it's safe to
set these unconditionally.
Fixes https://github.com/harfbuzz/harfbuzz/issues/880 (or so I hope)
Behdad Esfahbod [Mon, 26 Mar 2018 21:09:29 +0000 (14:09 -0700)]
Add HB_SUBSET_BUILTIN
Fixes https://github.com/harfbuzz/harfbuzz/issues/865
Behdad Esfahbod [Mon, 26 Mar 2018 17:44:54 +0000 (10:44 -0700)]
Add HB_NO_ATEXIT
Ebrahim Byagowi [Mon, 26 Mar 2018 08:58:26 +0000 (13:28 +0430)]
[aat] Unprefix not essentially layout tables (#921)
David Corbett [Mon, 26 Mar 2018 00:50:41 +0000 (20:50 -0400)]
Allow trailing non-numeric chars in --unicodes
Behdad Esfahbod [Mon, 26 Mar 2018 08:14:07 +0000 (01:14 -0700)]
[aat/ltag] Whitespace
Ebrahim Byagowi [Mon, 26 Mar 2018 07:34:30 +0000 (12:04 +0430)]
[aat/ltag] Implement the table parsing (#911)
Ebrahim Byagowi [Sun, 25 Mar 2018 19:26:02 +0000 (23:56 +0430)]
[aat/fmtx] Implement the table parsing (#910)
Ebrahim Byagowi [Sun, 25 Mar 2018 14:15:50 +0000 (18:45 +0430)]
[ci] Add a build only apple-gcc-4.2 i686 bot
Ebrahim Byagowi [Sun, 25 Mar 2018 13:49:23 +0000 (18:19 +0430)]
[dwrite] minor
Behdad Esfahbod [Sun, 25 Mar 2018 00:51:55 +0000 (17:51 -0700)]
More ULL fixes
Fixes https://github.com/harfbuzz/harfbuzz/issues/901
Behdad Esfahbod [Sat, 24 Mar 2018 21:12:12 +0000 (14:12 -0700)]
Define uint64_t constants with ULL suffix
Fixes https://github.com/harfbuzz/harfbuzz/issues/901
Chun-wei Fan [Mon, 12 Mar 2018 05:33:03 +0000 (13:33 +0800)]
hb-private.hh: Add fallback implementation for round()
For pre-C99 compilers that do not support round(), we need to have a
simplistic implementation for it, when it is not detected during build
configuration, either via CMake or autotools, by using floor() and
ceil(), which are provided in the pre-C99 compilers.
Please see discussion at commit 86a0ac2 for more details for re-adding
this patch.
Nikolaus Waxweiler [Fri, 23 Mar 2018 19:38:11 +0000 (19:38 +0000)]
Policy 0063 must be enabled to have hidden inline visibility... (#900)
...on static builds.
Ebrahim Byagowi [Fri, 23 Mar 2018 14:07:01 +0000 (18:37 +0430)]
Fix llvm-gcc-4.2 compile issue and add a macOS bot to test it (#899)
Ebrahim Byagowi [Thu, 22 Mar 2018 11:34:38 +0000 (16:04 +0430)]
[dwrite] Replace rest of 'malloc/free's with 'new/delete' (#897)
Garret Rieger [Wed, 21 Mar 2018 00:36:52 +0000 (17:36 -0700)]
[subset] Check for the Null table and not nullptr to detect failure to find a table in glyf accelerator.
Garret Rieger [Wed, 21 Mar 2018 00:28:47 +0000 (17:28 -0700)]
[subset] Fix to debug message.
Garret Rieger [Tue, 20 Mar 2018 23:55:42 +0000 (16:55 -0700)]
[subset] don't use pointers returned from push after array has resized in hb-subset-glyf.cc
Garret Rieger [Tue, 20 Mar 2018 23:31:21 +0000 (16:31 -0700)]
[subset] Fixed out of bounds read when subsetting hdmx.
Garret Rieger [Tue, 20 Mar 2018 20:00:49 +0000 (13:00 -0700)]
[subset] Disable glyf accelerator_t methods if it didn't successfully init.
Garret Rieger [Tue, 20 Mar 2018 18:21:06 +0000 (11:21 -0700)]
[subset] Fix infinite loop in there are more then 32 tables.
Garret Rieger [Tue, 20 Mar 2018 01:39:22 +0000 (18:39 -0700)]
[subset] Add a fix for segfault in hmtx/vmtx subsetting code.
Garret Rieger [Tue, 20 Mar 2018 00:47:57 +0000 (17:47 -0700)]
[subset] Add a test demonstrating a seg fault while subsetting hmtx.
Garret Rieger [Fri, 16 Mar 2018 17:20:21 +0000 (10:20 -0700)]
[subset] Restore subset to hb-subset-fuzzer.
Ebrahim Byagowi [Mon, 19 Mar 2018 08:49:42 +0000 (12:19 +0330)]
[dwrite] Use new again and enable the build on msys2 bots (#890)
Ebrahim Byagowi [Fri, 16 Mar 2018 21:35:03 +0000 (01:05 +0330)]
Appropriate fix for msys2 bot fail on gen-def.py (#894)
Ebrahim Byagowi [Fri, 16 Mar 2018 19:15:09 +0000 (22:45 +0330)]
Do feature test before adding -Bsymbolic-functions, autotools part (#892)
Joel Winarske [Fri, 16 Mar 2018 19:14:27 +0000 (12:14 -0700)]
Do feature test before adding -Bsymbolic-functions, cmake part (#889)
Ebrahim Byagowi [Fri, 16 Mar 2018 19:09:58 +0000 (22:39 +0330)]
[cmake] Don't hide symbols by default (#891)
But keep use of cmake idiomatic way of making inlines hidden
Garret Rieger [Fri, 16 Mar 2018 01:27:01 +0000 (18:27 -0700)]
[subset] Test not linking libharfbuzz-subset-fuzzing into hb-subset-fuzzer.
Garret Rieger [Fri, 16 Mar 2018 01:06:15 +0000 (18:06 -0700)]
[subset] Test hb-shape-fuzzer in run-subset-fuzzer-tests.
Garret Rieger [Fri, 16 Mar 2018 01:04:54 +0000 (18:04 -0700)]
[subset] make libharfbuzz-subset-fuzzing.la depend on lib target.
Garret Rieger [Thu, 15 Mar 2018 23:31:38 +0000 (16:31 -0700)]
[subset] %d -> %zu
Garret Rieger [Thu, 15 Mar 2018 23:14:01 +0000 (16:14 -0700)]
[subset] Add some more logging to hb-subset-fuzzer.
Garret Rieger [Thu, 15 Mar 2018 23:12:00 +0000 (16:12 -0700)]
[subset] Fix run-shape-fuzzer-tests.py. It was generating incorrect paths for input fonts.
Garret Rieger [Thu, 15 Mar 2018 22:41:08 +0000 (15:41 -0700)]
[subset] Add more verbose output for subset fuzzer test.
Garret Rieger [Thu, 15 Mar 2018 20:04:31 +0000 (13:04 -0700)]
[subset] Rename hb-fuzzer -> hb-shape-fuzzer.
Garret Rieger [Thu, 15 Mar 2018 02:58:15 +0000 (19:58 -0700)]
[subset] Add rub-subset-fuzzer-tests.py to dist files.
Garret Rieger [Thu, 15 Mar 2018 02:15:33 +0000 (19:15 -0700)]
[subset] Add a test runner for hb-subset-fuzzer and cmake build config.
Garret Rieger [Tue, 13 Mar 2018 01:04:34 +0000 (18:04 -0700)]
[subset] Fix fuzzing build for hb-subset-fuzzer.
Garret Rieger [Mon, 12 Mar 2018 23:33:47 +0000 (16:33 -0700)]
[subset] Add missing destroy of subsetting result in subset fuzzer.