LemonBoy / bar

A featherweight, lemon-scented, bar based on xcb
MIT License
1.63k stars 194 forks source link

Rendering issues using vertical offset #82

Closed vixus0 closed 9 years ago

vixus0 commented 10 years ago

When using a vertical offset for bar (-g arg), the text is rendered with incorrect vertical padding. Refer to the following:

No offset: no offset

With offset: with offset

The font used in these images is available here: https://github.com/phallus/fonts/raw/master/lemon.bdf

vixus0 commented 10 years ago

Playing around with the Y coordinate on line 128 might be worthwhile... https://github.com/LemonBoy/bar/blob/8475ff4fdbc9f60dd7182393ec06e770ee505a7b/bar.c#L128

LemonBoy commented 10 years ago

I can't reproduce it here :( Can you paste somewhere the invocation and some sample data ?

LemonBoy commented 9 years ago

ping