[Top][All Lists]

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

Re: [XForms] Another question on fonts...

From: Marisa Giancarla
Subject: Re: [XForms] Another question on fonts...
Date: Tue, 21 Oct 2014 15:42:36 -0700

Great, ill try this tonight and let you know if it works...


Empire Directory: https://EmpireDirectory.net

On Oct 21, 2014, at 9:06 AM, Serge Bromow <address@hidden> wrote:

Morning Gents & Gals,

On 10/21/2014 11:57 AM, Jens Thoms Toerring wrote:

On Mon, Oct 20, 2014 at 10:41:24PM -0700, Marisa Giancarla wrote:
Ive removed the gorilla support, you can pull a new version to get
the change...
Thanks, that made it easy to compile it. And on my machine
the fonts look a bit too large for some of the objects, but
not really weird. There are both monespaced and proportional
fonts shown. I guess this increases the likelihood that the
fonts used by XForms aren't installed on your system. Did
you had a look at the output if you start your program with
'-fldebug 1' as an additional option?
I found the same problem when I moved to a new OS. The fonts were there but the system choose 100dpi instead of 75dpi which I was apparently using. All the programs exhibited large fonts. I fixed this by adding the following before fl_initialize;

fl_set_font_name(FL_NORMAL_STYLE,            "-*-helvetica-medium-r-*-*-*-?-*-75-*-*-*-*");

fl_set_font_name(FL_BOLD_STYLE,            "-*-helvetica-bold-r-*-*-*-?-*-75-p-*-*-*");
fl_set_font_name(FL_ITALIC_STYLE,            "-*-helvetica-medium-o-*-*-*-?-*-75-p-*-*-*");
fl_set_font_name(FL_BOLDITALIC_STYLE,        "-*-helvetica-bold-o-no*-*-*-?-*-75-p-*-*-*");

fl_set_font_name(FL_FIXED_STYLE,            "-adobe-courier-medium-r-*-*-*-?-*-75-m-*-*-*");
fl_set_font_name(FL_FIXEDBOLD_STYLE,        "-adobe-courier-bold-r-*-*-*-?-*-75-m-*-*-*");
fl_set_font_name(FL_FIXEDITALIC_STYLE,        "-adobe-courier-medium-o-*-*-*-?-*-75-m-*-*-*");
fl_set_font_name(FL_FIXEDBOLDITALIC_STYLE,    "-adobe-courier-bold-o-*-*-*-?-*-75-m-*-*-*");

fl_set_font_name(FL_TIMES_STYLE,            "-*-times-medium-r-*-*-*-?-*-75-p-*-*-*");
fl_set_font_name(FL_TIMESBOLD_STYLE,        "-*-times-bold-r-*-*-*-?-*-75-p-*-*-*");
fl_set_font_name(FL_TIMESITALIC_STYLE,        "-*-times-medium-i-*-*-*-?-*-75-p-*-*-*");
fl_set_font_name(FL_TIMESBOLDITALIC_STYLE,    "-*-times-bold-i-*-*-*-?-*-75-p-*-*-*");

fl_set_font_name(FL_MISC_STYLE,            "-*-charter-medium-r-*-*-*-?-*-75-*-*-*-*");
fl_set_font_name(FL_MISCBOLD_STYLE,        "-*-charter-bold-r-*-*-*-?-*-75-*-*-*-*");
fl_set_font_name(FL_MISCITALIC_STYLE,        "-*-charter-medium-i-*-*-*-?-*-75-*-*-*-*");
fl_set_font_name(FL_SYMBOL_STYLE,            "-*-symbol-medium-r-*-*-*-?-*-75-*-*-*-*");

This forces the use of the 75dpi fonts.

Hope that helps,

                         Best regards, Jens

reply via email to

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