[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] Passing style
From: |
Werner LEMBERG |
Subject: |
Re: [Devel] Passing style |
Date: |
Thu, 13 Nov 2003 09:53:11 +0100 (CET) |
> As of 2.1.5, freetype doesn't preserve the "set width" or "add
> style" attributes of BDF/PCF fonts. [...]
>
> I spent some time in the last few days finally looking for a clean
> solution to this problem, and it seems to me that it is appropriate
> in general for freetype to pass non-normal "set width" as a
> component of the freetype "style". [...]
>
> The patch I'm attaching changes the PCF/BDF code to deal differently
> with setting the freetype "style". Prior to this (as of 2.1.5),
> only "bold" and "italic" were checked for and accomodated. This
> patch replaces that code with a routine which builds a "style" which
> may include not only "bold" and "italic", but also whatever
> non-normal contents "set width" and "add style" may have.
Thanks a lot! Your patch looks nice, and I'll apply it except the
toupper() and tolower() functions which we intentionally don't use to
avoid any dependency on the locale. For example, the uppercase of `i'
is `İ' (this is `I' with dot above) in Turkish.
Werner