From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA07121; Thu, 12 Sep 2002 08:24:31 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA07743 for ; Thu, 12 Sep 2002 08:24:29 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from www.duonix.com ([210.113.163.221]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g8C6OR923683 for ; Thu, 12 Sep 2002 08:24:28 +0200 (MET DST) Received: from hama ([192.168.0.254]) by www.duonix.com (8.12.5/8.11.6) with SMTP id g8C6Q04c060154; Thu, 12 Sep 2002 15:26:00 +0900 (KST) (envelope-from shoh@duonix.com) X-Authentication-Warning: www.duonix.com: Host [192.168.0.254] claimed to be hama Message-ID: <002901c25a25$3d285b60$fe00a8c0@hama> From: "SooHyoung Oh" To: Cc: "Caml-List" Subject: [Caml-list] 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 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners