Re: [ANNOUNCE] VDR developer version 1.5.4

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

 



Klaus Schmidinger wrote:
> VDR developer version 1.5.4 is now available 

> - Now using 'fontconfig' to determine which fonts to use (thanks to Anssi Hannula
>   for code and hints on how to do this).

> +         char *s = (char *)FcNameUnparse(fontset->fonts[i]);
> +         if (s) {
> +            // Strip i18n stuff:
> +            char *p = strchr(s, ',');
> +            if (p)
> +               *p = 0;

Dropping everything after ',' seems correct, but AFAICS it should be 
processed separately for the family name and style.

Currently, AFAICS,
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique
becomes
DejaVu Sans
while I think it should become
DejaVu Sans:style=Condensed Oblique

Otherwise seems fine to me :)

-- 
Anssi Hannula

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux