Behdad Esfahbod [Wed, 2 May 2018 18:59:14 +0000 (14:59 -0400)]
Rename some X-terminated members to Z-terminated
X-terminated means don't access this, it's not located correctly.
Z-terminated means this is a C array with no bound checking.
Behdad Esfahbod [Wed, 2 May 2018 16:56:21 +0000 (12:56 -0400)]
[set] Fix init/fini of set on the stack to call object init/fini
Part of https://github.com/harfbuzz/harfbuzz/issues/1017
Behdad Esfahbod [Tue, 1 May 2018 23:09:00 +0000 (19:09 -0400)]
Remove hb_auto_array_t
Part of https://github.com/harfbuzz/harfbuzz/issues/1017
Behdad Esfahbod [Tue, 1 May 2018 23:07:04 +0000 (19:07 -0400)]
s/hb_prealloced_array_t/hb_vector_t/g
Part of https://github.com/harfbuzz/harfbuzz/issues/1017
Behdad Esfahbod [Tue, 1 May 2018 23:05:58 +0000 (19:05 -0400)]
Add hb_auto_t
Part of https://github.com/harfbuzz/harfbuzz/issues/1017
Behdad Esfahbod [Tue, 1 May 2018 23:01:25 +0000 (19:01 -0400)]
s/finish/fini
For consistency.
Behdad Esfahbod [Tue, 1 May 2018 22:39:25 +0000 (18:39 -0400)]
Add hb_object_fini()
Behdad Esfahbod [Tue, 1 May 2018 22:27:41 +0000 (18:27 -0400)]
[set] Cache population
Part of https://github.com/harfbuzz/harfbuzz/issues/1017
violet-sippial [Sat, 28 Apr 2018 18:29:13 +0000 (20:29 +0200)]
[subset] Do not compare ttx progress output in the tests
Suppress progress messages of ttx. This avoids comparing this output to the reference file which lets the test fail.
Ebrahim Byagowi [Sat, 28 Apr 2018 09:28:55 +0000 (13:58 +0430)]
[dwrite] Minor, enable the original code assertions
Ebrahim Byagowi [Fri, 13 Apr 2018 08:13:29 +0000 (12:43 +0430)]
Don't decompose Bengali Rra and Rha
Fixes #779 and follow up to
b01d9b3d90e892341ee4463f2eda4600850b97d8
Ebrahim Byagowi [Wed, 25 Apr 2018 12:14:04 +0000 (16:44 +0430)]
Minor, improve file reading failing condition comment
https://bugzilla.gnome.org/show_bug.cgi?id=659212 for more context
Ebrahim Byagowi [Tue, 24 Apr 2018 04:34:15 +0000 (09:04 +0430)]
Minor, re-add unused mark to some of ragel defined state machines (#1005)
Ebrahim Byagowi [Tue, 24 Apr 2018 03:41:13 +0000 (08:11 +0430)]
Minor, re-add unused mark for two TRACE_ macros
To revive Travis CI bot
Ebrahim Byagowi [Mon, 23 Apr 2018 15:06:53 +0000 (19:36 +0430)]
Resolve some of clang's double-promotion warnings
Ebrahim Byagowi [Mon, 23 Apr 2018 14:33:57 +0000 (19:03 +0430)]
Resolve clang's used-but-marked-unused warnings
Ebrahim Byagowi [Mon, 23 Apr 2018 14:09:40 +0000 (18:39 +0430)]
Resolve clang's conditional-uninitialize warnings
Ebrahim Byagowi [Mon, 23 Apr 2018 14:07:35 +0000 (18:37 +0430)]
Resolve some of clang's zero-as-null-pointer-constant warnings
Ebrahim Byagowi [Sun, 22 Apr 2018 06:28:37 +0000 (10:58 +0430)]
Minor, fix calloc call order
Ebrahim Byagowi [Fri, 20 Apr 2018 16:42:58 +0000 (21:12 +0430)]
[aat/kerx] Minor (#1003)
Ebrahim Byagowi [Fri, 20 Apr 2018 05:59:06 +0000 (10:29 +0430)]
Add hb_blob_create_from_file, a new API (#926)
Garret Rieger [Thu, 19 Apr 2018 22:30:35 +0000 (15:30 -0700)]
[subset] Check instruction offsets in glyph to ensure they are in bounds.
Garret Rieger [Thu, 19 Apr 2018 20:39:57 +0000 (13:39 -0700)]
[subset] In subset fuzzer run through drop hints and keep hints pathways.
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