nanogui: using nano-X builtin fonts


Previous by date: 26 Jun 2001 15:43:47 -0000 Re: Help to install Opera or Mozilla WebBrowser with Microwindow, Alex Holden
Next by date: 26 Jun 2001 15:43:47 -0000 Re: Help to install Opera or Mozilla WebBrowser with Microwindow, Jordan Crouse
Previous in thread:
Next in thread: 26 Jun 2001 15:43:47 -0000 Re: using nano-X builtin fonts, Jordan Crouse

Subject: using nano-X builtin fonts
From: Duncan Palmer ####@####.####
Date: 26 Jun 2001 15:43:47 -0000
Message-Id: <3B38AD8B.FE46B026@s3group.com>

hi all,

I've added a builtin font to nanox by sticking a .bdf file into fonts/,
with all the others, and including it in the build process. I'm now
attempting to get flnx to use it, without success so far. Just for
testing, i've hacked fl_draw(), and changed the GrSetGCFont() call to
GrSetGCFont(fl_gc, GcCreatreFont((GR_CHAR *)"myfont", 16, NULL)), and am
using the "fonts" test built in the test directory to try and change to
my font (the fact that i haven't added it to built_in_table[] should not
matter since i've made fl_draw() select my font every time). 

So far, i'm not having a lot of luck (i.e. the characters printed out by
'fonts' don't look like i think they should). I'm using flnx-0.15 and
microwin-0.89pre6 compiled to run under X. Can anyone offer me
suggestions as to whether what i'm doing should work, and what i might
be doing wrong? Should i use .ttf fonts instead? (i'd prefer not to for
what i'm doing).

Cheers,
Dunk

-- 
Duncan Palmer                                    
####@####.####
Software Design Engineer                          Phone:*   
+353-1-2185542
Silicon and Software Systems                      Fax:      
+353-1-2185590
* from Monday, June 25th, my number will be +353-1-2911561

Previous by date: 26 Jun 2001 15:43:47 -0000 Re: Help to install Opera or Mozilla WebBrowser with Microwindow, Alex Holden
Next by date: 26 Jun 2001 15:43:47 -0000 Re: Help to install Opera or Mozilla WebBrowser with Microwindow, Jordan Crouse
Previous in thread:
Next in thread: 26 Jun 2001 15:43:47 -0000 Re: using nano-X builtin fonts, Jordan Crouse


Powered by ezmlm-browse 0.20.