[<<] [<] Page 1 of 2 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] FLTK font question
From: "Georg Potthast" ####@####.#### Date: 30 Jun 2011 20:26:48 -0000 Message-Id: <001001cc3764$0b73fdb0$6800a8c0@SCHREIBTISCHGP> Hi Greg, I am still struggeling with fonts and FLTK 1.3.0. There is still no text displayed on the screen. Now I put some additional DPRINTF's into fontlist.c and got this result: nxTranslateEventMask no handler for event mask (0022c07f): 14 findfont_nowild: requested font: fixed height: (5) 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: 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 Do you know where the fixed-5 font shall be found and why it is not found? I would expect that this is one of the compiled-in system files. The truetype directory I downloaded from your site did have an empty fonts.dir file and no font.alias file. So I copied the truetype directory from cygwin which has a populated fonts.dir (but no fonts.alias) file into /usr/share/fonts/truetype/freefont and /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType but that did not help, still no text on the screen. Do I need to compile in PCF fonts to get the fixed font? I get text in the window title decoration though already, but that is done by NXLIB. You recommended this in your last post: >A workaround would be to build an alias for a fixed-size 36 font, which >would be found with the variable sized XLFD font spec. How shall I do this? I am not familiar with this. As I wrote above, I currently need fixed-5 though. Regards Georg Potthast | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Fw: [nanogui] FLTK font question
From: "Georg Potthast" ####@####.#### Date: 1 Jul 2011 21:50:57 -0000 Message-Id: <007401cc3838$f3b34d40$6800a8c0@SCHREIBTISCHGP> Hi, I guess I found a bug with NXLIB: if you call xlistfonts with the pattern "fixed" NXLIB will return zero, i.e. it did not find that font. To work around that I patched in FLTK 1.3.0 the file fl_font_x.cxx. In the "Fl_Fontdesc built_in_table" I removed the entries for helvetica and replaced those with dejavu fonts. I still do not get different sized fonts but at least I get some text on the screen. Georg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] FLTK font question
From: "Greg Haerr" ####@####.#### Date: 7 Jul 2011 19:24:52 -0000 Message-Id: <2E80906F876B49FAB37670D28BB21BF7@winXP> > with fltk1110 there is first a xlistfonts call with > "-*-helvetica-bold-o-normal--*" which is returned with NULL by NXLIB. Then > fltk1110 makes a xloadfont call for the fixed font, assuming that this is > always present. > fltk130, however, calls xlistfonts again with the pattern "fixed". NXLIB > again does not find that font and returns NULL. Then fltk130 continues > without text to the screen. > Do you have a suggestion how I can make it find the fixed font with an > xlistfonts call? In older versions of NXLIB, an xlistfonts call for "fixed" resulted in a specially-cased return of the microwindows fixed system font. This was found to cause problems in other Xlib applications, so it was removed. In the 0.47dev version of NXLIB, we've added the capability to alias a requested font with a filename or XLFD font specification. The fonts.alias file performs this function. Just like it's Linux counterpart, it lists aliases on each line with ! used a comments. Thus, to alias "fixed" the following lines could be used: ! fonts.alias file fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1 In addition, -*- can be used for wildcards, as xlistfonts basically recurses using the new value. It also works for scaled fonts. > At the end of the day I have to get NXLIB to find the truetype fonts > though - agreed. This can be done simply by loading truetype font directories (including fonts.dir files) from an X11 distribution into your working directory. Regards, Greg ----- Original Message ----- From: Ricardo Jasinski To: Georg Potthast Sent: Friday, July 01, 2011 2:03 AM Subject: Re: [nanogui] FLTK keyboard question Hi Georg, this is what we use (it is for FLTK 2.0 though): /fonts # ls -la drwxr-xr-x 2 0 Sep 21 2010 . drwxr-xr-x 7 0 Sep 21 2010 .. -rw-r--r-- 1 495680 Sep 21 2010 DejaVuLGCSans.ttf -rw-r--r-- 1 406456 Sep 21 2010 DejaVuLGCSansCondensed-Bold.ttf lrwxrwxrwx 1 17 Sep 21 2010 dejavulgcsans.ttf -> DejaVuLGCSans.ttf lrwxrwxrwx 1 31 Sep 21 2010 dejavulgcsanscondensedbold.ttf -> DejaVuLGCSansCondensed-Bold.ttf -rw-r--r-- 1 171 Sep 21 2010 fonts.dir /fonts # cat fonts.dir 2 dejavulgcsanscondensedbold.ttf -dejavu-DejaVuLGCSans-medium-r-bold--0-0-0-0-p-0-iso8859-1 dejavulgcsans.ttf -dejavu-DejaVuLGCSans-medium-r-normal--0-0-0-0-p-0-iso8859-1 /fonts # Happy hacking, Ricardo. On Wed, Jun 29, 2011 at 2:43 AM, Georg Potthast ####@####.#### wrote: I found that my kbd_dj driver had a bug and returned the wrong scancode value. Now I can make keyboard input with FLTK version 1.1.10. However, since FLTK uses the scancode, I only have a US keyboard layout. I have to see if this can be configured in FLTK. With version 1.3.0 I cannot tell if the keyboard works, since there is no text displayed on the screen, even the cursor is not present. Where can I get a populated fonts.dir file? Georg --------------------------------------------------------------------- To unsubscribe, e-mail: ####@####.#### For additional commands, e-mail: ####@####.#### | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] FLTK font question
From: "Greg Haerr" ####@####.#### Date: 7 Jul 2011 19:25:44 -0000 Message-Id: <417B5558CD29446796C0B7F40F17349B@winXP> : I guess I found a bug with NXLIB: if you call xlistfonts with the pattern : "fixed" NXLIB will return zero, i.e. it did not find that font. Yes, that was changed in an earlier NXLIB version. : : To work around that I patched in FLTK 1.3.0 the file fl_font_x.cxx. In the : "Fl_Fontdesc built_in_table" I removed the entries for helvetica and : replaced those with dejavu fonts. I still do not get different sized fonts : but at least I get some text on the screen. Instead of recompiling, use a fonts.alias file for the fonts listed in fl_font_x.cxx that are aliased to font files that exist on your target system. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] FLTK font question
From: "Greg Haerr" ####@####.#### Date: 25 Jul 2011 22:30:47 -0000 Message-Id: <48148C7980784C2EA53E0EA54FD3F426@winXP> : 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. You should just put the pattern in the file, with a space following the alias name, with no quotes. Quotes are not currently handled in the fonts.alias file. Regards, Greg : : 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 : : | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] FLTK font question
From: "Georg Potthast" ####@####.#### Date: 26 Jul 2011 19:46:05 -0000 Message-Id: <003c01cc4bcc$7ed8f0e0$6a00a8c0@SCHREIBTISCHGP> Hi Greg, my font.alias file now looks like that: !___________________________________V_________________________________ -*-helvetica-medium-r-normal--* -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-ascii-0 !fixed DejaVuSans.ttf System DejaVuSans.ttf It still does not find a font: 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 The font files I copied from my Linux distribution all contain a blank in their name (see the V above). In that case the documentation asks to put the file name into quotation marks. Georg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] FLTK font question
From: "Georg Potthast" ####@####.#### Date: 28 Jul 2011 20:43:15 -0000 Message-Id: <003001cc4d66$e55dbb70$6a00a8c0@SCHREIBTISCHGP> Greg, I changed my fonts.alias file to this: !-*-helvetica-medium-r-normal--* -misc-dejavu_sans-medium-r-normal--0-0-0-0-p-0-ascii-0 fixed -misc-dejavu_sans-medium-r-normal--0-0-0-0-p-0-ascii-0 Fixed -misc-dejavu_sans-medium-r-normal--0-0-0-0-p-0-ascii-0 This did also not work as you can see far below. I had already found and reported in the past that NXlib does not return the same response as Xlib when called "font_enumfonts - pattern: fixed" which causes FLTK 1.3.0 to give up. The old FLTK version did not make a call font_enumfonts on fixed but assumed that to be present. This resulted in the compiled-in font of nano-x being used, however, one had only a one size font then. FLTK has a module called fl_font_x.cxx which contains the default fonts for FLTK: static Fl_Fontdesc built_in_table[] = { {"-*-helvetica-medium-r-normal--*"}, {"-*-helvetica-bold-r-normal--*"}, {"-*-helvetica-medium-o-normal--*"}, {"-*-helvetica-bold-o-normal--*"}, {"-*-courier-medium-r-normal--*"}, {"-*-courier-bold-r-normal--*"}, {"-*-courier-medium-o-normal--*"}, {"-*-courier-bold-o-normal--*"}, {"-*-times-medium-r-normal--*"}, {"-*-times-bold-r-normal--*"}, {"-*-times-medium-i-normal--*"}, {"-*-times-bold-i-normal--*"}, {"-*-symbol-*"}, {"-*-lucidatypewriter-medium-r-normal-sans-*"}, {"-*-lucidatypewriter-bold-r-normal-sans-*"}, {"-*-*zapf dingbats-*"} }; This is why it queries for -*-helvetica-medium-r-normal--* first. I changed this array to: static Fl_Fontdesc built_in_table[] = { {"-*-dejavu sans-medium-r-normal--*"}, {"-*-dejavu sans-bold-r-normal--*"}, {"-*-dejavu sans-medium-o-normal--*"}, {"-*-dejavu sans mono-bold-o-normal--*"}, [.....................] This resulted in fonts being found and used. As you wrote it should also work with a fonts.alias file and that would avoid a change in the FLTK code. That is what I was trying to get to work now. Georg The logfile from NXlib: 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: (1512640) 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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] FLTK font question
From: "Georg Potthast" ####@####.#### Date: 28 Jul 2011 21:25:16 -0000 Message-Id: <004301cc4d6c$d16b5220$6a00a8c0@SCHREIBTISCHGP> Greg, I think you mean nxlib\fontlist.c. This looks like that: char *FONT_DIR_LIST[] = { "fonts", /* local font dir w/fonts.alias*/ "/usr/share/fonts/X11/misc", /* pcf fonts w/fonts.dir*/ "/usr/share/fonts/X11/100dpi", "/usr/share/fonts/truetype/freefont", /* truetype fonts, no fonts.dir*/ "/usr/share/fonts/truetype/ttf-dejavu", "/usr/share/fonts/truetype/openoffice", "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType", /* truetype fonts, w/fonts.dir & fonts.scale*/ "/usr/share/fonts/X11/Type1", /* t1lib type1 .pfb fonts, w/fonts.dir*/ 0 }; #if HAVE_STATICFONTS extern unsigned char dejavusansbold[572908]; extern unsigned char dejavusans[622020]; extern unsigned char dejavusansmono[320812]; nxStaticFontList staticFontList[] = { {"DejaVuSans.ttf","-misc-helvetica-medium-r-normal--0-0-0-0-p-0-iso10646-1",dejavusans,sizeof(dejavusans)}, {"DejaVuSans-Bold.ttf","-misc-helvetica-bold-r-normal--0-0-0-0-p-0-iso10646-1",dejavusansbold,sizeof(dejavusansbold)}, {"DejaVuSans-Mono.ttf","-misc-courier-medium-r-normal--0-0-0-0-p-0-iso10646-1",dejavusansmono,sizeof(dejavusansmono)}, {NULL,NULL,NULL,0} }; #endif I think only the usr\share\fonts\truetype\ttf-dejavu directory is needed in my case. The fonts.dir file in there starts like that: 1303 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-adobe-standard DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-ascii-0 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso10646-1 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-1 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-10 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-13 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-15 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-16 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-2 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-3 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-4 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-5 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-6.16 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-6.8x DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-8 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso8859-9 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-koi8-e DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-koi8-r DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-koi8-ru DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-koi8-u DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-koi8-uni DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-microsoft-cp1252 DejaVuSans-Bold.ttf -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-suneu-greek DejaVuSans-BoldOblique.ttf -misc-dejavu sans-bold-i-normal--0-0-0-0-p-0-adobe-standard DejaVuSans-BoldOblique.ttf -misc-dejavu sans-bold-i-normal--0-0-0-0-p-0-ascii-0 DejaVuSans-BoldOblique.ttf -misc-dejavu sans-bold-i-normal--0-0-0-0-p-0-iso10646-1 DejaVuSans-BoldOblique.ttf -misc-dejavu sans-bold-i-normal--0-0-0-0-p-0-iso8859-1 [...............] luxisri.ttf -b&h-luxi sans-medium-o-normal--0-0-0-0-p-0-iso8859-16 luxisri.ttf -b&h-luxi sans-medium-o-normal--0-0-0-0-p-0-iso8859-2 luxisri.ttf -b&h-luxi sans-medium-o-normal--0-0-0-0-p-0-iso8859-3 luxisri.ttf -b&h-luxi sans-medium-o-normal--0-0-0-0-p-0-iso8859-4 luxisri.ttf -b&h-luxi sans-medium-o-normal--0-0-0-0-p-0-iso8859-9 luxisri.ttf -b&h-luxi sans-medium-o-normal--0-0-0-0-p-0-microsoft-cp1252 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] FLTK font question
From: "Greg Haerr" ####@####.#### Date: 29 Jul 2011 23:23:47 -0000 Message-Id: <DCABB55A46234F2D87952F7A9BF1E8F6@winXP> Georg - I've fixed XLoadFont and XListFonts in NXLIB and everything should now work for you. I've tested with FLTK 1.1.10 and 1.3.0, and fixed the following issues: o fix XLoadFont special case handling of 'fixed' -> uses mwin SystemFixed o add XListFonts handling of 'fixed', allows FLTK 1.3.0 to work o add fonts.alias handling in XListFonts o allow spaces in filenames (was actually a tab bug in line reading routine) o allow fonts.alias aliasing to non-XLFD fonts Please pull down the nxlib-src snapshot or cvs, and check that everything works for you. You should not have to modify any code in FLTK 1.3.0, just use fonts.alias files. Regards, Greg : I changed my fonts.alias file to this: : !-*-helvetica-medium-r-normal--* -misc-dejavu_sans-medium-r-normal--0-0-0-0-p-0-ascii-0 : fixed -misc-dejavu_sans-medium-r-normal--0-0-0-0-p-0-ascii-0 : Fixed -misc-dejavu_sans-medium-r-normal--0-0-0-0-p-0-ascii-0 : : This did also not work as you can see far below. I had already found and : reported in the past that NXlib does not return the same response as Xlib : when called "font_enumfonts - pattern: fixed" which causes FLTK 1.3.0 to : give up. The old FLTK version did not make a call font_enumfonts on fixed : but assumed that to be present. This resulted in the compiled-in font of : nano-x being used, however, one had only a one size font then. : : As you wrote it should also work with a fonts.alias file and that would : avoid a change in the FLTK code. That is what I was trying to get to work : now. : : Georg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 2 [>] [>>] |