Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text wrap bug.



Ralph Metzler wrote:
> 
> Carsten Koch writes:
>  > The OSD has a bug calculating the width of a text string.
>  >
>  > This bug causes the last character to wrap around to the
>  > first column if not all of it fits into the last column.
>  >
>  > As an easy test case, simply create a timer entry like this
>  >
>  >    1:1:20:1111:1212:2:7:WWWWWWWWWWWWWWWWWW
>  >
>  > For Klaus' VDR and display the timer menu.
>  >
>  > At first I thought this can be solved in the VDR code,
>  > but as the fonts are proportionally-spaced, the VDR code
>  > really does not know how wide a string is, so it cannot
>  > determine the proper break.
>  >
>  > Is this bug already fixed in the upcoming driver release?
> 
> Itīs not a bug, itīs a feature!
> 
> No, really, what exactly is the bug here?
> It seems the firmware behaves correctly as intended, just not the way
> you want it to.
> So, how would you like it to be changed?
> Stop output at the window edge, have a new fixed-width font, ... ?
> If you want a new font, send me one I can use freely, but not GPLed
> since the firmware is not GPLed.
> 
> Ralph

I'd say the best thing to do would be to cut it off at the right edge.
Showing the rest of the character at the left edge is definitely not
what should happen.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


Home | Main Index | Thread Index