Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Philip Brown Newsgroups: comp.lang.java.programmer Subject: Re: problem with java displaying unicode, under ms-windows Date: Sun, 22 Jul 2012 10:37:13 -0700 (PDT) Organization: http://groups.google.com Lines: 22 Message-ID: References: <096d855d-7df4-4591-a498-818ae0bb193c@googlegroups.com> NNTP-Posting-Host: 173.58.246.116 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1342978634 27993 127.0.0.1 (22 Jul 2012 17:37:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 22 Jul 2012 17:37:14 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.58.246.116; posting-account=CiEMKgoAAADyVniih7tiexmSpPX6JYhp User-Agent: G2/1.0 X-Received-Bytes: 1983 Xref: csiph.com comp.lang.java.programmer:16223 On Sunday, July 22, 2012 10:10:28 AM UTC-7, markspace wrote: > On 7/22/2012 9:55 AM, Philip Brown wrote: > > btw: thanks to markspace for his code, but I'm using AWT. > > Kindasorta like Knute's code, but with plain Frame, not JFrame, as top. > > > It works the same for AWT. They all use the same drawChars() method > underneath. Yeah, I figured. The good news is, I found a solution to get the JRE working properly in windows, so it can work as well as MacOS. step 1: copy (jre)/lib/fontconfig.properties.src to fontconfig.properties step 2: modify the line sequence.allfonts=alphabetic/default,dingbats,symbol to be sequence.allfonts=alphabetic/default,dingbats,symbol,japanese The odd thing is,the MacOS fontconfig.properties, is not set up that way. But It Works. Oh well.