Commit Graph

729 Commits

Author SHA1 Message Date
Behdad Esfahbod 6de9d2b89f [justify] Rename hb-view --width to hb-view --justify-to 2023-03-01 14:32:06 -07:00
Behdad Esfahbod 25c66d633d [justify] Wrap in HB_EXPERIMENTAL_API 2023-03-01 14:23:12 -07:00
Behdad Esfahbod aa10deaf42 [justify] Print default buffer width in hb-shape --width=-1 2023-03-01 14:23:12 -07:00
Behdad Esfahbod b937edfb14 [justify] Add min/max target_width
Speeds up solving when some slack available.
2023-03-01 14:23:12 -07:00
Behdad Esfahbod 6e483c4061 [shape] Add hb_shape_justify() and hb-view --width 2023-03-01 14:23:12 -07:00
Behdad Esfahbod 921eca3e79 [autotools] Fix hb-info chafa build 2023-02-24 17:07:01 -07:00
Behdad Esfahbod 40fa046cf3 [hb-info] Declare a variable unused
Fixes https://github.com/harfbuzz/harfbuzz/issues/4115
2023-02-12 10:54:46 -07:00
Behdad Esfahbod aef002e0d9 [embolden] Add in-place option
Adds --font-grade to hb-view and hb-shape.
2023-02-07 11:52:25 -07:00
Behdad Esfahbod e39104ba19 [font/util] Add emboldening API, --font-bold
Needs documentation.
2023-02-02 15:51:22 -07:00
Behdad Esfahbod 39d50008f8 [hb-info] Format 2023-01-25 12:53:50 -07:00
Behdad Esfahbod 4e2267b729 [hb-info] Add --get-meta 2023-01-25 12:51:53 -07:00
Behdad Esfahbod 42ed6abb6a [hb-info] Add --list-meta 2023-01-25 12:47:16 -07:00
Behdad Esfahbod 167443e9fc [hb-info] Respect HB_CHAFA=0 2023-01-25 11:37:07 -07:00
Behdad Esfahbod 87df84c386 [hb-info] Fix copyright header 2023-01-25 11:37:07 -07:00
Behdad Esfahbod 192361cb4d [hb-info] Show color swatch only if printing to terminal 2023-01-24 17:05:38 -07:00
Behdad Esfahbod 817ec182eb [hb-info] Format 2023-01-24 17:02:08 -07:00
Behdad Esfahbod 66ddeb0737 [hb-info] Change Chafa repeat to 16 2023-01-24 17:01:01 -07:00
Behdad Esfahbod 7a29ded169 [hb-info] Render colors in --list-palette
Uses chafa if available
2023-01-24 16:59:44 -07:00
Behdad Esfahbod 279f13c187 [hb-shape] Write trace output to stderr 2023-01-24 11:50:59 -07:00
Behdad Esfahbod 161d8f9d26 [util] Rename a variable 2023-01-24 11:48:10 -07:00
Behdad Esfahbod 68a790261c [util] If --glyphs doesn't have positions, use glyph advances
Such that eg --glyphs=10 works.
2023-01-24 11:44:53 -07:00
Behdad Esfahbod 91a174f151 [hb-view] Hide --annotate and make it alias for --show-extents 2023-01-24 11:27:35 -07:00
Behdad Esfahbod 8cfb0ed072 [hb-view] --annotate enables --show-extents 2023-01-24 11:24:31 -07:00
Behdad Esfahbod 20fcf5c5b8 [hb-view] Add --show-extents 2023-01-24 11:22:55 -07:00
Behdad Esfahbod f798cf225e [util] Don't require final ']' in --glyphs 2023-01-23 21:00:38 -07:00
Khaled Hosny 1cf61f3053 [meson] Fix build with -Dgobject=disabled 2023-01-23 16:26:35 +02:00
Behdad Esfahbod 2b87af808b [hb-info] Typo 2023-01-22 17:37:51 -07:00
Behdad Esfahbod fe22afe7f9 [hb-info] Simplify 2023-01-22 16:47:50 -07:00
Khaled Hosny eba5762919 Another try 2023-01-22 16:30:34 -07:00
Khaled Hosny 37ab12a372 [util] Try to fix hb-info build 2023-01-22 16:30:34 -07:00
Behdad Esfahbod 5880ab0603 [hb-info] More build fix try 2023-01-22 16:21:43 -07:00
Behdad Esfahbod d76ef46d0a Try to fix autotools build 2023-01-22 16:17:39 -07:00
Behdad Esfahbod 6e58598520 [hb-info] Subfamily 2023-01-22 15:22:30 -07:00
Behdad Esfahbod 4142a460af [hb-info] Add --list-baselines 2023-01-22 15:11:50 -07:00
Behdad Esfahbod 9c62022ded [hb-info] Format 2023-01-22 15:02:21 -07:00
Behdad Esfahbod 0b7d3952ba [hb-info] Add --list-style 2023-01-22 15:00:10 -07:00
Behdad Esfahbod 090a6d0dde [hb-info] Add --get-style 2023-01-22 14:56:25 -07:00
Behdad Esfahbod 5b291d49e8 [hb-info] Rename style to subfamily 2023-01-22 14:51:17 -07:00
Behdad Esfahbod c300bf00f0 [hb-info] Move include around 2023-01-22 14:46:20 -07:00
Behdad Esfahbod b839f53cde [hb-info] Write fallback metrics in --list-metrics 2023-01-22 14:39:26 -07:00
Behdad Esfahbod 7ba3d0c419 [hb-info] Add --list-metrics
Requires hb-gobject
2023-01-22 14:28:13 -07:00
Behdad Esfahbod 4ec3d2e32a [hb-info List enum nicks in --list-names 2023-01-22 14:13:52 -07:00
Behdad Esfahbod 3feac1a408 [hb-info] Use tab in --list-palettes 2023-01-22 10:15:14 -07:00
Behdad Esfahbod 752ad51cce [hb-info] Move some initialization to post_parse 2023-01-22 10:12:41 -07:00
Behdad Esfahbod 334f59c955 [hb-info] If name not found, fall back to English 2023-01-22 10:06:05 -07:00
Behdad Esfahbod 7cae553592 [hb-info] Rename --dump-table to --get-table 2023-01-22 09:33:25 -07:00
Behdad Esfahbod 9b499a48bb [hb-info] Add --get-name 2023-01-22 09:27:05 -07:00
Behdad Esfahbod c54a7022fe [hb-view] Require cairo 1.17.5 for HB_DRAW=1 default again
Fixes https://github.com/harfbuzz/harfbuzz/issues/4051
2023-01-21 14:07:41 -07:00
Khaled Hosny ed68db2c01 [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
2023-01-21 15:27:56 +02:00
Matthias Clasen 32f9b467d6
Merge pull request #4045 from harfbuzz/custom-palette-cairo
Custom palette cairo
2023-01-21 02:20:39 -05:00