yambar/bar
Daniel Eklöf ffccabbb13
config: add inheritable option “font-shaping”
This patch adds an inheritable option, “font-shaping”, that controls
whether a particle that renders text should enable font-shaping or
not.

The option works similar to the ‘font’ option: one can set it at the
top-level, and it gets inherited down through all modules and to their
particles.

Or, you can set it on a module and it gets inherited to all its
particles, but not to other modules’ particles.

Finally, you can set it on individual particles, in which case it only
applies to them (or “child” particles).

When font-shaping is enabled (the default), the string particle shapes
full text runs using the fcft_rasterize_text_run_utf32() API. In fcft,
this results in HarfBuzz being used to shape the string.

When disabled, the string particle instead uses the simpler
fcft_rasterize_char_utf32() API, which rasterizes individual
characters.

This gives user greater control over the font rendering. One example
is bitmap fonts, which HarfBuzz often doesn’t get right.

Closes #159
2022-02-23 18:43:13 +01:00
..
backend.h bar: add bar->output_name(), returns the name of the output we’re on 2021-08-09 19:56:47 +02:00
bar.c bar: do a synchronous “refresh” *before* starting the modules 2021-10-22 18:05:20 +02:00
bar.h config: add inheritable option “font-shaping” 2022-02-23 18:43:13 +01:00
meson.build module/river: meson: explicitly add wl_proto_src + wl_proto_headers to sources 2020-09-24 17:30:18 +02:00
private.h Add layer option 2021-08-25 18:42:46 +02:00
wayland.c bar/wayland: error handling when dispatching Wayland events 2022-01-09 23:12:52 +01:00
wayland.h wayland: mucho wip: initial sort-of-working wayland backend 2019-02-03 11:08:53 +01:00
xcb.c Fix: X11 struts 2021-12-09 02:07:24 +01:00
xcb.h bar: wip: define a 'backend' interface 2019-01-29 20:59:25 +01:00