[vdr] vdr 1.5.16 - minor problem in font.c
Klaus Schmidinger
Klaus.Schmidinger at cadsoft.de
Sat Mar 1 11:24:26 CET 2008
On 02/29/08 23:01, Tobi wrote:
> Klaus Schmidinger wrote:
>
>>> Can you please verify if the attached patch does this correctly?
>> Maybe the attached version is even better, because there are also other
>> places where Glyph() is called.
>
> The patch works, but you should also pass the AntiAliased parameter when
> recursivly calling Glyph().
Right.
> Besides this - I have the 0xA0 about 80 times in my epg.data (very often on
> DMAX). As far as I can tell, the 0xA0 is used as NON-BREAKING SPACE to avoid the
> collapsing of two or more spaces. Therefore the 0xA0 might as well be rendered
> as normal single space by default:
>
> if (CharCode == 0xA0)
> CharCode = 0x20;
That's certainly the correct solution - 0xA0 is officially specified as
non-breaking space.
Attached is the complete patch, please verify.
Klaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.5.16-font-glyph-check.diff
Type: text/x-patch
Size: 1188 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20080301/9d7e2234/attachment.bin
More information about the vdr
mailing list