Path: csiph.com!usenet.pasdenom.info!news.etla.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Stanimir Stamenkov Newsgroups: comp.lang.java.programmer Subject: Re: Unicode >16 Bit JTextPane etc.. Date: Sun, 09 Jun 2013 17:55:53 +0300 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 9 Jun 2013 14:51:04 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="970df602b9156e719f3257771910373e"; logging-data="7960"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Md9IUlzLPHB/kgUoaovWd" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1 In-Reply-To: X-Face: "@)%Vlap6d%OVYDS}B4YUWE@yUy+^!w/+.q.,c5kjI#+uG?kYP&r/pTjNWgo:g[A,O=AL3/ j&4Le2cau$> >> Not here. Same result as OP. >> >> Windows 7 64-bit with Java 7 Update 21 64-bit. > > I don't see the character rendered with the expected glyph by my > side, but I see a single rectangle box rendered which deems the text > component is doing its job right by interpreting the surrogate pair > as a single character. Using "Symbola" or "Cambria Math" which appear to contain glyph for the character on my system: textpane.setFont(new Font("Symbola", Font.PLAIN, 24)); I see the character all right now, too. I use an utility called "BabelMap" to find and analyze fonts under Windows. http://www.babelstone.co.uk/Software/BabelMap.html -- Stanimir