nanogui: Chinese font problem


Previous by date: 26 Apr 2004 15:30:55 +0100 microwindows equivalent funktion to SetCursorPos .., yidrissi.konplan.com
Next by date: 26 Apr 2004 15:30:55 +0100 nano-x and portrait mode, tj
Previous in thread:
Next in thread: 26 Apr 2004 15:30:55 +0100 Re: Chinese font problem, Greg Haerr

Subject: Chinese font problem
From: "wang yuan" ####@####.####
Date: 26 Apr 2004 15:30:55 +0100
Message-Id: <BAY18-F8nUFFndB5iGL00011d8e@hotmail.com>

dear all,

     My problem is that I can't change the chinese font size in microwin.
 
     I find that fontdemo.sh is to show different font sizes,so I  
      changed the demos/nanox/fontdemo.c trying to show simple chinese  in 
different size.  First,I copied a simsun.ttf form windows to src/fonts/ 
,and used it as a parameter to GrCreateFont().
     Then the GrText() with flag "MWTF_DBCS_EUCCN" .The program shows the 
right characters ,but they are in the same size.             
  
        In the config file ,I set:
        HAVE_HZK_SUPPORT=Y
        HAVE_GB2312_SUPPORT=Y
        HAVE_BIG5_SUPPORT=N
       HAVE_FREETYPE2_SUPPORT=Y

       Any idea? Thanks in advance. 

      Best regards,
    Yuan Wang
        

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  


Previous by date: 26 Apr 2004 15:30:55 +0100 microwindows equivalent funktion to SetCursorPos .., yidrissi.konplan.com
Next by date: 26 Apr 2004 15:30:55 +0100 nano-x and portrait mode, tj
Previous in thread:
Next in thread: 26 Apr 2004 15:30:55 +0100 Re: Chinese font problem, Greg Haerr


Powered by ezmlm-browse 0.20.