Bug #304

Strange spacing for sublets

Added by René Neumann about 1 month ago. Updated about 1 month ago.

Status: Unconfirmed Start date: 2012-09-22
Priority: Normal Due date:
Assignee: - % Done:

0%

Category: -
Target version: -
Votes: 0

Description

It seems like the spacing of sublets is sometimes calculated in a strange way. For example the clock is not shown completly (see http://data.necoro.eu/subtle_spacing.png ). On different resolutions I have to experiment with different min_width values to get it working -- but this is not the way it should be, as the panel is empty...

Configuration attached.

Btw - the clock is also cut off, if the tray is populated...

subtle.rb (24.1 kB) René Neumann, 2012-09-22 00:24

History

Tried this specific font in any other window? subtle uses the font metrics to define width and it works with almost all fonts. It just fails when the font specs are kind of broken.

It seems like the problem is triggered when a sublet (here 'clock') uses a font different from the rest.

For example when I defined the font to be "Arial-8" for style :all and then explicitly set the font for the clock to be "Arial Black-8", parts of the clock vanished.

(This is just an example and not my real usage. But I expect the Arial family to be non-broken and they differ enough to show the error.)

Also available in: Atom PDF