Log

Author Commit Date CI Message
NikitaFeodonit 19cd84b4 2021-09-15T16:31:32 CMake: Detect pthread with module FindThread Set CMake minimum version to 3.1.
Behdad Esfahbod ae145378 2021-09-15T07:46:33 [style] Change tag type to hb_style_tag_t https://github.com/harfbuzz/harfbuzz/pull/3201#discussion_r708914354
David Corbett 470686e8 2021-09-14T20:56:37 [USE] Send Khitan Small Script and Yezidi to USE
Khaled Hosny 22cbd038 2021-09-14T12:34:25 [meson] Add ragel subproject If ragel 6.10 is not found, build it from source. Seems to work, except that ragel uses exceptions and we configure HarfBuzz build to not use exceptions, and I can’t find away to enable exceptions only for the ragel subproject. I had to remove cpp_eh=none from default options and try to disable exceptions in MSVC manually (other compilers are already handled).
Khaled Hosny 5898a961 2021-09-14T07:09:50 [ragel] Regenerate state machine files with 6.10
Khaled Hosny 7e9ac8fe 2021-09-14T07:07:00 [meson] Require ragel 6.10 Ragel 7 is also not stable from upstream's point of view. This uses “version” argument find_program(), which was introduced in meson 0.52.0, so I raised the minimum required meson version accordingly.
Behdad Esfahbod 175f24a4 2021-09-14T18:46:05 Merge pull request #3206 from harfbuzz/unicode-14 Update to Unicode 14.0.0
David Corbett f1493357 2021-09-14T18:46:50 [Unicode 14] Update the Arabic joining script list
David Corbett a0101a31 2021-09-14T18:38:50 [Unicode 14] Add tests
David Corbett 2c3e4b27 2021-09-14T18:31:42 [Unicode 14] Send all the new scripts to USE
David Corbett 20736d9b 2021-09-14T18:25:38 [Unicode 14] Update the USE table
David Corbett 35ac0de4 2021-09-14T18:14:20 [Unicode 14] Update the emoji table
David Corbett ec5688f5 2021-09-14T18:09:05 [Unicode 14] Update the vowel constraint table
David Corbett 7b05eec0 2021-09-14T17:51:11 [Unicode 14] Update the script direction list
David Corbett 11d5334d 2021-09-14T18:00:33 [Unicode 14] Update the Indic table
David Corbett 18a46eea 2021-09-14T17:55:54 [Unicode 14] Update the Arabic table
David Corbett 26e1498e 2021-09-14T18:07:29 [Unicode 14] Update the UCD table
David Corbett 67f1aa4d 2021-09-14T17:43:13 [Unicode 14] Add new `hb_script_t` values
Behdad Esfahbod cd77846b 2021-09-14T08:35:19 [util] Fix leak of an hb_font_t
Behdad Esfahbod da285d51 2021-09-14T08:28:12 [util/shape-consumer] Simplify font tracking
Behdad Esfahbod bda3238c 2021-09-14T08:12:48 Add fallback atexit implementation using template descrutors Fixes https://github.com/harfbuzz/harfbuzz/issues/3197
Behdad Esfahbod 9c270451 2021-09-14T07:50:35 [style] Fix another float conversion warning
Behdad Esfahbod 5a1a6f1f 2021-09-14T07:14:56 [ot-shape] Enabled two more features: 'Harf' and 'Buzz' Considered 'required', as opposed to existing 'HARF' and 'BUZZ', consider them discretionary. See discussion in https://github.com/harfbuzz/harfbuzz/issues/3200
Behdad Esfahbod ed116320 2021-09-14T07:09:54 Call atexit() via hb_atexit() Part of https://github.com/harfbuzz/harfbuzz/issues/3197
Behdad Esfahbod ad4df20d 2021-09-14T07:11:33 [style] Fix float conversion warning
Behdad Esfahbod c5cc23a9 2021-09-13T12:14:06 [style] Change private slant tag https://github.com/harfbuzz/harfbuzz/issues/3200#issuecomment-918352162
Khaled Hosny d748586a 2021-09-11T01:11:55 [style] Try harder to fix MSVC build https://docs.microsoft.com/en-us/cpp/c-runtime-library/math-constants?view=msvc-160
Khaled Hosny e275f0d7 2021-09-11T01:03:32 [style] Try to fix MSVC build
Khaled Hosny eb4075a1 2021-09-11T00:50:08 [style] Fix documentation Message documentation a bit to get it working.
Khaled Hosny 4d9b7de0 2021-09-11T00:43:43 [style] Prepare for release
Khaled Hosny 34ff2d3e 2021-09-11T00:12:03 Fix build with -Dexperimental_api=true ../src/hb-style.cc:102:32: error: no matching function for call to 'hb_style_get_value' return _hb_angle_to_ratio (hb_style_get_value (HB_STYLE_TAG_SLANT_ANGLE)); ^~~~~~~~~~~~~~~~~~ ../src/hb-style.cc:99:1: note: candidate function not viable: requires 2 arguments, but 1 was provided hb_style_get_value (hb_font_t *font, hb_tag_t tag) ^ and ../src/hb-style.cc:80:1: error: unused function '_hb_ratio_to_angle' [-Werror,-Wunused-function] _hb_ratio_to_angle (float r) ^
Behdad Esfahbod 39c20d2b 2021-09-09T11:19:21 [style] Add HB_STYLE_TAG_SLANT_RATIO
Behdad Esfahbod 201cbe3c 2021-09-09T11:09:46 [style] Rename HB_STYLE_TAG_SLANT to HB_STYLE_TAG_SLANT_ANGLE
Behdad Esfahbod a23ce289 2021-09-09T10:59:01 [style] Fall back to GPOS 'size' feature for optical size in style API
Qunxin Liu 37379f8f 2021-09-02T11:54:37 [subset] fox for (Chain)ContextFormat3: subset lookupRecord skip copying a lookupRecord if lookup referenced in the lookupRecord is not retained after subset
Khaled Hosny 838d6707 2021-09-08T15:12:52 [subset] Improve alignment of --help-all message
Khaled Hosny 9b7af950 2021-09-07T15:05:42 [docs] Fix subset documentation List the missing new APIs and unlist all the to be deleted legacy APIs.
Khaled Hosny e38b873e 2021-09-07T14:13:23 [ci] Use different executer for win64 jobs
Khaled Hosny 48c9869b 2021-09-07T13:57:44 Typo
Khaled Hosny 505df5ab 2021-09-07T13:46:08 2.9.1
mahanstreamer 6602cbb7 2021-08-23T00:13:25 dead link
mahanstreamer 916ffe0c 2021-08-23T00:09:19 grammer fix
Khaled Hosny 195c05df 2021-09-04T03:41:19 Revert "[ot-shape-normalize] Move buffer out of hb_ot_shape_normalize_context_t" This reverts commit 8cdbea5580731c2bf66e56bf619c1fbb2978692e. For some reason this is causing several tests to crash locally for me (on macOS), see: https://github.com/harfbuzz/harfbuzz/commit/8cdbea5580731c2bf66e56bf619c1fbb2978692e#commitcomment-55898088
David Corbett f4559d24 2021-09-02T17:56:17 Update hb-ot-tag-table.hh
Khaled Hosny 9fddbb3e 2021-09-03T17:56:08 [test] Rename test and split into smaller subtests
Khaled Hosny c6bb719e 2021-09-03T16:14:02 [test] Add tests for Arabic decomposition Test that both NFC and NFD input produces identical results for fonts that used composed fonts internally (Amiri here) and fonts that decompose internally (Noto Nastaliq Urdu here) and that for the former composed forms are used. See https://github.com/harfbuzz/harfbuzz/issues/3179
Khaled Hosny a9dc4fbe 2021-09-03T16:20:06 [test] Make shape test names match file names No idea why test names are underscorified but it it just makes calling meson test testname harder than it should being not able to copy file name directly.
Garret Rieger 2bd911b8 2021-08-26T14:32:17 [subset] handle cmap4 overflows. If a cmap4 subtable overflows during serialization drop it and the corresponding EncodingRecord. Don't drop the corresponding cmap12 table if it would have otherwise been removed.
Behdad Esfahbod bf81bbfb 2021-09-02T00:16:22 Revert "[arabic] Do not re-compose Unicode sequences" This reverts commit ff34c240b0a60014a219b8af49c1be2d7e08b388. https://github.com/harfbuzz/harfbuzz/issues/3179#issuecomment-911242833
Behdad Esfahbod ff34c240 2021-09-01T23:55:00 [arabic] Do not re-compose Unicode sequences Fixes https://github.com/harfbuzz/harfbuzz/issues/3179
Alba Mendez 5fadf4c8 2021-09-01T14:38:01 Small docs improvement Mention that the returned strings are always nul terminated for convenience.
Behdad Esfahbod 04cf6212 2021-08-30T18:35:08 [util/hb-subset] Fix --version and --help again https://github.com/harfbuzz/harfbuzz/commit/38ad093216d8204df2dce18a112ee43964031357
Behdad Esfahbod 5c4c173b 2021-08-30T16:44:28 Merge pull request #3146 from googlefonts/set_api [subset] proposed update to subset set apis.
Garret Rieger de856365 2021-08-30T14:36:05 [subset] s/REPLACE/REPLACEME/
Garret Rieger 3844e58e 2021-08-30T11:16:51 [subset] remove helper functions for accessing subset input sets.
Behdad Esfahbod 41b9f2ab 2021-08-29T10:47:11 [set] Add TODO item
Behdad Esfahbod 93ac700d 2021-08-29T10:32:40 [set] Add copy-constructor/assignment again
Garret Rieger b9a176e2 2021-08-29T10:33:12 [subset] speedup cmap4 subsetting for large codepoint counts. (#3178) glyphIdArray generation implementation was O(n^2). Refactored to use a hashmap to reduce complexity. After the change subset time for a 22k codepoint subset went from 7s to 0.7s.
Behdad Esfahbod fdce2941 2021-08-29T09:44:52 [util/hb-subset] Print error and suggest filing github issue if operation fails https://github.com/harfbuzz/harfbuzz/issues/3173#issuecomment-906715780
Behdad Esfahbod 38ad0932 2021-08-29T09:44:07 [util/hb-subset] Don't ignore errors during face parsing Was ignoring file-not-found errors.
Garret Rieger 57d6bf82 2021-08-27T10:59:28 [subset] in sets union correctly size the pointer array.
Garret Rieger 102666da 2021-08-27T10:31:37 [subset] add test for hb_subset_input_set (...).
Garret Rieger 7194c2a2 2021-08-27T08:20:58 [subset] use anonymous union to hold the input sets instead of a map.
Garret Rieger 05204d75 2021-08-25T16:51:26 [subset] implement hb_subset_input_set (...). Switch to storing the sets keyed by enum internally.
Garret Rieger 50193262 2021-08-25T15:10:21 [subset] reorder set enums.
Garret Rieger 3282f540 2021-08-25T15:06:42 [subset] restore legacy set api methods.
Garret Rieger 1457c1f0 2021-08-25T15:01:28 [subset] set enum name changes.
Garret Rieger 1b5e1593 2021-08-25T14:56:55 [subset] Remove HB_SUBSET_SETS_COUNT and flags comment.
Garret Rieger 4c389fd9 2021-08-13T11:14:52 [subset] add unicode and glyph set enums.
Garret Rieger e3e1ae87 2021-08-13T10:53:20 [subset] proposed update to subset set apis.
Garret Rieger 1e1438c4 2021-08-26T14:59:29 [subset] fix --*-file options in hb-subset. (#3176) The previous change to add -/+ versions of each set type broke all of the --*-file input options since all of the parse functions now default to replacing the set if the + variant is not being used. This fixes the issue by changing parse_file_for to pass '+' as the name to the parsing function. This triggers the append mode.
Garret Rieger 9db494f5 2021-08-26T10:51:38 [subset] Update remaining subset input sets to use inversion for all. (#3172) * [subset] Update remaining subset input sets to use inversion for all. * [subset] Update flag help for remaining sets to mention -=.
Behdad Esfahbod 99356ea5 2021-08-25T17:19:06 Merge pull request #3150 from harfbuzz/item-context-tests [test] Add tests for item context
Behdad Esfahbod 1620698b 2021-08-25T16:25:08 [subset-input] Minor format
Behdad Esfahbod 18b4aab6 2021-08-25T16:21:07 Merge pull request #3171 from googlefonts/unicode_glyph_invert [subset] use inverted set for all unicodes.
Garret Rieger 75efade7 2021-08-25T14:51:21 [subset] format --gids and --unicodes help messages better.
Garret Rieger cd07070e 2021-08-25T14:42:00 [subset] Move plan unicodes and gids population to end of _populate_unicodes...
Garret Rieger fa4bf7cf 2021-08-25T14:31:11 [subset] use inverted sets for glyph id input. Adds --gids-=, --glyphs-=, --text-=, --unicodes-= options. Use inverted sets to represent all glyphs and/or all unicodes.
Behdad Esfahbod 4b5a81f1 2021-08-25T15:20:54 [buffer] Fix hb_buffer_append() pre/post-context logic Part of https://github.com/harfbuzz/harfbuzz/pull/3150
Garret Rieger 8f4f47df 2021-08-25T13:34:05 [subset] use inverted set for all unicodes. Modify the code that handles input->unicodes to be safe with possibly inverted sets. Also adds --unicodes-= and --unicodes+= flags.
Behdad Esfahbod e9e6d66c 2021-08-24T23:22:49 [subset] Minor internal parameter rename
Behdad Esfahbod 955f86a0 2021-08-24T11:17:10 [test-set] Fix compiler warnings
Garret Rieger 59deb754 2021-08-24T17:06:14 [subset] rename _collect_subset_layout to _collect_layout_indices. Better describes what the function does.
Garret Rieger f2441a4b 2021-08-24T15:53:32 [subset] Remove retain all layout features flag. Instead use inverted sets to handle requesting all features. Modifies feature collection in subset plan to intersect the set of requested features against the features in the font. This prevents iterating a fully filled feature tag set.
Garret Rieger f84daccb 2021-08-24T14:20:26 [set] include null pool sets in the permutations tested by inverted_operations.
Behdad Esfahbod c90678cb 2021-08-24T11:11:12 [set] One more try to fix things That I don't let a "make check -j10" run finish before pushing things out means either that we need to speed up our build / test process, or I need a faster laptop...
Behdad Esfahbod 35797696 2021-08-24T10:55:12 [set] One more try at fixing clear() on empty set
Garret Rieger fb07f8f8 2021-08-23T15:33:57 During subset input creation check for set alloc failures and fail if encountered.
Behdad Esfahbod b5177d21 2021-08-24T10:43:37 [set] Fix seam exposed by previous commit
Behdad Esfahbod f0de40dd 2021-08-23T23:52:17 Whitespace
Behdad Esfahbod 8cdbea55 2021-08-23T23:44:55 [ot-shape-normalize] Move buffer out of hb_ot_shape_normalize_context_t
Behdad Esfahbod 10da9fd2 2021-08-23T23:32:02 [ot-map] Whitespace
Behdad Esfahbod d3e09bf4 2021-08-24T10:31:49 [set] Make all operators null-safe again Changed my mind. Also for hb_map_clear(). Part of https://github.com/harfbuzz/harfbuzz/pull/3162
Khaled Hosny 33bfe9ed 2021-08-16T17:00:57 [test] Add tests for item context Test pre-context and post-context in Arabic shaper, as well as interaction of pre-context with BOT flag.
Khaled Hosny 430224b1 2021-08-16T15:40:47 [buffer] Handle pre/post-context in buffer_append Fixes https://github.com/harfbuzz/harfbuzz/issues/1843
Khaled Hosny 6ca0ffd4 2021-08-16T14:52:13 [util] Add --unicodes-before/after Parallel to --unicodes for --text-before/after. To be used in tests.
Khaled Hosny 65c622c6 2021-08-23T21:23:30 Typo
Khaled Hosny c76af497 2021-08-23T20:50:35 [doc] We use GitHub for discussion not the mailing list Fixes https://github.com/harfbuzz/harfbuzz/issues/3160
Behdad Esfahbod 33c82c7d 2021-08-22T22:31:39 [ot-shape] Fix unused-var error when building without AAT Fixes https://github.com/harfbuzz/harfbuzzjs/issues/45
Qunxin Liu 34e0b28f 2021-08-18T20:46:06 [subset] make glyph-names option match fonttools behavior Don't encode psNames that are contained in standard glyph names set