You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conky version: 1.21.7
Backend: X11
Font engine: xft
While investigating why conky was truncating its content (last lines of text partially cut), I found out that it behaves randomly when using different font sizes on the same line. Note that even at the same pixelsize, some fonts may be higher than others. Also it is a common use case to have several fonts on the same line (e.g. using a symbolic font for icons and a regular one for text). A simple reproducer is the following one (note the two pixel sizes at the bottom of the config):
To anyone reading this, the link points to a suspicious windows binary. @brndnmtthws can you delete/hide the above comment ? I have already reported this user to GH.
To anyone reading this, the link points to a suspicious windows binary. @brndnmtthws can you delete/hide the above comment ? I have already reported this user to GH.
Weird, thanks. Comment deleted and that account has been blocked.
What happened?
Conky version: 1.21.7
Backend: X11
Font engine: xft
While investigating why conky was truncating its content (last lines of text partially cut), I found out that it behaves randomly when using different font sizes on the same line. Note that even at the same pixelsize, some fonts may be higher than others. Also it is a common use case to have several fonts on the same line (e.g. using a symbolic font for icons and a regular one for text). A simple reproducer is the following one (note the two pixel sizes at the bottom of the config):
I expect conky to display 4 lines. Because the fontsizes are different, the text is misaligned and the text height computation is wrong.
If we increase the
font0
size a bit, the errors seem to compensate somehow:The text is misaligned, but still stays within the computed line height, the the four lines appear. Changing the size so that
font
is larger is worse:I would expect the various texts to be aligned along their baseline.
Version
1.21.7
Which OS/distro are you seeing the problem on?
Ubuntu
Conky config
Stack trace
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: