Commit Graph

693 Commits

Author SHA1 Message Date
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
Matthias Clasen c574eda74b [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.
2023-01-20 22:06:47 -05:00
Behdad Esfahbod 61719a8350 [hb-view] Support specifying color indices again 2023-01-20 15:52:09 -07:00
Behdad Esfahbod f21b15dcc3 [hb-view] Update to alternative cairo custom-palette API 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 638e0ed4fd [paint] Overlay custom-palette on top of chosen palette
Got to agree this is more ergonomic.
2023-01-20 13:57:39 -07:00
Behdad Esfahbod 03e2e58642 [hb-view] Improve color parsing
Now supports 3, 4, 6, 8 digit colors.
2023-01-20 13:57:39 -07:00
Behdad Esfahbod dc4af478d1 [hb-view] Default background to white when parsing 2023-01-20 13:57:39 -07:00
Behdad Esfahbod e998cec1d9 [hb-view] Move palette options to --help-view 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 253b4cecae [hb-view] Simplify palette format 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 52b78d526b [hb-view] Fix leak 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 5847ec24ff Fix bots 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 0bff570491 [hb-view] Use custom palette if any set 2023-01-20 13:57:39 -07:00
Matthias Clasen c41892a012 hb-view: Add a --custom-palette option 2023-01-20 13:57:39 -07:00
Behdad Esfahbod 3711455154 [hb-info] Minor set parse hooks
Unused.
2023-01-20 12:32:41 -07:00
Behdad Esfahbod 89371419a9 [hb-info] Move code around 2023-01-20 12:20:38 -07:00
Behdad Esfahbod 32b42eb568 [hb-info] Add --show-face-count 2023-01-20 12:18:04 -07:00
Behdad Esfahbod fd84605b58 [hb-info] Add --show-technology 2023-01-20 12:10:03 -07:00
Behdad Esfahbod c05230256d [util] Add -y for --face-index
Ala ttx.
2023-01-20 12:08:31 -07:00
Behdad Esfahbod 6bf9237e5f [hb-info] Format --list-palettes 2023-01-20 11:54:08 -07:00
Behdad Esfahbod 64625ed85d [hb-info] Write palette flags 2023-01-20 11:48:01 -07:00
Behdad Esfahbod d811dcdbde [hb-info] Add --list-palettes 2023-01-20 11:42:51 -07:00
Behdad Esfahbod 2590578162 [hb-info] Add --get-baseline 2023-01-20 11:04:22 -07:00
Behdad Esfahbod b77baa31c3 [hb-info] Show whether --get-metric value is fallback 2023-01-20 10:13:21 -07:00
Behdad Esfahbod 2a8df82aca [hb-info] Add --get-metric 2023-01-20 09:57:28 -07:00
Behdad Esfahbod ba4f5e9f22 [hb-info] Add --ot-script and --ot-language 2023-01-20 09:29:39 -07:00
Behdad Esfahbod 2cfd4133fb [hb-info] Print Zyyy for DFLT script 2023-01-20 07:11:33 -07:00
Behdad Esfahbod edd5a37e79 [hb-info] Implement script/language-sensitive --list-features
I'm not very confident in the implementation.
2023-01-19 18:39:32 -07:00
Behdad Esfahbod a67b6aad92 [hb-info] Format 2023-01-19 18:07:05 -07:00
Behdad Esfahbod 4927e215a4 [hb-info] Format 2023-01-19 18:03:31 -07:00
Behdad Esfahbod 9ca320d69e [hb-info] Format 2023-01-19 17:56:06 -07:00
Behdad Esfahbod b24c7add80 [hb-info] Write ISO/BCP script/language in --scripts 2023-01-19 17:53:07 -07:00
Behdad Esfahbod b8dacd46f5 [hb-info] Format 2023-01-19 17:46:24 -07:00
Behdad Esfahbod b9a2917c2e [hb-info] Simplify direction/script/language handling 2023-01-19 17:38:05 -07:00
Behdad Esfahbod e6544148b5 [hb-info] Enlarge name buffer 2023-01-19 17:28:41 -07:00
Behdad Esfahbod d759918d18 [hb-info] TODO 2023-01-19 17:26:00 -07:00
Behdad Esfahbod 4baf0ada69 [hb-info] Add --direction, --script, --language 2023-01-19 17:24:05 -07:00
Behdad Esfahbod e52a23c5f8 [hb-info] Add --show-extents 2023-01-19 16:01:29 -07:00