util


Log

Author Commit Date CI Message
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
Behdad Esfahbod 66ddeb07 2023-01-24T17:01:01 [hb-info] Change Chafa repeat to 16
Behdad Esfahbod 7a29ded1 2023-01-24T16:59:44 [hb-info] Render colors in --list-palette Uses chafa if available
Behdad Esfahbod 279f13c1 2023-01-24T11:50:59 [hb-shape] Write trace output to stderr
Behdad Esfahbod 161d8f9d 2023-01-24T11:48:10 [util] Rename a variable
Behdad Esfahbod 68a79026 2023-01-24T11:44:32 [util] If --glyphs doesn't have positions, use glyph advances Such that eg --glyphs=10 works.
Behdad Esfahbod 91a174f1 2023-01-24T11:27:35 [hb-view] Hide --annotate and make it alias for --show-extents
Behdad Esfahbod 8cfb0ed0 2023-01-24T11:24:31 [hb-view] --annotate enables --show-extents
Behdad Esfahbod 20fcf5c5 2023-01-24T11:22:55 [hb-view] Add --show-extents
Behdad Esfahbod f798cf22 2023-01-23T20:57:30 [util] Don't require final ']' in --glyphs
Khaled Hosny 1cf61f30 2023-01-23T13:43:35 [meson] Fix build with -Dgobject=disabled
Behdad Esfahbod 2b87af80 2023-01-22T17:37:51 [hb-info] Typo
Behdad Esfahbod fe22afe7 2023-01-22T16:47:50 [hb-info] Simplify
Khaled Hosny eba57629 2023-01-23T01:10:56 Another try
Khaled Hosny 37ab12a3 2023-01-23T01:02:51 [util] Try to fix hb-info build
Behdad Esfahbod 5880ab06 2023-01-22T16:20:23 [hb-info] More build fix try
Behdad Esfahbod d76ef46d 2023-01-22T16:17:39 Try to fix autotools build
Behdad Esfahbod 6e585985 2023-01-22T15:22:30 [hb-info] Subfamily
Behdad Esfahbod 4142a460 2023-01-22T15:11:50 [hb-info] Add --list-baselines
Behdad Esfahbod 9c62022d 2023-01-22T15:02:21 [hb-info] Format
Behdad Esfahbod 0b7d3952 2023-01-22T15:00:10 [hb-info] Add --list-style
Behdad Esfahbod 090a6d0d 2023-01-22T14:56:25 [hb-info] Add --get-style
Behdad Esfahbod 5b291d49 2023-01-22T14:51:17 [hb-info] Rename style to subfamily
Behdad Esfahbod c300bf00 2023-01-22T14:46:20 [hb-info] Move include around
Behdad Esfahbod b839f53c 2023-01-22T14:39:26 [hb-info] Write fallback metrics in --list-metrics
Behdad Esfahbod 7ba3d0c4 2023-01-22T14:27:31 [hb-info] Add --list-metrics Requires hb-gobject
Behdad Esfahbod 4ec3d2e3 2023-01-22T14:12:44 [hb-info List enum nicks in --list-names
Behdad Esfahbod 3feac1a4 2023-01-22T10:15:14 [hb-info] Use tab in --list-palettes
Behdad Esfahbod 752ad51c 2023-01-22T10:07:24 [hb-info] Move some initialization to post_parse
Behdad Esfahbod 334f59c9 2023-01-22T10:06:05 [hb-info] If name not found, fall back to English
Behdad Esfahbod 7cae5535 2023-01-22T09:33:25 [hb-info] Rename --dump-table to --get-table
Behdad Esfahbod 9b499a48 2023-01-22T09:27:05 [hb-info] Add --get-name
Behdad Esfahbod c54a7022 2023-01-21T14:07:41 [hb-view] Require cairo 1.17.5 for HB_DRAW=1 default again Fixes https://github.com/harfbuzz/harfbuzz/issues/4051
Khaled Hosny ed68db2c 2023-01-21T03:54:57 [util] Fix MSVC warning Apparently \e is non-standard extension not supported by MSVC. Use \033 instead. Fixes: warning C4129: 'e': unrecognized character escape sequence
Matthias Clasen 32f9b467 2023-01-21T02:20:39 Merge pull request #4045 from harfbuzz/custom-palette-cairo Custom palette cairo
Matthias Clasen c574eda7 2023-01-20T22:06:47 [hb-info] Fix output for CPAL The output for palette names was mangled. This commit makes things come out ok. For flags, we use "Both" when both LIGHT and DARK are set.