nanogui: Asian Fonts In Nano-X


Previous by date: 25 Oct 2005 16:54:38 +0100 URGENT! really need help running nano-X on ARM, André
Next by date: 25 Oct 2005 16:54:38 +0100 Re: error: static declaration of 'abs' follows non-static declaration, Greg Haerr
Previous in thread: 25 Oct 2005 16:54:38 +0100 Re: Asian Fonts In Nano-X, Greg Haerr
Next in thread: 25 Oct 2005 16:54:38 +0100 Re: Asian Fonts In Nano-X, Greg Haerr

Subject: Re: Asian Fonts In Nano-X
From: Gil Glass ####@####.####
Date: 25 Oct 2005 16:54:38 +0100
Message-Id: <OF84D20D66.BF79EFEE-ON852570A5.004C8C01-852570A5.00575973@acterna.com>

Excellent!  Thanks for the reply, Greg.  Using the HZXFONT setting, I have 
been able to display some Chinese characters!  Of course, I have no idea 
what they are.  :-)

A few more questions:

1.  What is the difference between the HZXFONT and the HZKFONT?  When I 
used HZK, I didn't get any characters although I probably guessed wrong on 
the Unicode values.

2.  Are the Chinese and other Asian fonts scalable?  If not, what are the 
available sizes.  Based on the filenames, it looks like there is a 12 
pitch and a 16 pitch available.  The 16 pitch fonts are the ones being 
loaded right now.  How do I select?  I've tried using 
GrSetFontSize(fontId, 12) and GrSetFontSize(fontId, 16) but the result is 
the same for each.

3.  Is the alignment different for the Chinese fonts as for the Latin 
fonts?  In my current implementation, I do some drawing of cursors and 
selection bars that's based on the baseline returned by GrGetGCTextSize(). 
 I use the default alignment of "baseline" in GrText().  For a 16 pitch 
Latin font, the baseline returned is 3.  For the Chinese font, it is 14.

Thanks again!

Cheers,
Gil Glass
Telecom Field Services
JDSU
Germantown, MD, USA
+1-240-404-2551

Previous by date: 25 Oct 2005 16:54:38 +0100 URGENT! really need help running nano-X on ARM, André
Next by date: 25 Oct 2005 16:54:38 +0100 Re: error: static declaration of 'abs' follows non-static declaration, Greg Haerr
Previous in thread: 25 Oct 2005 16:54:38 +0100 Re: Asian Fonts In Nano-X, Greg Haerr
Next in thread: 25 Oct 2005 16:54:38 +0100 Re: Asian Fonts In Nano-X, Greg Haerr


Powered by ezmlm-browse 0.20.