1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-27 05:23:39 -04:00
polybar/include/cairo
Chase Geigle 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
..
context.hpp refactor(cairo): Use shared_ptr for font list 2017-01-24 11:50:26 +01:00
font.hpp fix(renderer): Use proper font scaling based on DPI 2017-01-25 04:35:35 +01:00
fwd.hpp wip(refactor): Cairo drawing 2017-01-24 07:11:14 +01:00
surface.hpp wip(refactor): Cairo drawing 2017-01-24 07:41:46 +01:00
types.hpp refactor(cairo): Use shared_ptr for font list 2017-01-24 11:50:26 +01:00
utils.hpp wip(refactor): Cairo drawing 2017-01-24 07:41:46 +01:00