nanogui: Re: FLTK font question


Previous by date: 17 Jul 2011 20:35:05 -0000 Return to text mode, Georg Potthast
Next by date: 17 Jul 2011 20:35:05 -0000 Re: International keyboard support, Georg Potthast
Previous in thread: 17 Jul 2011 20:35:05 -0000 Re: FLTK font question, Greg Haerr
Next in thread: 17 Jul 2011 20:35:05 -0000 Re: FLTK font question, Greg Haerr

Subject: Re: [nanogui] FLTK font question
From: "Georg Potthast" ####@####.####
Date: 17 Jul 2011 20:35:05 -0000
Message-Id: <001501cc44c1$008513c0$6a00a8c0@SCHREIBTISCHGP>

Hi Greg,

I do not get this font.alias file to work with fltk. This is my font.alias 
in the dejavu directory:

!fixed "-misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-ascii-0"
fixed DejaVuSans.ttf
System DejaVuSans.ttf
system DejaVuSans.ttf
helvetica DejaVuSans.ttf
courier DejaVuSans.ttf
times DejaVuSans.ttf

My tests showed that the line "System DejaVuSans.ttf" worked as an alias for 
Xlib applications.

But it does not work for fltk as you can see below. I also do not know how 
to put the pattern -*-helvetica-medium-r-normal--* into the alias file. Does 
NXlib also support quotation marks in font.alias files? These should be used 
if there is a blank in the file description.

Georg


XSetLocaleModifiers called
XSetErrorHandler called
nxlib: display bpp 32, bits_per_rgb 8
XOpenIM called
XGetDefault Text background
XGetDefault fltk foreground
XGetDefault fltk background
XGetDefault Text selectBackground
XGetDefault fltk dndTextOps
XGetDefault fltk tooltips
XGetDefault fltk visibleFocus
nxTranslateEventMask no handler for event mask (0022c07f): 14
XCreatePixmap 200,105 depth 32
xlistfonts called
font_enumfonts called - pattern: -*-helvetica-medium-r-normal--* maxnames: 
100
findxlfdfont called
findxlfdfont no _nxfontlist
_getfontlist - return Null
font_enumfonts count: 0
xlistfonts called
font_enumfonts called - pattern: fixed maxnames: 1
findxlfdfont called
findfont_nowild: requested font: fixed height: (2067072)
findfont_nowild: searching in font directory: fonts
findfont_nowild: searching in font directory: /usr/share/fonts/X11/misc
findfont_nowild: searching in font directory: /usr/share/fonts/X11/100dpi
findfont_nowild: searching in font directory: 
/usr/share/fonts/truetype/freefont
findfont_nowild: no XLFD
findfont_nowild: searching in font directory: 
/usr/share/fonts/truetype/ttf-dejavu
findfont_nowild: no XLFD
findfont_nowild: searching in font directory: 
/usr/share/fonts/truetype/openoffice
findfont_nowild: searching in font directory: 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
findfont_nowild: no XLFD
findfont_nowild: searching in font directory: /usr/share/fonts/X11/Type1
findfont_nowild: fail
_getfontlist - return Null
font_enumfonts count: 0


Previous by date: 17 Jul 2011 20:35:05 -0000 Return to text mode, Georg Potthast
Next by date: 17 Jul 2011 20:35:05 -0000 Re: International keyboard support, Georg Potthast
Previous in thread: 17 Jul 2011 20:35:05 -0000 Re: FLTK font question, Greg Haerr
Next in thread: 17 Jul 2011 20:35:05 -0000 Re: FLTK font question, Greg Haerr


Powered by ezmlm-browse 0.20.