3e4a4ce78f
fix(renderer): Alignment blocks
2017-01-27 15:36:37 +01:00
5283fbff01
fix(renderer): Fill background to the sub blocks
...
Paint the background on each sub block instead of the base surface.
Fixes the compositing ops.
2017-01-26 01:53:25 +01:00
d8d007aa9c
refactor(cairo): Cleanup
2017-01-25 23:37:13 +01:00
f37ecfe959
fix(renderer): Falloff gradient
2017-01-25 15:00:34 +01:00
14fb86ec70
refactor(cairo): Less greedy glyph matching
...
Only match glyphs for consecutive characters when
the default/preferred font is being tested.
Refs #374
2017-01-25 12:03:06 +01:00
c7f33e2567
refactor(renderer): Use redirection groups instead of pixmaps
2017-01-25 09:54:18 +01:00
d2eeac9b22
fix(cairo): Use font metrics as vertical baseline
...
Refs #372
2017-01-25 04:40:59 +01:00
e7dc6b8bbb
fix(renderer): Use proper font scaling based on DPI
...
This tries to mimic the old renderer's behavior as closely as possible.
In the absence of any information, DPI is assumed to be 96x96. DPI can
be configured on a per-bar basis using the configuration key "dpi".
To use the DPI configuration from Xresources (if built with support),
one can specify the following in the bar config:
dpi = ${xrdb:Xft.dpi:96}
2017-01-25 04:35:35 +01:00
1a5246e940
refactor(cairo): Use shared_ptr for font list
2017-01-24 11:50:26 +01:00
3e37b9ec8e
fix(cairo): Increment textblock bg extents
2017-01-24 11:07:18 +01:00
8b9461e63e
wip(refactor): Cairo drawing
2017-01-24 07:41:46 +01:00
a59e115622
wip(refactor): Cairo drawing
2017-01-24 07:11:14 +01:00
452afcdc68
refactor: Integral types
2017-01-24 07:11:14 +01:00
5e1886a312
wip(refactor): Cairo drawing
2017-01-24 07:11:14 +01:00