Log

Author Commit Date CI Message
Behdad Esfahbod 41f4bdac 2022-11-17T15:16:00 [map] Fix resize during copy-construction/assignment
Behdad Esfahbod 3aad7c2d 2022-11-17T15:10:47 [algs] Remove smart-pointers from hb_hash() hb_deref() handles them. I think this code predated that.
Behdad Esfahbod 7bd10172 2022-11-17T15:01:55 [map] Minor use hb_iter instead of hb_array
Behdad Esfahbod 238fc147 2022-11-17T14:58:50 [map] Simplify iterators
Behdad Esfahbod 410c14bf 2022-11-17T14:53:00 [map] Fix equality Ouch!
Behdad Esfahbod 6dfd4a16 2022-11-16T22:44:22 [ot-font] Remove stale TODO
Behdad Esfahbod a0bde1e1 2022-11-16T21:27:12 [open-type] Remove (Sorted)ArrayOf.sub_array()
Behdad Esfahbod f2b5db70 2022-11-16T21:22:43 [vector] Remove .sub_array ()
Behdad Esfahbod c7d57dcf 2022-11-16T21:21:31 [vector/array] Simplify qsort()
Behdad Esfahbod 1610008e 2022-11-16T20:02:36 [gsubgpos] Minor remove call to hb_iter
Behdad Esfahbod 19ec01d2 2022-11-16T19:14:42 [gsubgpos] Sprinkle const around
Behdad Esfahbod 561946c7 2022-11-16T17:58:59 [layout] Comment
Behdad Esfahbod 2268207c 2022-11-16T17:51:22 [layout] Update comment
Behdad Esfahbod 658f8f43 2022-11-16T17:50:35 [layout] Comment
Behdad Esfahbod 27a8fe7d 2022-11-16T17:49:44 [layout] Only update buffer digest if buffer changed by a pause
Behdad Esfahbod 8b2a2111 2022-11-16T16:57:44 [layout] Keep digest updated in the context Don't recompute digest after every (applied) GSUB lookup.
Behdad Esfahbod a5964a2d 2022-11-16T16:45:23 [layout] Minor simplify
Behdad Esfahbod 44396197 2022-11-16T16:35:00 [perf] Add fa-words.txt and use in shape benchmark
Behdad Esfahbod 80b87588 2022-11-16T16:26:41 [layout] Add a buffer message for digest-skipped lookups
Behdad Esfahbod afa71ee8 2022-11-16T16:22:45 Fix alignment error
Behdad Esfahbod dff1b809 2022-11-16T16:19:05 [buffer] Add .digest() and use
Behdad Esfahbod 654a2eaf 2022-11-16T16:09:04 [layout] Use buffer-digest for GSUB as well Combined with previous commit, this shows up to 12% speed up with Roboto and the en-words (ie. short strings) benchmark, about 5% for longer English tests, and no adverse effect on heavier fonts.
Behdad Esfahbod 15b6c325 2022-11-16T15:59:13 [layout] Use a buffer digest for GPOS to skip whole lookups
Behdad Esfahbod a053b84c 2022-11-16T14:39:25 [gsubgpos] Optimize set-digest initialization Previously we were once collecting set-digest for each subtable, and another time for each lookup. Now we compute the one for each lookup simply from the ones for its subtables.
Behdad Esfahbod 20654cd8 2022-11-16T14:15:58 [set-digest] Minor no logic change
Behdad Esfahbod 95b9763d 2022-11-16T14:15:01 [set-digest] Minor simplify
Behdad Esfahbod 9855b678 2022-11-16T13:37:34 [cache] Minor rewrite assertion
Behdad Esfahbod a10ff205 2022-11-16T13:34:37 [ft] Comment
Behdad Esfahbod 557be950 2022-11-16T12:47:05 [test-vector] Fix test
Behdad Esfahbod 9027d154 2022-11-16T12:39:30 [test-iter] Fix leak
Behdad Esfahbod afd716d4 2022-11-16T12:28:56 [serialize] Don't free object-pool in reset()
Behdad Esfahbod 02949cf6 2022-11-16T12:06:44 [priority-queue] More assert adjustment
Behdad Esfahbod 620ddd76 2022-11-16T12:04:35 [priority-queue] Fix asserts
Behdad Esfahbod 57de568a 2022-11-16T11:50:05 [indic-table] Minor adjust empty lines
Behdad Esfahbod 281a2602 2022-11-16T11:36:33 Update generated file
Behdad Esfahbod f734c26c 2022-11-15T16:27:56 [test-vector] Test inserting set and map
Behdad Esfahbod 0a97d27c 2022-11-15T16:23:48 [test-iter] Add another test
Behdad Esfahbod e9e98568 2022-11-15T16:11:57 [fallback-shape] Remove TODO
Behdad Esfahbod 6df8498d 2022-11-15T15:52:04 [sample.py] Fix warning
Behdad Esfahbod 49fe5c1e 2022-11-15T15:37:23 [glib] Remove old cruft from pre-2011
Behdad Esfahbod 1bd1a378 2022-11-15T15:18:36 [test] Minor
Behdad Esfahbod 35aa492e 2022-11-15T15:05:15 [main] sprintf -> snprintf
Behdad Esfahbod 72c69620 2022-11-14T21:34:16 [buffer-deserialize-text] Fix glyph name for glyph flags Skip "#" in glyph names.
Behdad Esfahbod dee26de7 2022-11-14T16:24:25 [test-buffer-serialize] Allow no font
Behdad Esfahbod f6076890 2022-11-14T16:06:39 Hide all mentions of name_table_overrides behind EXPERIMENTAL_API Fixes https://github.com/harfbuzz/harfbuzz/issues/3872
Behdad Esfahbod ebc382a8 2022-11-14T15:59:46 Revert "Avoid use values () in hb-hashmap if value_t has an overriden operator &" This reverts commit b92e4cc0091e093f6941019e1a53cc04a137017a.
Behdad Esfahbod ff0d0d02 2022-11-14T14:34:20 [meta] Use std::decay
Behdad Esfahbod 9650f34a 2022-11-14T14:16:11 [CI] Remove coverage testing from macos-ci
Behdad Esfahbod 3a9ca6aa 2022-11-14T13:57:02 [CI] Try fixing macos-ci
Behdad Esfahbod 24cf86b0 2022-11-14T13:33:06 [array] Fix MSVC fail
Behdad Esfahbod a87843be 2022-11-14T13:43:58 [array] Another try at sizeof sorted_array
Behdad Esfahbod 72ba0b2a 2022-11-14T13:33:06 [array] Fix MSVC fail
Qunxin Liu b92e4cc0 2022-11-14T08:54:24 Avoid use values () in hb-hashmap if value_t has an overriden operator &
Behdad Esfahbod ea63e95e 2022-11-11T12:45:12 [GPOS.PairPos] Adjust unsafe-to-break for non-zero ValueFormat2 Fixes https://github.com/harfbuzz/harfbuzz/issues/3824
Behdad Esfahbod 85e0be13 2022-11-13T17:28:09 [vector/array] Add simple test for sorted size
Behdad Esfahbod 4e618557 2022-11-13T17:23:25 [vector] Don't subclass sorted vector from unsorted Was doubling the size unnecessarily.
Behdad Esfahbod 8f15fb12 2022-11-13T17:06:58 [util] Move variable closer to use
Behdad Esfahbod 630f09c8 2022-11-09T11:32:30 Another hb_memcpy instead of strncpy use
Behdad Esfahbod cd011cea 2022-11-09T11:30:44 Use hb_memcpy instead of strncpy Nul-termination is not intended.
Eli Schwartz 604fe807 2022-11-08T16:24:08 meson: fix regression in detecting freetype2/icu-uc when explicitly disabled In #3811 / commit 53a194aa3f5f7de0b40e879e41fcbe0de6e9fefe a broken and half-implemented approach to kind of sort of handling the detection of both pkg-config and cmake names for dependencies, was implemented. It just checked for both versions with required: false, but when the build was configured with *disabled* options, it was still found because it was treated as auto. Really, the problem here is trying to outsmart Meson, which handles a lot of edge cases correctly. But it's possible, albeit very wordy, to manually implement Meson's internal logic via if/else fallbacks. Do so here.
Behdad Esfahbod c158b626 2022-11-08T14:15:56 [name] Simplify buffer-length calculation
Behdad Esfahbod 55edf59d 2022-11-08T14:53:27 [name] Typo
Behdad Esfahbod 27c8bbcb 2022-11-08T14:48:38 Revert "[name] Simplify buffer-length calculation" This reverts commit d70595657e8d56b52d5714d082092d8eb104093e.
Behdad Esfahbod d7059565 2022-11-08T14:15:56 [name] Simplify buffer-length calculation
Qunxin Liu 6314aa7d 2022-10-28T10:44:48 [subset] add an experimental API that can override name strings for specified name_id
Behdad Esfahbod f53ef69d 2022-11-04T16:00:34 [indic] Order left-matras inside-out Fixes https://github.com/harfbuzz/harfbuzz/issues/3863
Garret Rieger 2822b589 2022-11-03T19:49:49 [subset] Include instancing tests in distribution. Automatically enable them when the experimental api is enabled.
Qunxin Liu dbb7f47b 2022-11-03T11:55:41 fix bug in hb_hashmap_t has() interface It was not working when the value type is hb_bytes_t because hb_array_t overloaded operator &
Behdad Esfahbod d1f445ec 2022-11-02T12:24:04 [name] Typo
Behdad Esfahbod fc935fb8 2022-11-01T14:39:33 Fix snprintf use https://github.com/harfbuzz/harfbuzz/pull/3495#issuecomment-1299107964
Lorenz Wildberg 2ee42bba 2022-11-01T13:00:18 hb_variation_to_string: Fix GIR annotation
Behdad Esfahbod 0e4f5794 2022-10-31T13:51:24 [util/hb-view] Default HB_DRAW to 1 See comments.
Behdad Esfahbod 02b76393 2022-10-29T11:15:03 [config] Re-enable BORING_EXPANSION Only the non-experimental parts (currently avar2) are enabled by default.
Behdad Esfahbod 6a47ef34 2022-10-29T11:14:27 [config] If not HB_EXPERIMENTAL, then HB_NO_BEYOND_64K
Behdad Esfahbod a0f999cd 2022-10-29T11:13:40 [config] Rename HB_NO_VARIATIONS2 to HB_NO_AVAR2
Behdad Esfahbod 60c6b778 2022-10-28T14:19:39 Disable -Wcast-function-type-strict https://github.com/harfbuzz/harfbuzz/pull/3859#issuecomment-1295409126
Martin Storsjö d88269c8 2022-10-28T22:17:15 freetype: Fix function signatures to match without casts Clang 16 has got a new stricter warning for casts of function types (see https://github.com/llvm/llvm-project/commit/1aad641c793090b4d036c03e737df2ebe2c32c57). This new warning gets included as part of the existing error diagnostic setting of -Wcast-function-type. This fixes errors like these: ../src/hb-ft.cc:1011:34: error: cast from 'void (*)(FT_Face)' (aka 'void (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Qunxin Liu 8a552483 2022-10-27T09:43:07 [instance] update OS2/.usWeightClass and .usWidthClass when no-prune-unicode-ranges option is enabled
خالد حسني (Khaled Hosny) fddeba26 2022-10-26T22:34:02 Merge pull request #3857 from 2xsaiko/outgoing/cmake-abs-path Pass through absolute paths to cmake config directly
Marco Rebhan db292f6f 2022-10-26T20:49:52 Pass through absolute paths to cmake config directly The previous code concatenates includedir to _harfbuzz_prefix verbatim, which results in a wrong final include path in case includedir is an absolute path. Instead, we can let meson determine the absolute include and lib paths in advance and save them in the cmake config. This is an issue in nixpkgs, where includedir is set to the final (absolute) path of the built library in the Nix store, which causes CMake projects depending on harfbuzz to not configure. See https://github.com/NixOS/nixpkgs/issues/180054.
Behdad Esfahbod e854739b 2022-10-26T13:12:56 [fuzzing] Add test font for previous commit
Behdad Esfahbod 477d7172 2022-10-26T13:11:47 [glyf] Limit points in a glyf to 10000 roughly Only enforced when components are being expanded. Fixes https://github.com/harfbuzz/harfbuzz/issues/3838
Behdad Esfahbod 9aad3dba 2022-10-26T13:04:02 [SingleSubst] Fix degenerate-lookup test Part of https://github.com/harfbuzz/harfbuzz/issues/3853
Garret Rieger 83769b9c 2022-10-21T22:37:32 [subset] add comment for why we retain empty lookups.
Garret Rieger 70e2de2b 2022-10-21T22:33:17 [subset] Always output Lookup's even if they are empty. The rest of layout subsetting depends on lookup indices being consistent with those computed during planning. So if an empty lookup is discarded during the subset phase it will invalidate all subsequent lookup indices. Generally we shouldn't end up with an empty lookup as we pre-prune them during the planning phase, but it can happen in rare cases such as when a subtable is considered degenerate (eg. #3853)
Joel Auterson 3377ddf6 2022-10-20T21:07:05 Add missing underscore
Joel Auterson 28cb1b39 2022-10-20T21:01:53 Fix working-directory
Joel Auterson dbbbf02d 2022-10-20T20:59:12 Fix GHA workflow
Joel Auterson 756b5000 2022-10-20T20:16:58 Add ARM CI workflow
Joel Auterson c813f842 2022-10-20T19:45:23 Make build work for arm-none-eabi
Behdad Esfahbod b0b7a653 2022-10-20T17:13:26 [subset] Fix check-symbols failure Fixes https://github.com/harfbuzz/harfbuzz/issues/3850
Khaled Hosny 970321db 2022-10-19T22:06:46 5.3.1
Khaled Hosny 7c8be866 2022-10-19T22:04:31 [doc] Hide another experimental symbol
Garret Rieger d1bf6c0c 2022-10-17T20:14:02 [subset] only preprocess in benchmark when experimental api is enabled.
Garret Rieger db22bfb3 2022-10-17T18:37:07 [subset] Remove Franklin from the tests which is not an open source font.
Behdad Esfahbod a73137d1 2022-10-17T12:18:16 [face] Fix annotation
Behdad Esfahbod d65af602 2022-10-15T14:26:02 [shape] Adjust Grapheme clusters for Katakana voiced sound marks Fixes https://github.com/harfbuzz/harfbuzz/issues/3844
Behdad Esfahbod bda42fc3 2022-10-14T15:08:22 Merge pull request #3842 from harfbuzz/patch_mode [subset] Begin implementing a subset accelerator
Garret Rieger f53ebf55 2022-10-14T19:38:19 [subset] Add hb_subset_preprocess to experimental symbol list for check-symbols.
Garret Rieger fdb98ed8 2022-10-14T18:30:39 [subset] add missing HB_EXTERN.