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
Behdad Esfahbod
1302a88b25
[hb-info] Add --dump-table
2023-01-19 15:51:46 -07:00
Behdad Esfahbod
148ee3e0c7
[hb-info] Make --show-style and --show-postscript-name show named-instance
2023-01-19 15:41:13 -07:00
Behdad Esfahbod
2a3903b37f
[hb-info] TODO items
2023-01-19 15:34:14 -07:00
Behdad Esfahbod
5540367ee2
[hb-info] Add --show-version
2023-01-19 15:30:27 -07:00
Behdad Esfahbod
3c734f4479
[hb-info] Add --show-postscript-name
2023-01-19 15:27:13 -07:00
Behdad Esfahbod
895d3f9e3e
[hb-info] Mark --show-all as default
2023-01-19 15:24:32 -07:00
Behdad Esfahbod
dec320a463
[hb-info] Put back -l for --list-tables
2023-01-19 15:18:06 -07:00
Behdad Esfahbod
9395bbaa67
[hb-info] Format
2023-01-19 15:17:33 -07:00
Behdad Esfahbod
d7cf69ede2
[hb-info] Format
2023-01-19 15:15:56 -07:00
Behdad Esfahbod
7af0624bdf
[hb-info] Remove unintended short option
2023-01-19 15:11:55 -07:00
Behdad Esfahbod
2115140121
[hb-info] Add --show-unique-name and --show-full-name
2023-01-19 15:10:00 -07:00
Behdad Esfahbod
2d9ba17a53
[hb-info] Add --show-style
2023-01-19 15:06:21 -07:00
Behdad Esfahbod
fecb2eeca0
[hb-info] Add --show-family
2023-01-19 15:05:00 -07:00
Behdad Esfahbod
f25c03162b
[hb-info] Change separator to ===
2023-01-19 14:57:45 -07:00
Behdad Esfahbod
5b05edd221
[hb-info] Add --list-names
2023-01-19 14:57:30 -07:00
Behdad Esfahbod
67c9845301
[hb-info] Make -l list tables ala ttx
2023-01-19 14:45:04 -07:00
Behdad Esfahbod
972e3b76da
[hb-info] Minor formatting
2023-01-19 14:42:18 -07:00
Behdad Esfahbod
c1679e0266
[hb-info] Default to --show-all
2023-01-19 14:41:13 -07:00
Behdad Esfahbod
1eca2c88a2
[hb-info] Add a few short option forms
2023-01-19 14:38:12 -07:00
Behdad Esfahbod
e5a07c883c
[hb-info] --help format
2023-01-19 14:34:32 -07:00
Behdad Esfahbod
b215f6a84f
[hb-info] Add --show-unicode-count
2023-01-19 14:31:45 -07:00
Behdad Esfahbod
3189b614b1
[hb-info] Format
2023-01-19 14:24:26 -07:00
Behdad Esfahbod
fd20a7e143
[hb-info] Add --show-glyph-count
2023-01-19 14:23:36 -07:00
Behdad Esfahbod
38c71cebd0
[hb-info] Add --show-upem --show-all --all
2023-01-19 14:19:05 -07:00
Behdad Esfahbod
aee7454d05
[hb-info] Add --list-scripts
2023-01-19 14:09:45 -07:00
Behdad Esfahbod
9ca2f86fe0
[hb-info] Minor verbose print
2023-01-19 14:04:37 -07:00
Behdad Esfahbod
9a94c06052
[hb-info] Minor we have face available
2023-01-19 13:56:36 -07:00
Behdad Esfahbod
8921f593f9
[hb-info] Print "---" separator
2023-01-19 13:49:22 -07:00
Behdad Esfahbod
f514f69724
[hb-info] Add --quiet
2023-01-19 13:35:15 -07:00
Behdad Esfahbod
dc717ced8d
[hb-info] Simplify
2023-01-19 13:16:34 -07:00
Behdad Esfahbod
1816d3664d
[hb-info] Flesh out
2023-01-19 12:59:26 -07:00
Behdad Esfahbod
ca903f7531
[hb-info] Start adding
2023-01-19 12:40:27 -07:00
Behdad Esfahbod
f43ba351e8
[util] Limit chafa to one thread
2023-01-19 12:17:30 -07:00
Behdad Esfahbod
2b010d8017
[util] Minor hide --font-ptem sometimes
2023-01-19 12:14:50 -07:00
Behdad Esfahbod
06c064a351
[util] Use hb_font_glyph_to_string
2023-01-19 11:17:49 -07:00
Behdad Esfahbod
ea291493d2
[hb-shape/view] List variation sequences in --list-unicodes
2023-01-18 19:51:22 -07:00
Behdad Esfahbod
8564d2266b
[hb-shape/view] Add --list-glyphs
2023-01-18 19:43:33 -07:00
Behdad Esfahbod
bf8bb9fb83
[hb-shape/view] Add --list-unicodes
2023-01-18 19:40:09 -07:00
Behdad Esfahbod
8e8ca03b2a
[hb-fc] Minor remove unused variable
2023-01-16 12:38:53 -07:00
Behdad Esfahbod
e903397bc3
Whitespace
2023-01-16 12:33:17 -07:00
Behdad Esfahbod
82a3b2dbb5
[util] Fix --named-instance
2023-01-16 11:18:22 -07:00
Behdad Esfahbod
ad6b9c417d
[util] Format --list-features
2023-01-16 11:07:03 -07:00
Behdad Esfahbod
0f4da85074
[util] Minor in --list-features clear feature set between GSUB/GPOS
2023-01-16 11:04:38 -07:00
Behdad Esfahbod
f25e3696eb
[hb-shape/hb-view] Better --list-features
2023-01-16 10:54:23 -07:00
Behdad Esfahbod
32d439596d
[hb-shape/view] Print feature names in --list-features
2023-01-15 22:34:14 -07:00
Behdad Esfahbod
cc6a9bfa6f
[hb-shape/view] Print table length in --list-tables
2023-01-15 18:16:19 -07:00
Behdad Esfahbod
880d65c905
[hb-shape/view] Add --list-tables
2023-01-15 18:14:14 -07:00
Behdad Esfahbod
3d5a922bca
Fix really
2023-01-15 16:15:52 -07:00
Behdad Esfahbod
484831be3d
[util] Fix build
2023-01-15 16:14:53 -07:00
Behdad Esfahbod
8a6ecc5c89
[hb-view/shape] Add --list-features
2023-01-15 13:54:27 -07:00
Behdad Esfahbod
40a8145acc
[util] Don't use hb_vector_t
2023-01-15 11:30:24 -07:00
Behdad Esfahbod
d769e8ae7c
[hb-shape/view] Add --named-instance
2023-01-15 10:58:15 -07:00
Behdad Esfahbod
40bf30bfeb
[util] Print named-instance index in --list-variations
2023-01-15 10:45:47 -07:00
Behdad Esfahbod
14a83d6cc7
[hb-shape/view] --list-variations cleanup
2023-01-15 10:11:54 -07:00
Behdad Esfahbod
e1a5448306
[hb-shape/view] Print named-instances in --list-variations
...
Might remove the coordinates.
2023-01-15 10:00:26 -07:00
Behdad Esfahbod
9abc21072b
[hb-shape/view] Add --list-variations
2023-01-15 09:46:32 -07:00
Behdad Esfahbod
ed023f66df
Enable -Wformat-signedness
...
And fix the codebase.
2023-01-12 17:04:24 -07:00
Behdad Esfahbod
70ca146033
[chafa] Re-enable truecolor mode
...
See 42bf8e3d49
https://github.com/harfbuzz/harfbuzz/pull/2959#issuecomment-827056111
2023-01-07 15:48:57 -07:00
Behdad Esfahbod
30d4a73473
[hb-subset] Adjust help for instancing
2023-01-06 16:00:53 -07:00
Behdad Esfahbod
aba6cbe867
[hb-subset] Adjust --help-all formatting
...
Meh.
2023-01-06 13:09:10 -07:00
Behdad Esfahbod
85e8f2b53f
[hb-subset] Initialize preprocess variable
2023-01-01 18:26:08 -07:00
Behdad Esfahbod
4a5bd7a926
[subset] Add hb_subset_input_keep_everything()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3998
New API:
+ hb_subset_input_keep_everything()
2023-01-01 16:53:28 -07:00
Behdad Esfahbod
d87add41b3
[hb-subset] Rename --preprocess-face to --preprocess
...
Keep old name working but hidden.
2023-01-01 16:27:26 -07:00
Khaled Hosny
00060d99f3
[hb-cairo] Silence warning when building with FreeType
...
In file included from ../util/hb-view.cc:33:
In file included from ../util/view-cairo.hh:32:
../util/helper-cairo.hh:102:7: warning: variable 'cairo_face' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (use_hb_draw)
^~~~~~~~~~~
../util/helper-cairo.hh:129:64: note: uninitialized use occurs here
cairo_scaled_font_t *scaled_font = cairo_scaled_font_create (cairo_face,
^~~~~~~~~~
../util/helper-cairo.hh:102:3: note: remove the 'if' if its condition is always true
if (use_hb_draw)
^~~~~~~~~~~~~~~~
../util/helper-cairo.hh:101:32: note: initialize the variable 'cairo_face' to silence this warning
cairo_font_face_t *cairo_face;
^
= nullptr
We know that cairo_face will always be assigned since use_hb_draw will
always be true, but the compiler does not know that.
2022-12-30 22:55:56 +02:00
Behdad Esfahbod
0d98c79b10
[util] Centralize includes again
2022-12-29 21:07:38 -07:00
Behdad Esfahbod
d90ccc1c5c
[view] More includes
2022-12-29 21:02:06 -07:00
Behdad Esfahbod
969914b2b5
[view] Clean up includes
2022-12-29 21:01:16 -07:00
Behdad Esfahbod
2bbc57c3c4
[chafa] Residual
2022-12-29 20:41:55 -07:00
Behdad Esfahbod
962d4925b2
[ansi] Optimize write
2022-12-29 20:39:02 -07:00
Behdad Esfahbod
a35f8e340b
[ansi] Whitespace
2022-12-29 20:34:23 -07:00
Behdad Esfahbod
0004ec13a6
[view] Write ansi output to --output-file
...
Was writing to stdout all this time!
2022-12-29 20:32:46 -07:00