Matthias Clasen
262bfa025f
hb-shape: Print table version where relevant
...
When listing tables with --list-tables, show
the version for CPAL and COLR tables.
2 years ago
Behdad Esfahbod
cc6a9bfa6f
[hb-shape/view] Print table length in --list-tables
2 years ago
Behdad Esfahbod
880d65c905
[hb-shape/view] Add --list-tables
2 years ago
Behdad Esfahbod
3d5a922bca
Fix really
2 years ago
Behdad Esfahbod
484831be3d
[util] Fix build
2 years ago
Behdad Esfahbod
8a6ecc5c89
[hb-view/shape] Add --list-features
2 years ago
Behdad Esfahbod
40a8145acc
[util] Don't use hb_vector_t
2 years ago
Behdad Esfahbod
d769e8ae7c
[hb-shape/view] Add --named-instance
2 years ago
Behdad Esfahbod
40bf30bfeb
[util] Print named-instance index in --list-variations
2 years ago
Behdad Esfahbod
14a83d6cc7
[hb-shape/view] --list-variations cleanup
2 years ago
Behdad Esfahbod
e1a5448306
[hb-shape/view] Print named-instances in --list-variations
...
Might remove the coordinates.
2 years ago
Behdad Esfahbod
9abc21072b
[hb-shape/view] Add --list-variations
2 years ago
Behdad Esfahbod
ed023f66df
Enable -Wformat-signedness
...
And fix the codebase.
2 years ago
Behdad Esfahbod
70ca146033
[chafa] Re-enable truecolor mode
...
See 42bf8e3d49
https://github.com/harfbuzz/harfbuzz/pull/2959#issuecomment-827056111
2 years ago
Behdad Esfahbod
30d4a73473
[hb-subset] Adjust help for instancing
2 years ago
Behdad Esfahbod
aba6cbe867
[hb-subset] Adjust --help-all formatting
...
Meh.
2 years ago
Behdad Esfahbod
85e8f2b53f
[hb-subset] Initialize preprocess variable
2 years ago
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()
2 years ago
Behdad Esfahbod
d87add41b3
[hb-subset] Rename --preprocess-face to --preprocess
...
Keep old name working but hidden.
2 years ago
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.
2 years ago
Behdad Esfahbod
0d98c79b10
[util] Centralize includes again
2 years ago
Behdad Esfahbod
d90ccc1c5c
[view] More includes
2 years ago
Behdad Esfahbod
969914b2b5
[view] Clean up includes
2 years ago
Behdad Esfahbod
2bbc57c3c4
[chafa] Residual
2 years ago
Behdad Esfahbod
962d4925b2
[ansi] Optimize write
2 years ago
Behdad Esfahbod
a35f8e340b
[ansi] Whitespace
2 years ago
Behdad Esfahbod
0004ec13a6
[view] Write ansi output to --output-file
...
Was writing to stdout all this time!
2 years ago
Behdad Esfahbod
3a319b59bd
[ansi] Write \e directly
2 years ago
Behdad Esfahbod
ab8b9b4443
[view] Streamline cairo-ft face lifecycle management
2 years ago
Behdad Esfahbod
228a415470
[view-cairo] Minor subpixel-bits
2 years ago
Behdad Esfahbod
74d29cd168
[helper-cairo] Remove a method
2 years ago
Behdad Esfahbod
b1de87b7f1
[cairo] Document get_glyphs() arguments as inout
2 years ago
Behdad Esfahbod
dc9ca63763
[hb-view] Remove stale disabled code path
...
With color rendering that code path is wrong anyway.
And cairo now supports subpixel text positioning.
2 years ago
Behdad Esfahbod
5efb3bc691
[hb-view] Set hb-cairo scale-factor
...
Unused.
2 years ago
Behdad Esfahbod
81c04b0c21
[cairo] Add separate x/y scale factors
2 years ago
Matthias Clasen
7d3b373925
Fix the autotools build
2 years ago
Behdad Esfahbod
c38abcb3fb
[cairo] Add x,y args to get_glyphs
2 years ago
Behdad Esfahbod
847ed69547
[cairo] Reorder arguments of a call
2 years ago
Behdad Esfahbod
120419e180
[hb-view] Fix autotools build
2 years ago
Behdad Esfahbod
ea993af8e7
[view] Don't double-slant
2 years ago
Behdad Esfahbod
cf001f6ec7
[cairo] Add constructor from hb_face_t
2 years ago
Behdad Esfahbod
20a50acc91
[hb-cairo] Make hb_cairo_glyphs_from_buffer public
2 years ago
Behdad Esfahbod
a230eb8cf5
[hb-cairo] Factorize hb_cairo_glyphs_from_buffer
...
To be made public.
2 years ago
Behdad Esfahbod
5c3da76a43
[hb-cairo] Change API again
...
We need to work with a hb-font for variations and font-funcs
to be fetched properly.
2 years ago
Behdad Esfahbod
9f7538c260
[hb-cairo] Change API
2 years ago
Matthias Clasen
0d6ee4621e
wip: Make hb-view use hb-cairo
...
This is a quick hack to prove that the
hb-cairo apis work
2 years ago
Behdad Esfahbod
5f168db884
[hb-view] Build with autotools if cairo-ft is not available
...
Like with meson.
2 years ago
Behdad Esfahbod
6ccbfabd4f
[paint] Return bool from paint_image()
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
2 years ago
Matthias Clasen
dfd371e976
Cosmetics
2 years ago
Matthias Clasen
4816be9ab5
Work around cairo limitations
...
If we just draw an image, cairos recording surface
complains that it is unbounded. Its not true of course.
To make things work, clip to the extents.
2 years ago