Comment 1 for bug 1065143

Revision history for this message
Fjodor (sune-molgaard) wrote : Re: [Indiv-screenlets-dev] [Bug 1065143] [NEW] OutputScreenlet only displays last n lines based on height

Larry Williams wrote:
> Public bug reported:
>
> I am using OutputScreenlet version 0.2.2+ in Precise. I am using it to
> display a total of 26 statistical lines. In order to see all 26 lines of
> output I must set the screenlet height greater than 775; any smaller and
> the top lines are not displayed.
>
> Height > 25 line 26 displays
> Height > 75 lines 25 and 26 display, bottom margin is roughly 2 blank lines.
> .
> .
> .
> Height > 775 all lines are displayed, bottom margin is roughly 21 blank lines
>
> ** Affects: indiv-screenlets
> Importance: Undecided
> Status: New
>

When working on another bug, I noticed what I think might be an
inability to calculate widths and heights for specific fonts and -sizes,
though it might be that the screenlets drawing library simply calculates
from the specific font and size that is already set.

I don't have the time, but someone might look into whether my (limited)
understanding is correct, or whether some functionality should be added
to Drawing.py...

Best regards,

Sune Mølgaard

--
The tolerance of liberty can be maintained until complete federal and
state control by Catholics has been accomplished.
- Bishop O'Connor, Pittsburgh