Message-ID: <002901c25a25$3d285b60$fe00a8c0 at hama> From: "SooHyoung Oh" To: Cc: "Caml-List" Subject: lablgtk: How to select CJK font on Windows? Date: Thu, 12 Sep 2002 15:25:50 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: 7bit Is anyone using lablgtk on Windows? I'm using lablgtk on Windows 2000. It's VERY VERY good for GUI applications. As you know, we can input utf-8 with vim ver.6 It seems that the code is encoded by utf-8 after a command "set encoding=utf-8". I made some ocaml/lablgtk file with gvim which is gui version of vim ver. 6. The problem is: I can make an window with a title which has Korean font but I CAN'T make button with Korean label. I think the problem is related with "font". (Anyone disagree?) So, I tested with several methods. * set LANG=KO on environment (1) setlocale Main.init ~setlocale:true (); (2) set GTK_SETLOCALE=1 on environment (3) add the following line in the program Rc.add_default_file "gtkrc.ko" (Question) How to set font name on "gtkrc.ko" file? What is correct font name in the following? --- gtkrc.ko --- style "default" { font = ... } class "GtkWidget" style "default" --- SooHyoung Oh tel: 02)583-8709, 042)861-8649 cell. phone: 011-453-4303 web: http://www.duonix.com