util


Log

Author Commit Date CI Message
Behdad Esfahbod 00b4f86e 2025-04-05T15:58:55 [hb-subset] In batch mode preprocess font once Speeds up cmap.tests from 3s to under .5s.
Behdad Esfahbod 267de2bb 2025-04-05T16:14:24 [hb-view] Report success/failure in --batch mode Otherwise client can't know when the job is done.
Behdad Esfahbod fa737da0 2025-04-05T15:26:07 [hb-subset] Speed up parsing glyphs-file Cache the font used to load glyph names.
Behdad Esfahbod 54295ccf 2025-04-05T15:26:07 [hb-subset] Speed up parsing glyphs-file Cache the font used to load glyph names.
Behdad Esfahbod 0fecd2ec 2025-04-05T15:20:49 [hb-subset] Accept gidXXX-style glyph names
Behdad Esfahbod a637c08d 2025-04-05T15:01:54 [hb-subset] Fix leak
Behdad Esfahbod 32075759 2025-04-04T17:59:46 [subset] Allow options before --font-file Fixes https://github.com/harfbuzz/harfbuzz/issues/4913
Behdad Esfahbod ea08b047 2025-03-28T16:25:58 [util] Fix `--glyphs` output with negative numbers
Behdad Esfahbod d47a47e2 2025-03-27T13:59:08 [util] Make --help less verbose again Just the main page gets env-vars, exit-codes, and see-also.
Khaled Hosny 7ab42f9a 2025-03-27T21:25:13 [util] Build man pages only if docs are enabled
Khaled Hosny 9609f50b 2025-03-27T21:21:58 [util] Build man page only if the corresponding util is built
Khaled Hosny 9a80c0da 2025-03-27T21:16:12 [util] Install man pages
Behdad Esfahbod 7f10c0ed 2025-03-26T22:20:57 [util] Towards building manpages TODO: 1. Only when docs are enabled? 2. Installdir 3. How to include in release? Fixes https://github.com/harfbuzz/harfbuzz/issues/5208
Behdad Esfahbod bd5b8a1f 2025-03-26T21:12:27 [util] Report exit codes in help
Behdad Esfahbod e4410a85 2025-03-26T20:12:30 [util] Simplify envvar reporting
Khaled Hosny a6f56324 2025-03-27T03:12:15 [util] Fix Windows build Windows headers define `environ`.
Behdad Esfahbod 93288a1c 2025-03-26T18:46:35 [util] Fix crasher
Behdad Esfahbod a410a042 2025-03-26T18:09:07 [util] Add environment and see also sections Part of https://github.com/harfbuzz/harfbuzz/issues/5208
Behdad Esfahbod 4d83b238 2025-03-26T13:00:21 [util] Link to website for more info / reporting bugs Part of https://github.com/harfbuzz/harfbuzz/issues/5208
Behdad Esfahbod 59001aa9 2025-03-26T12:33:06 [util] Add brief --help descriptions Part of https://github.com/harfbuzz/harfbuzz/issues/5208
Behdad Esfahbod 3d3f2419 2025-03-26T01:18:09 [util] Improve help messages a bit Part of https://github.com/harfbuzz/harfbuzz/issues/5208
Behdad Esfahbod 75643768 2025-03-26T00:59:54 [util] List available shapers in --help-all Remove it from --version. Part of https://github.com/harfbuzz/harfbuzz/issues/5208
Behdad Esfahbod 29c800bd 2025-03-25T14:30:09 [util] Return diff values for diff failures Need documentation in the help output... Fixes https://github.com/harfbuzz/harfbuzz/issues/5164
Behdad Esfahbod 2b5f2446 2025-03-25T14:12:36 [util] Remove hb-ot-shape-closure Not used...
Behdad Esfahbod 7612ec44 2025-03-23T13:10:12 [util] Show glyph extents only if available
Behdad Esfahbod 4822cb76 2025-03-19T15:14:58 [hb-info] Report WebAssembly in technology
Behdad Esfahbod 60ce16f2 2025-03-19T13:22:27 [CI] Fix build
Behdad Esfahbod 34b9100c 2025-03-19T13:15:44 [hb-info] Fix argument parsing vs default behavior Default was if no args other than one font was provided, then --show-all was enabled. This broke if eg. --face-loader=ft was provided, then suddenly nothing was shown. Fix it to --show-all if no "query" options are provided.
Behdad Esfahbod 38889c3a 2025-03-18T00:54:46 [coretext] Fix loading named instances Needs tests... TTC indices > 0 can't be loaded with CoreText API it seems. Fixes https://github.com/harfbuzz/harfbuzz/issues/5158
Behdad Esfahbod b24a93c6 2025-03-17T17:50:47 [util] Reload face if face-loader changed
Behdad Esfahbod f88fe4d4 2025-03-10T01:02:56 [util] Update for new grapheme cluster level
Behdad Esfahbod c88e8199 2025-03-09T16:53:03 Fix compiler warning
Behdad Esfahbod 39ade99d 2025-03-09T01:25:52 [face] Two new APIs: + hb_face_create_from_file_or_fail_using() + hb_face_list_loaders()
Behdad Esfahbod 437ce950 2025-03-08T13:12:15 [util] Add --list-font-funcs
Behdad Esfahbod 2a878b1b 2025-03-07T17:23:17 [font-funcs] Add two new API + hb_font_set_funcs_using() + hb_font_list_funcs() Part of https://github.com/harfbuzz/harfbuzz/issues/5117
Behdad Esfahbod 395270e4 2025-03-04T02:28:51 [fontations] Try folding into libharfbuzz
Behdad Esfahbod f28daba5 2025-03-04T01:36:21 [fontations] I don't know...
Behdad Esfahbod 161b20f3 2025-03-04T01:17:53 Try building with cargo
Behdad Esfahbod f9b47061 2025-03-03T22:34:25 [fontations] Use as dependency, not library Since it's optional.
Behdad Esfahbod 2abe54fc 2025-03-03T21:58:48 Almost works!
Behdad Esfahbod 718542ef 2025-03-03T22:44:52 [util] Space
Khaled Hosny 69e1c3c3 2025-02-28T00:25:17 [ft] Add hb_ft_font_get_ft_face() A new name for hb_ft_font_get_face(), which is now deprecated. Fixes https://github.com/harfbuzz/harfbuzz/issues/5084
Behdad Esfahbod e6eec3cc 2025-02-18T00:48:37 [test] Silence compiler warning
Behdad Esfahbod ee19666c 2025-02-09T05:14:36 [hb-shape/view] Allow --unicodes and --text if at least one is empty Useful for scripting.
Qunxin Liu 3bb89eeb 2024-11-24T17:00:14 [instancer] use hb_parse_double() for parsing axis positions Added hb_subset_axis_range_from/to_string()
Behdad Esfahbod 2ddae771 2024-11-17T00:02:03 [util/cairo] Handle all null matrices
Behdad Esfahbod 52becf1c 2024-10-14T16:06:30 [test] Fix a leak
Behdad Esfahbod 734ba5ab 2024-10-13T20:01:19 [hb-info] Fix font face number recording for .dfont
Behdad Esfahbod 67591f85 2024-10-13T14:20:27 [util] Add --face-loader Currently crashes with ft. Investigating.
Behdad Esfahbod 75d168cb 2024-10-13T13:37:50 [util] Rename a variable
Behdad Esfahbod aa933abb 2024-10-13T13:35:35 [util] Use hb_face_create_from_file_or_fail()
Behdad Esfahbod 8a805271 2024-10-10T12:56:31 [coretext] Start implementing CoreText font-funcs Does nominal glyph mapping, horiz advances, and draw so far.
Behdad Esfahbod e1269215 2024-10-13T13:01:09 Revert "Fix a compiler warning" This reverts commit 377e3c67a435932f9da0e4f9baec1c34f4f45a15. https://github.com/harfbuzz/harfbuzz/commit/377e3c67a435932f9da0e4f9baec1c34f4f45a15#commitcomment-147888850
Behdad Esfahbod 377e3c67 2024-10-12T20:06:54 Fix a compiler warning
Khaled Hosny 667ce682 2024-09-23T21:08:19 [hb-view] Support cairo script as output format Can be handy for debugging the series of operations cairo performs.
Behdad Esfahbod 7a390b50 2024-09-23T12:13:55 [hb-view] Simplify background drawing Works around a Firefox bug. Fixes https://github.com/harfbuzz/harfbuzz/issues/4811
Behdad Esfahbod 287046f7 2023-12-15T10:24:03 [buffer] Hook up not-found-variation-selector-glyph Fixes https://github.com/harfbuzz/harfbuzz/issues/4398
Behdad Esfahbod 39ea4cdd 2024-08-14T10:13:27 [hb-subset] Fix a resource leak Part of https://github.com/harfbuzz/harfbuzz/issues/4832
Behdad Esfahbod d5596dfb 2024-08-06T15:15:41 [hb-subset] Report "Invalid font file." Fixes https://github.com/harfbuzz/harfbuzz/issues/4824#issuecomment-2272156543
Khaled Hosny b461c422 2024-06-27T16:03:48 Fold the remaining Makefile.sources into CMakeLists.txt That is the only place where they are used now.
Khaled Hosny cf1fdf16 2024-06-27T06:54:02 Drop autotools build Fixes https://github.com/harfbuzz/harfbuzz/issues/4720
Behdad Esfahbod eba1add7 2024-06-08T19:10:39 [hb-info] Use 128 as max glyphname / name length instead of 64
Garret Rieger 4cf606f6 2024-05-02T20:46:29 [instancer] Promote partial instancing api out of experimental.
Garret Rieger 12dcafe0 2024-04-08T22:59:32 Add test-hb-subset-parsing.c to extra dist. Needed for meson compile w/ experimental api.
Qunxin Liu d6431dc7 2024-03-06T15:20:10 [instancer] support *=drop, which would pin all axis to default location
Qunxin Liu 97309483 2024-02-02T16:59:19 [instancer] rename HB_SUBSET_FLAGS_IUP_DELTA_OPT to HB_SUBSET_FLAGS_OPTIMIZE_IUP_DELTAS
Qunxin Liu 2dabbdfc 2024-02-02T13:39:04 [instancer] fix help message for --optimize
Qunxin Liu c7a6030b 2024-01-26T09:27:27 [instancer] add a flag HB_SUBSET_FLAGS_IUP_DELTA_OPT
Behdad Esfahbod 081cbfd9 2023-12-15T10:10:18 Fix warnings
Garret Rieger ffa643c5 2023-11-15T21:36:02 [subset] Add helper-subset.hh to Makefile sources.
Garret Rieger d30c1dac 2023-11-15T20:16:07 Add test suite for instancing option parsing.
Garret Rieger 43236ce3 2023-11-01T22:34:39 [instancer] add the option to leave blanks in the min:def:max syntax. When parsing axis positions in the --variations flag recognize empty values as meaning the existing value for that part. For example: :300:500 Specifies min = existing, def = 300, max = 500. See: https://github.com/fonttools/fonttools/issues/3322
Garret Rieger c6884377 2023-11-06T20:21:46 [subset] Add HB_SUBSET_FLAGS_IFTB_REQUIREMENTS flag. When enabled the output subset conforms to the requirements for a base font to be patched by IFTB patches. IFTB is a proposed incremental font transfer patch. This new flag is set as experimental. Currently, setting this flag causes the output subset to also use long offsets for outline data in loca/glyf, gvar, CFF, and CFF2. This change is a version of https://github.com/skef/harfbuzz/commit/3ae2fe2084d96f61d8ad1bbe42a6ef4e62ec830a rebased onto head w/ tests added.
Garret Rieger 7b46d772 2023-11-01T20:07:07 [instancer] Update help message for --instance. Remove note about partial instancing not being supported. Add --variations flag as an alternate name for --instance. This matches other hb utils.
Behdad Esfahbod 598de82f 2023-10-27T12:13:13 [hb-subset] Fix warning
Behdad Esfahbod 2023384b 2023-08-22T13:09:26 Merge pull request #4368 from googlefonts/support_gvar Initial implementation for gvar partial instancing
Behdad Esfahbod c7f2d440 2023-08-16T09:55:23 [hb-view] Better cairo version check
Behdad Esfahbod e714e7d4 2023-08-16T09:54:08 [hb-view] Work around old cairo Fixes https://github.com/harfbuzz/harfbuzz/issues/4378
Qunxin Liu 0aa5dafe 2023-08-08T08:33:11 fix bots. -Also disable partial instancing tests for now, cause the command option is wrapped by experimental_api
Qunxin Liu 32cfa37e 2023-05-08T13:30:39 [instancer] command line support for partial instancing -Also updated hb_subset_input_set_axis_range (), so user can define default value as well
Garret Rieger 3021b2db 2023-05-05T05:57:05 [subset] change glyph mapping api to return a mutable map. Maintains consistency with our other set based api methods.
Garret Rieger 98e73192 2023-05-04T22:20:06 [subset] Add command line flag to provide a gid mapping.
Garret Rieger 90356eb2 2023-04-14T20:52:35 [subset] Note --no-layout-closure is only for GSUB.
Garret Rieger 14b9d8d5 2023-04-14T20:44:15 [subset] add --no-layout-closure flag. Disables layout glyph closure. Fixes #4192.
Behdad Esfahbod 6de9d2b8 2023-03-01T14:32:06 [justify] Rename hb-view --width to hb-view --justify-to
Behdad Esfahbod 25c66d63 2023-03-01T14:16:08 [justify] Wrap in HB_EXPERIMENTAL_API
Behdad Esfahbod aa10deaf 2023-03-01T11:08:32 [justify] Print default buffer width in hb-shape --width=-1
Behdad Esfahbod b937edfb 2023-03-01T10:44:57 [justify] Add min/max target_width Speeds up solving when some slack available.
Behdad Esfahbod 6e483c40 2023-02-28T12:25:32 [shape] Add hb_shape_justify() and hb-view --width
Behdad Esfahbod 921eca3e 2023-02-24T17:06:43 [autotools] Fix hb-info chafa build
Behdad Esfahbod 40fa046c 2023-02-12T10:54:07 [hb-info] Declare a variable unused Fixes https://github.com/harfbuzz/harfbuzz/issues/4115
Behdad Esfahbod aef002e0 2023-02-07T11:29:49 [embolden] Add in-place option Adds --font-grade to hb-view and hb-shape.
Behdad Esfahbod e39104ba 2023-02-01T16:56:56 [font/util] Add emboldening API, --font-bold Needs documentation.
Behdad Esfahbod 39d50008 2023-01-25T12:53:50 [hb-info] Format
Behdad Esfahbod 4e2267b7 2023-01-25T12:51:53 [hb-info] Add --get-meta
Behdad Esfahbod 42ed6abb 2023-01-25T12:47:16 [hb-info] Add --list-meta
Behdad Esfahbod 167443e9 2023-01-25T10:32:01 [hb-info] Respect HB_CHAFA=0
Behdad Esfahbod 87df84c3 2023-01-25T10:20:48 [hb-info] Fix copyright header
Behdad Esfahbod 192361cb 2023-01-24T17:05:38 [hb-info] Show color swatch only if printing to terminal
Behdad Esfahbod 817ec182 2023-01-24T17:02:08 [hb-info] Format