nanogui: problem with microwindows


Previous by date: 1 Aug 2001 10:10:35 -0000 Added Multibyte text output with truetypefont support to uWin., 이상백
Next by date: 1 Aug 2001 10:10:35 -0000 Re: problem with microwindows, Gary James
Previous in thread: 1 Aug 2001 10:10:35 -0000 problem with microwindows, Girija Deo
Next in thread: 1 Aug 2001 10:10:35 -0000 Re: problem with microwindows, Gary James

Subject: Re: [nanogui] problem with microwindows
From: Duncan Palmer ####@####.####
Date: 1 Aug 2001 10:10:35 -0000
Message-Id: <3B67D510.BB66721F@s3group.com>


Girija Deo wrote:
> 
> Sorry for sending resending mail (there was typing error in code part)
> 
> Hi,
> 
> I am trying to use microwindows-0.89pre7 on linux 2.4.0 (Cirrus Logic
> board RevB), but facing lots of problems about fontsize, rectangle,
> ellipse
> 
> 1.Not able to change the font size.
> ------------------------------------
> This is what i tried...
> GR_FONT_ID  fontid;
> fontid = GrCreateFont("times", 50, NULL);
> GrSetGCFont(gc1, fontid);
> GrText(window1, gc1, 40, 40, "Cirrus Logic", title_lenth, GR_TFASCII);
> 
> But whatever may be the fontsize (here its 50), there is no change in
> the display.

You are using built in fonts here, and unless a font of size 50 has been
built in to microwindows, you won't be able to resize to a 50 point
font. The only way around this is to either use true-type fonts (i
think), or build in a 50 point times font. A previous post of mine
describes how to do this - you should be able to find it in the archive.

Can't help with the rest of your questions im sorry...


Cheers,
Dunk.

-- 
Duncan Palmer                                    
####@####.####
Software Design Engineer                          Phone:    
+353-1-2911561
Silicon and Software Systems                      Fax:      
+353-1-2911001

Previous by date: 1 Aug 2001 10:10:35 -0000 Added Multibyte text output with truetypefont support to uWin., 이상백
Next by date: 1 Aug 2001 10:10:35 -0000 Re: problem with microwindows, Gary James
Previous in thread: 1 Aug 2001 10:10:35 -0000 problem with microwindows, Girija Deo
Next in thread: 1 Aug 2001 10:10:35 -0000 Re: problem with microwindows, Gary James


Powered by ezmlm-browse 0.20.