Wonyoung Choi [Tue, 14 Apr 2020 06:12:17 +0000 (15:12 +0900)]
[Tizen] Add libHarfbuzzSharp 2.6.1 to Tizen
Change-Id: I94375e75933a0a4625c8dd03f31f09858327ea0c
Behdad Esfahbod [Thu, 22 Aug 2019 22:52:24 +0000 (15:52 -0700)]
2.6.1
Behdad Esfahbod [Wed, 21 Aug 2019 19:30:22 +0000 (12:30 -0700)]
[ot-font] Prefer symbol cmap subtable if found
Fixes https://github.com/harfbuzz/harfbuzz/issues/1918
Hopefully doesn't break anyone...
Ebrahim Byagowi [Tue, 20 Aug 2019 22:32:01 +0000 (03:02 +0430)]
Remove hb_directwrite_shape_experimental_width public API
I had specially exposed the API as I didn't know how to embed harfbuzz
easily elsewhere but now with harfbuzz.cc it has become very easy
and I don't like to see its use anywhere as it has a bad naming and
its Kashida adding is bogus and only useful to check where it should
be added, not visually useful however.
Behdad Esfahbod [Tue, 20 Aug 2019 21:22:57 +0000 (14:22 -0700)]
Behdad Esfahbod [Tue, 20 Aug 2019 20:06:10 +0000 (13:06 -0700)]
[font] Update multipliers when creating sub_font
Fixes https://github.com/harfbuzz/harfbuzz/issues/1910
Ebrahim Byagowi [Tue, 20 Aug 2019 10:16:48 +0000 (14:46 +0430)]
[trak] minor, use roundf instead round to normalize the use
The change to `round` wasn't intended
Ebrahim Byagowi [Tue, 20 Aug 2019 09:00:34 +0000 (13:30 +0430)]
[readme] add oss-fuzz badge
Related:
https://github.com/google/oss-fuzz/pull/2513
https://github.com/systemd/systemd/commit/
ce2098b7e9443cd6f31fb70af7f72308cd2962a3
Ebrahim Byagowi [Tue, 20 Aug 2019 08:37:17 +0000 (13:07 +0430)]
[test] Rebase 10.14 trak related test
Ebrahim Byagowi [Tue, 20 Aug 2019 08:34:51 +0000 (13:04 +0430)]
Merge remove-coretext-96dpi-assumption, @drott
Remove assumption about Core Text working in 96 DPI
Ebrahim Byagowi [Tue, 20 Aug 2019 08:29:33 +0000 (12:59 +0430)]
Merge branch 'master' into remove-coretext-96dpi-assumption
Behdad Esfahbod [Mon, 19 Aug 2019 21:23:17 +0000 (14:23 -0700)]
Minor touch-up for recent change
Ebrahim Byagowi [Wed, 7 Aug 2019 15:37:58 +0000 (20:07 +0430)]
[avar] Implement inverse map, unmap
Ebrahim Byagowi [Wed, 7 Aug 2019 14:15:39 +0000 (18:45 +0430)]
[fvar] Implement inverse normalize, unnormalize
Behdad Esfahbod [Mon, 19 Aug 2019 18:35:37 +0000 (11:35 -0700)]
Minor
Ebrahim Byagowi [Sun, 18 Aug 2019 07:28:04 +0000 (11:58 +0430)]
Remove continuous development helper script
Not have used it personally for a long time, lets remove it
Khaled Hosny [Thu, 15 Aug 2019 23:00:30 +0000 (01:00 +0200)]
[ot-shape] Keep horizontal_features array sorted
Khaled Hosny [Thu, 15 Aug 2019 22:48:26 +0000 (00:48 +0200)]
[ot-shape] Enable abvm/blwm features by default
Core Text seems to apply them to Latin text, but Uniscribe doesn’t.
See https://github.com/harfbuzz/harfbuzz/pull/1908#issuecomment-
521819343
Khaled Hosny [Thu, 15 Aug 2019 22:28:41 +0000 (00:28 +0200)]
[ot-shape] Enable dist feature by default (#1908)
Fixes https://github.com/harfbuzz/harfbuzz/issues/1907
Ebrahim Byagowi [Wed, 14 Aug 2019 18:07:00 +0000 (22:37 +0430)]
Move HB_NO_VAR to a better place in hb-font.cc
Needed for other works
Ebrahim Byagowi [Wed, 14 Aug 2019 14:40:02 +0000 (19:10 +0430)]
minor
Use hb_font_t coords directly
Ebrahim Byagowi [Wed, 14 Aug 2019 14:19:57 +0000 (18:49 +0430)]
Minor, remove trailing spaces in hb-font.{cc,h} as .editorconfig
Ebrahim Byagowi [Wed, 14 Aug 2019 10:04:55 +0000 (14:34 +0430)]
Fix caret_count value when AAT is disabled
Set caret_count to zero as that is what we want to happen inside lcar when
there is no result.
Ebrahim Byagowi [Wed, 14 Aug 2019 09:59:01 +0000 (14:29 +0430)]
[lcar] Use multiformat convention
Ebrahim Byagowi [Wed, 14 Aug 2019 09:25:49 +0000 (13:55 +0430)]
[opbd] Use multiformat convention on the table
Ebrahim Byagowi [Wed, 14 Aug 2019 06:54:06 +0000 (11:24 +0430)]
[opbd] Turn OpticalBounds fields to FWORD
Behdad Esfahbod [Wed, 14 Aug 2019 05:20:54 +0000 (22:20 -0700)]
2.6.0
Behdad Esfahbod [Wed, 14 Aug 2019 04:02:47 +0000 (21:02 -0700)]
Rename hb_ot_meta_get_entries() to +hb_ot_meta_get_entry_tags()
Behdad Esfahbod [Tue, 13 Aug 2019 23:09:20 +0000 (16:09 -0700)]
[pool] Fix alignment assertion
I *think* it should fix https://github.com/harfbuzz/harfbuzz/issues/1901
Ie. if on a system, alignof(void*) < sizeof(void*)...
Ebrahim Byagowi [Sun, 11 Aug 2019 19:04:48 +0000 (23:34 +0430)]
Increase subset fuzzer timeout to 16s
To satisfy -valgrind and -tsan bots, very ugly
Ebrahim Byagowi [Sun, 11 Aug 2019 18:37:29 +0000 (23:07 +0430)]
[ci] Disable vcpkg thus running the test suit in Windows
vcpkg apparently doesn't like to work the same way used to anymore, lets disable it
Ebrahim Byagowi [Sun, 11 Aug 2019 11:45:19 +0000 (16:15 +0430)]
Implement opbd table parsing
https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6opbd.html
Ebrahim Byagowi [Fri, 9 Aug 2019 20:56:55 +0000 (01:26 +0430)]
[os2] Replace null pool addr compare by checking vital fields (#1896)
Ebrahim Byagowi [Wed, 7 Aug 2019 15:52:20 +0000 (20:22 +0430)]
[fvar] Use roundf instead hardcoding round logic
Ebrahim Byagowi [Wed, 7 Aug 2019 18:53:06 +0000 (23:23 +0430)]
[os2] Get defined lower/upper optical size
Qunxin Liu [Tue, 2 Jul 2019 23:30:57 +0000 (16:30 -0700)]
[subset] Add subsetting for GPOS Lookup Type 1: Single Adjustment Positioning Subtable
Qunxin Liu [Tue, 25 Jun 2019 20:17:30 +0000 (13:17 -0700)]
[subset] cmap table to use _subset2 and new iterator frameworks
Khaled Hosny [Sat, 3 Aug 2019 11:55:34 +0000 (13:55 +0200)]
Some styling
Ebrahim Byagowi [Sat, 3 Aug 2019 09:49:28 +0000 (14:19 +0430)]
[metrics] Add metrics tags documentation
Ebrahim Byagowi [Sat, 3 Aug 2019 09:36:46 +0000 (14:06 +0430)]
[base] Add documentation for baseline tags from ot spec
Ebrahim Byagowi [Sat, 3 Aug 2019 09:17:55 +0000 (13:47 +0430)]
[meta] Add metadata tags documentation from ot spec
Ebrahim Byagowi [Tue, 30 Jul 2019 13:40:40 +0000 (18:10 +0430)]
[cpal] revert port to dagger
It has a different semantic, maybe we should just do a zero memset,
letting Behdad to decide.
Ebrahim Byagowi [Tue, 30 Jul 2019 13:01:34 +0000 (17:31 +0430)]
[cpal] port to dagger (#1887)
Ebrahim Byagowi [Tue, 30 Jul 2019 12:50:18 +0000 (17:20 +0430)]
[colr] minor
Ebrahim Byagowi [Tue, 30 Jul 2019 08:46:15 +0000 (13:16 +0430)]
[fuzz] Add dummy call of the added APIs (#1886)
Ebrahim Byagowi [Tue, 30 Jul 2019 00:14:23 +0000 (04:44 +0430)]
[colr][feat][meta] Port sub_array iteration to dagger (#1868)
Ebrahim Byagowi [Tue, 30 Jul 2019 00:12:51 +0000 (04:42 +0430)]
[base] Add hb_ot_layout_get_baseline API
Ebrahim Byagowi [Sat, 27 Jul 2019 09:03:46 +0000 (13:33 +0430)]
[var] Add a new API, hb_font_set_var_named_instance
Ebrahim Byagowi [Mon, 29 Jul 2019 23:15:45 +0000 (03:45 +0430)]
[meta] Make values match their enum type naming
Ebrahim Byagowi [Mon, 29 Jul 2019 23:13:15 +0000 (03:43 +0430)]
[metrics] Make values match their enum type naming
Ebrahim Byagowi [Mon, 29 Jul 2019 23:04:10 +0000 (03:34 +0430)]
[base] Don't use enum inside the table
Ebrahim Byagowi [Sat, 27 Jul 2019 10:26:18 +0000 (14:56 +0430)]
[lcar] flip for and switch position
Ebrahim Byagowi [Mon, 29 Jul 2019 17:33:56 +0000 (22:03 +0430)]
[metrics] Rename hb_ot_metrics_t to hb_ot_metrics_tag_t
Ebrahim Byagowi [Mon, 29 Jul 2019 17:31:13 +0000 (22:01 +0430)]
[meta] Rename hb_ot_meta_t to hb_ot_meta_tag_t
Behdad Esfahbod [Mon, 29 Jul 2019 03:55:50 +0000 (20:55 -0700)]
[iter] Fix accumulate to accept const types
Ebrahim Byagowi [Sun, 28 Jul 2019 18:29:09 +0000 (22:59 +0430)]
Increase subset fuzzer timeout to 8s
Probably we should just remove timeout when running tsan and vaglrind here, the flaky bots
Ebrahim Byagowi [Sun, 28 Jul 2019 16:16:47 +0000 (20:46 +0430)]
[base] fix logic
Ebrahim Byagowi [Sun, 28 Jul 2019 16:09:20 +0000 (20:39 +0430)]
[base] minor
Ebrahim Byagowi [Sun, 28 Jul 2019 16:05:32 +0000 (20:35 +0430)]
[base] Check if the returned base_coord is valid
Ebrahim Byagowi [Sun, 28 Jul 2019 15:53:48 +0000 (20:23 +0430)]
[meta] minor
Ebrahim Byagowi [Sun, 28 Jul 2019 15:51:59 +0000 (20:21 +0430)]
[base] fix build
Ebrahim Byagowi [Sun, 28 Jul 2019 15:16:57 +0000 (19:46 +0430)]
[base] minor
Ebrahim Byagowi [Sun, 28 Jul 2019 14:24:13 +0000 (18:54 +0430)]
[base] Fix use of bsearch
Ebrahim Byagowi [Sat, 27 Jul 2019 21:51:54 +0000 (02:21 +0430)]
[base] minor spacing
Behdad Esfahbod [Fri, 26 Jul 2019 21:34:26 +0000 (14:34 -0700)]
Minor
Ebrahim Byagowi [Fri, 26 Jul 2019 20:50:55 +0000 (01:20 +0430)]
Merge pull request #1872 from darktohka/cmake-regex-fix
[cmake] Fix CMake build on newer CMake versions
Derzsi Dániel [Fri, 26 Jul 2019 19:52:03 +0000 (22:52 +0300)]
[cmake] Fix CMake build on newer CMake versions
Unfortunately, newer CMake versions die during regex variable extraction, causing the build to fail.
This is caused by the lack of escaping used around variables in the extract_make_variable function, causing these variables to be automatically unwrapped into empty strings.
Zero King [Fri, 26 Jul 2019 15:43:51 +0000 (15:43 +0000)]
[util] Fix memory leak
Ebrahim Byagowi [Fri, 26 Jul 2019 12:16:04 +0000 (16:46 +0430)]
[metrics] Expose raw OS2/HHEA asc/dsc values using private tags (#1867)
Ebrahim Byagowi [Thu, 25 Jul 2019 20:44:37 +0000 (01:14 +0430)]
[meta] minor, simplify iterator
Ebrahim Byagowi [Thu, 25 Jul 2019 20:00:29 +0000 (00:30 +0430)]
[meta] Rename ot-metadata to ot-meta per review
Ebrahim Byagowi [Thu, 25 Jul 2019 19:38:58 +0000 (00:08 +0430)]
Use .sub_array for DataMap tags iteration
Ebrahim Byagowi [Tue, 23 Jul 2019 22:40:41 +0000 (03:10 +0430)]
[meta] Add max value to hb_ot_metadata_t
Ebrahim Byagowi [Tue, 23 Jul 2019 22:38:34 +0000 (03:08 +0430)]
[meta] Add a test program for metadata
Ebrahim Byagowi [Tue, 23 Jul 2019 21:58:09 +0000 (02:28 +0430)]
[meta] hb_ot_metadata_get_entries, tags iteration API
Ebrahim Byagowi [Mon, 22 Jul 2019 19:05:08 +0000 (23:35 +0430)]
[meta] New API, hb_ot_metadata_reference_entry for fetching meta entries
Ebrahim Byagowi [Thu, 25 Jul 2019 21:49:22 +0000 (02:19 +0430)]
minor spacing fix (#1869)
Ebrahim Byagowi [Thu, 25 Jul 2019 21:42:06 +0000 (02:12 +0430)]
[feat] minor
Ebrahim Byagowi [Thu, 25 Jul 2019 18:52:00 +0000 (23:22 +0430)]
[metrics] Add a test that actually practices variation (#1858)
Ebrahim Byagowi [Thu, 25 Jul 2019 10:19:02 +0000 (14:49 +0430)]
Add _MAX_VALUE to hb_ot_metrics_t (#1861)
Ebrahim Byagowi [Thu, 25 Jul 2019 09:57:43 +0000 (14:27 +0430)]
minor
Ebrahim Byagowi [Thu, 25 Jul 2019 09:56:30 +0000 (14:26 +0430)]
Add _MAX_VALUE to disabled baseline types enum
Ebrahim Byagowi [Tue, 23 Jul 2019 20:17:19 +0000 (00:47 +0430)]
Replace 0x7FFFFFFFu in enums with HB_TAG_MAX_SIGNED
Ebrahim Byagowi [Mon, 22 Jul 2019 18:20:21 +0000 (22:50 +0430)]
minor, comment out meta table in list till its use
Khaled Hosny [Mon, 22 Jul 2019 14:44:47 +0000 (16:44 +0200)]
Merge pull request #1851 from khaledhosny/fix-sbix-extents
Fix sbix glyph extents
Ebrahim Byagowi [Mon, 22 Jul 2019 14:16:52 +0000 (18:46 +0430)]
Implement meta table parsing
Ebrahim Byagowi [Mon, 22 Jul 2019 14:05:55 +0000 (18:35 +0430)]
[metrics] Fix _get_variation API to works with actual coord values
Behdad Esfahbod [Mon, 22 Jul 2019 11:48:32 +0000 (07:48 -0400)]
[metrics] _-prefix internal symbol
Behdad Esfahbod [Mon, 22 Jul 2019 11:07:37 +0000 (07:07 -0400)]
Fix warning on IBM compilers
Fixes https://github.com/harfbuzz/harfbuzz/issues/1852
Khaled Hosny [Mon, 22 Jul 2019 01:57:24 +0000 (03:57 +0200)]
Fix sbix glyph extents
* The ‘height’ needs to be negated since the API returns “distance from
top to bottom side”.
* Similarly, the ‘y_offset‘ needs to be added to the height to get the
‘y_bearing’, since sbix’s offset is “the point in the glyph relative
to its lower-left corner which corresponds to the origin” while
‘y_bearing’ is the “top side of glyph from origin”.
With these changes the sbix glyph metrics return values similar to other
tables, as they were otherwise unusable.
Ebrahim Byagowi [Sun, 21 Jul 2019 21:36:07 +0000 (02:06 +0430)]
[metrics] Don't use metrics API in _common
As it is exposed with a different condition
Ebrahim Byagowi [Tue, 16 Jul 2019 17:57:01 +0000 (22:27 +0430)]
Add hb_gdi_face_create API
Based on Konstantin Ritt work posted on mailing list
Ebrahim Byagowi [Sun, 21 Jul 2019 08:08:04 +0000 (12:38 +0430)]
[metrics] minor, tweak comment
Behdad Esfahbod [Fri, 19 Jul 2019 18:19:31 +0000 (11:19 -0700)]
[docs] Minor
Ebrahim Byagowi [Sat, 20 Jul 2019 18:33:51 +0000 (23:03 +0430)]
Revert hhea fallback to OS/2 to its reverse way
As searching number of hhea having fonts beats the number of OS/2
having ones in macOS 10.14.2
Ebrahim Byagowi [Sat, 20 Jul 2019 10:31:37 +0000 (15:01 +0430)]
Bring back asc/desc abs logic used to be in hmtx table
Ebrahim Byagowi [Sat, 20 Jul 2019 10:20:31 +0000 (14:50 +0430)]
Make HB_TINY builds work again by separating the always needed part
Ebrahim Byagowi [Sat, 20 Jul 2019 10:03:57 +0000 (14:33 +0430)]
Merge _get_position_internal into _get_position
Ebrahim Byagowi [Sat, 20 Jul 2019 09:33:36 +0000 (14:03 +0430)]
Define post table only when used
Ebrahim Byagowi [Sat, 20 Jul 2019 09:30:20 +0000 (14:00 +0430)]
Merge ot-metrics-internal.cc with ot-metrics now that isn't needed in subset