[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
display character set other than ascii in Microwin
From: Jeffrey Wang ####@####.#### Date: 9 Mar 2000 11:49:13 -0000 Message-Id: <38C78FD1.AD96C678@adc.iii.org.tw> Hi All, I am trying to display other character sets, say big5, in Microwin. I have converted the big5 .bdf file, but I don't know how to draw the characters on the display. Could any one give me some instructions how to go on? Thanks, Jeffrey | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: display character set other than ascii in Microwin
From: "Greg Haerr" ####@####.#### Date: 10 Mar 2000 01:25:18 -0000 Message-Id: <026001bf8a2d$c6ef5bc0$15320cd0@gregh> : I am trying to display other character sets, say big5, in Microwin. : I have converted the big5 .bdf file, but I don't know how to draw the : characters on the display. Could any one give me some instructions how : to go on? Thanks, First, you've got to add your new big5.c file into the libfonts.a that Microwindows uses. See microwin/src/fonts/Makefile. Then you need to add that font to the screen driver. See microwin/src/driver/genfont.c for that. Then you need to select that font by number before drawing. For Nano-X, you call GrSetGCFont with your known font number. For Win32, we're not really there yet, you should replace an existing font, and then call SelectObject(GetStockObject(DEFUALT_GUI_FONT)) or something like that. There are a number of folks that want better font support in Microwindows. Expect to see some big changes soon. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |