xforms-development
[Top][All Lists]
Advanced

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

Re: [XForms] pre-release xforms-1.3.12


From: Jens Thoms Toerring
Subject: Re: [XForms] pre-release xforms-1.3.12
Date: Sun, 29 Jun 2014 12:15:21 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Oskar,

On Sat, Jun 28, 2014 at 04:28:59PM -0700, address@hidden wrote:
>       I think that the functions
> 
>       void fl_set_global_font_scaling(double scale); and
>       void fl_set_font_scaling_factor(int    index, double factor);
> 
> are missing in the forms.h header file.

Thank you, I indeed forgot to add them! Just uploaded a corrected
version of xforms-1.3.12.tar.gz (and, of course, to the git repo-
sitory).

> The function int fl_set_xft_font_name(int index, const char * name,
>                            int slant, int weight);
> works as expected. This will allow me to use the condensed font, and
> check whether the font is available on the system.

Fine;-) But the question remains if using the condensed fonts
per default would be better if they deviate less from the old
fonts? BTW, how do you want to use that function to check if a
font is available? I haven't yet found a way to do that at all
since the Xft function called for loading a font always suc-
ceeds, even if you pass it some font name that definitely does
not exist - it always gives you a font. Nice for me since I
don't have to care about finding a replacement font myself,
but it would also be nice to have some indication what actually
got loaded (I haven't found out yet if and how one might use
the 'pattern' member of the XftFont structure, the real font
name may be stored in there somewhere...).

                         Best regards, Jens
-- 
  \   Jens Thoms Toerring  ________      address@hidden
   \_______________________________      http://toerring.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]