Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #24325 > unrolled thread
| Started by | Jan Burse <janburse@fastmail.fm> |
|---|---|
| First post | 2013-06-08 13:29 +0200 |
| Last post | 2013-06-09 07:08 +0300 |
| Articles | 20 on this page of 21 — 9 participants |
Back to article view | Back to comp.lang.java.programmer
Unicode >16 Bit JTextPane etc.. Jan Burse <janburse@fastmail.fm> - 2013-06-08 13:29 +0200
Re: Unicode >16 Bit JTextPane etc.. Jan Burse <janburse@fastmail.fm> - 2013-06-08 13:42 +0200
Re: Unicode >16 Bit JTextPane etc.. Jeff Higgins <jeff@invalid.invalid> - 2013-06-08 10:31 -0400
Re: Unicode >16 Bit JTextPane etc.. Joerg Meier <joergmmeier@arcor.de> - 2013-06-08 20:35 +0200
Re: Unicode >16 Bit JTextPane etc.. Jeff Higgins <jeff@invalid.invalid> - 2013-06-08 18:17 -0400
Re: Unicode >16 Bit JTextPane etc.. Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2013-06-08 23:12 -0500
Re: Unicode >16 Bit JTextPane etc.. Jan Burse <janburse@fastmail.fm> - 2013-06-09 00:15 +0200
Re: Unicode >16 Bit JTextPane etc.. Jeff Higgins <jeff@invalid.invalid> - 2013-06-08 18:20 -0400
Re: Unicode >16 Bit JTextPane etc.. Jan Burse <janburse@fastmail.fm> - 2013-06-09 00:25 +0200
Re: Unicode >16 Bit JTextPane etc.. Jeff Higgins <jeff@invalid.invalid> - 2013-06-08 20:47 -0400
Re: Unicode >16 Bit JTextPane etc.. "Qu0ll" <Qu0llSixFour@gmail.com> - 2013-06-09 11:42 +1000
Re: Unicode >16 Bit JTextPane etc.. Martin Gregorie <martin@address-in-sig.invalid> - 2013-06-09 01:50 +0000
Re: Unicode >16 Bit JTextPane etc.. Jeff Higgins <jeff@invalid.invalid> - 2013-06-08 22:48 -0400
Re: Unicode >16 Bit JTextPane etc.. Jeff Higgins <jeff@invalid.invalid> - 2013-06-09 00:16 -0400
Re: Unicode >16 Bit JTextPane etc.. markspace <markspace@nospam.nospam> - 2013-06-09 00:23 -0700
Re: Unicode >16 Bit JTextPane etc.. Jan Burse <janburse@fastmail.fm> - 2013-06-09 09:35 +0200
Re: Unicode >16 Bit JTextPane etc.. Jan Burse <janburse@fastmail.fm> - 2013-06-09 09:51 +0200
Re: Unicode >16 Bit JTextPane etc.. Martin Gregorie <martin@address-in-sig.invalid> - 2013-06-09 13:05 +0000
Re: Unicode >16 Bit JTextPane etc.. Stanimir Stamenkov <s7an10@netscape.net> - 2013-06-09 17:37 +0300
Re: Unicode >16 Bit JTextPane etc.. Stanimir Stamenkov <s7an10@netscape.net> - 2013-06-09 17:55 +0300
Re: Unicode >16 Bit JTextPane etc.. Sven Köhler <remove-sven.koehler@gmail.com> - 2013-06-09 07:08 +0300
Page 1 of 2 [1] 2 Next page →
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Date | 2013-06-08 13:29 +0200 |
| Subject | Unicode >16 Bit JTextPane etc.. |
| Message-ID | <kov4ho$ud7$1@news.albasani.net> |
Dear All, I tried a couple of fonts, but none of these fonts were able to display the Unicode 120000 (decimal). I supplied the two surrogate pairs D835 and DCC0. The JTextPane etc.. show a single box, so that I assume the code point is recognized. What is wrong? Bye P.S.: My browser (mozilla) easily shows the Mathematical Script Small K which corresponds to the code point.
[toc] | [next] | [standalone]
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Date | 2013-06-08 13:42 +0200 |
| Message-ID | <kov5bh$9n$1@news.albasani.net> |
| In reply to | #24325 |
Jan Burse schrieb: > I supplied the two surrogate pairs > D835 and DCC0. The JTextPane etc.. show > a single box, so that I assume the > code point is recognized. The white box is shown on Windows. On the Mac some chinese or so is shown. But both don't show Mathematical Script Small K.
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-06-08 10:31 -0400 |
| Message-ID | <kovetc$qg5$1@dont-email.me> |
| In reply to | #24326 |
On 06/08/2013 07:42 AM, Jan Burse wrote: > Jan Burse schrieb: >> I supplied the two surrogate pairs >> D835 and DCC0. The JTextPane etc.. show >> a single box, so that I assume the >> code point is recognized. > > The white box is shown on Windows. On the > Mac some chinese or so is shown. But both > don't show Mathematical Script Small K. > What's a 16 bit JTextPane? If you'll give a small demo code I'll try it on Debian Squeeze and Windows 7,8, several JDK versions available. Mathematical Script Small K shows up in gedit and a Mozilla browser here.
[toc] | [prev] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2013-06-08 20:35 +0200 |
| Message-ID | <4dintbl3c4dk$.1bumr4kw1jlkg$.dlg@40tude.net> |
| In reply to | #24328 |
On Sat, 08 Jun 2013 10:31:27 -0400, Jeff Higgins wrote: > What's a 16 bit JTextPane? I believe the topic is to be read as "a unicode symbol above 16 bit in a regular JTextPane". Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-06-08 18:17 -0400 |
| Message-ID | <kp0a7l$evp$1@dont-email.me> |
| In reply to | #24329 |
On 06/08/2013 02:35 PM, Joerg Meier wrote: > On Sat, 08 Jun 2013 10:31:27 -0400, Jeff Higgins wrote: > >> What's a 16 bit JTextPane? > > I believe the topic is to be read as "a unicode symbol above 16 bit in a > regular JTextPane". > Ah. That makes sense. Thanks.
[toc] | [prev] | [next] | [standalone]
| From | Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> |
|---|---|
| Date | 2013-06-08 23:12 -0500 |
| Message-ID | <kp0v35$2a4$1@dont-email.me> |
| In reply to | #24329 |
On 6/8/2013 1:35 PM, Joerg Meier wrote: > On Sat, 08 Jun 2013 10:31:27 -0400, Jeff Higgins wrote: > >> What's a 16 bit JTextPane? > > I believe the topic is to be read as "a unicode symbol above 16 bit in a > regular JTextPane". The proper terminology is "non-BMP character", such as what exists in my From header. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
[toc] | [prev] | [next] | [standalone]
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Date | 2013-06-09 00:15 +0200 |
| Message-ID | <kp0aeg$e29$1@news.albasani.net> |
| In reply to | #24328 |
Jeff Higgins schrieb:
> On 06/08/2013 07:42 AM, Jan Burse wrote:
>> Jan Burse schrieb:
>>> I supplied the two surrogate pairs
>>> D835 and DCC0. The JTextPane etc.. show
>>> a single box, so that I assume the
>>> code point is recognized.
>>
>> The white box is shown on Windows. On the
>> Mac some chinese or so is shown. But both
>> don't show Mathematical Script Small K.
>>
> What's a 16 bit JTextPane?
> If you'll give a small demo code I'll try it
> on Debian Squeeze and Windows 7,8, several JDK versions available.
> Mathematical Script Small K shows up in gedit and a Mozilla browser here.
[...]
JTextPane t = new JTextPane();
t.setText("\uD835\uDCC0");
[...]
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-06-08 18:20 -0400 |
| Message-ID | <kp0adi$fqs$1@dont-email.me> |
| In reply to | #24330 |
On 06/08/2013 06:15 PM, Jan Burse wrote:
> Jeff Higgins schrieb:
>> On 06/08/2013 07:42 AM, Jan Burse wrote:
>>> Jan Burse schrieb:
>>>> I supplied the two surrogate pairs
>>>> D835 and DCC0. The JTextPane etc.. show
>>>> a single box, so that I assume the
>>>> code point is recognized.
>>>
>>> The white box is shown on Windows. On the
>>> Mac some chinese or so is shown. But both
>>> don't show Mathematical Script Small K.
>>>
>> What's a 16 bit JTextPane?
>> If you'll give a small demo code I'll try it
>> on Debian Squeeze and Windows 7,8, several JDK versions available.
>> Mathematical Script Small K shows up in gedit and a Mozilla browser here.
>
> [...]
> JTextPane t = new JTextPane();
> t.setText("\uD835\uDCC0");
> [...]
Sorry, too much trouble for me to wrap into compilable block.
[toc] | [prev] | [next] | [standalone]
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Date | 2013-06-09 00:25 +0200 |
| Message-ID | <kp0b0l$f4u$1@news.albasani.net> |
| In reply to | #24332 |
Jeff Higgins schrieb:
>> [...]
>> JTextPane t = new JTextPane();
>> t.setText("\uD835\uDCC0");
>> [...]
> Sorry, too much trouble for me to wrap into compilable block.
http://docs.oracle.com/javase/tutorial/uiswing/examples/components/TextSamplerDemoProject/src/components/TextSamplerDemo.java
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-06-08 20:47 -0400 |
| Message-ID | <kp0j0h$k1f$1@dont-email.me> |
| In reply to | #24333 |
On 06/08/2013 06:25 PM, Jan Burse wrote:
> Jeff Higgins schrieb:
>>> [...]
>>> JTextPane t = new JTextPane();
>>> t.setText("\uD835\uDCC0");
>>> [...]
>> Sorry, too much trouble for me to wrap into compilable block.
>
> http://docs.oracle.com/javase/tutorial/uiswing/examples/components/TextSamplerDemoProject/src/components/TextSamplerDemo.java
>
>
Wow! Really?
import javax.swing.*;
public class SmallDemo {
private JFrame frame = new JFrame("A Small Demo");
private JTextPane textpane = new JTextPane();
public SmallDemo() {
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
textpane.setText("\uD835\uDCC0");
frame.add(textpane);
frame.pack();
frame.setVisible(true);
}
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
SmallDemo demo = new SmallDemo();
}
});
}
}
Works here. You're welcome.
[toc] | [prev] | [next] | [standalone]
| From | "Qu0ll" <Qu0llSixFour@gmail.com> |
|---|---|
| Date | 2013-06-09 11:42 +1000 |
| Message-ID | <WrKdnZwK9spbQC7MnZ2dnUVZ_vSdnZ2d@westnet.com.au> |
| In reply to | #24334 |
"Jeff Higgins" wrote in message news:kp0j0h$k1f$1@dont-email.me... > Works here. You're welcome. Not here. Same result as OP. Windows 7 64-bit with Java 7 Update 21 64-bit. -- And loving it, -Qu0ll (Rare, not extinct) _________________________________________________ Qu0llSixFour@gmail.com [Replace the "SixFour" with numbers to email me]
[toc] | [prev] | [next] | [standalone]
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Date | 2013-06-09 01:50 +0000 |
| Message-ID | <kp0n19$nme$2@dont-email.me> |
| In reply to | #24335 |
On Sun, 09 Jun 2013 11:42:23 +1000, Qu0ll wrote: > "Jeff Higgins" wrote in message news:kp0j0h$k1f$1@dont-email.me... > >> Works here. You're welcome. > > Not here. Same result as OP. > > Windows 7 64-bit with Java 7 Update 21 64-bit. Same here [little white square] running (Fedora 18 fully patched on Friday, PAE kernel, Java 1.6.0_45). -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-06-08 22:48 -0400 |
| Message-ID | <kp0q41$g4i$1@dont-email.me> |
| In reply to | #24336 |
On 06/08/2013 09:50 PM, Martin Gregorie wrote: > On Sun, 09 Jun 2013 11:42:23 +1000, Qu0ll wrote: > >> "Jeff Higgins" wrote in message news:kp0j0h$k1f$1@dont-email.me... >> >>> Works here. You're welcome. >> >> Not here. Same result as OP. >> >> Windows 7 64-bit with Java 7 Update 21 64-bit. > > Same here [little white square] running (Fedora 18 fully patched on > Friday, PAE kernel, Java 1.6.0_45). > > Hmm. Shrugs. Java 1.7.0_21, Debian 6.0.7 works here [Mathematical Script Small K].
[toc] | [prev] | [next] | [standalone]
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Date | 2013-06-09 00:16 -0400 |
| Message-ID | <kp0v8m$3iv$1@dont-email.me> |
| In reply to | #24337 |
On 06/08/2013 10:48 PM, Jeff Higgins wrote:
> On 06/08/2013 09:50 PM, Martin Gregorie wrote:
>> On Sun, 09 Jun 2013 11:42:23 +1000, Qu0ll wrote:
>>
>>> "Jeff Higgins" wrote in message news:kp0j0h$k1f$1@dont-email.me...
>>>
>>>> Works here. You're welcome.
>>>
>>> Not here. Same result as OP.
>>>
>>> Windows 7 64-bit with Java 7 Update 21 64-bit.
>>
>> Same here [little white square] running (Fedora 18 fully patched on
>> Friday, PAE kernel, Java 1.6.0_45).
>>
>>
> Hmm. Shrugs. Java 1.7.0_21, Debian 6.0.7 works here [Mathematical Script
> Small K].
Just to be sure I was seeing what I was looking at, I've added:
...
textpane.setFont(new Font("Dialog", Font.PLAIN, 60));
textpane.setText("\uD835\uDCC0\uD835\uDC9C\uD835\uDC9E\uD835\uDC9F");
...
Yep. a Mathematical Script kACD.
Here is a screenshot:
<http://picpaste.com/Screenshot-A_Small_Demo-LrwiLMJy.png>
[toc] | [prev] | [next] | [standalone]
| From | markspace <markspace@nospam.nospam> |
|---|---|
| Date | 2013-06-09 00:23 -0700 |
| Message-ID | <kp1a7t$9bm$1@dont-email.me> |
| In reply to | #24340 |
On 6/8/2013 9:16 PM, Jeff Higgins wrote:
>
> textpane.setFont(new Font("Dialog", Font.PLAIN, 60));
> textpane.setText("\uD835\uDCC0\uD835\uDC9C\uD835\uDC9E\uD835\uDC9F")
This ends up printing Cambria Math for the font name on my system.
class SmallDemo
{
private JFrame frame = new JFrame( "A Small Demo" );
private JTextPane textpane = new JTextPane();
private static final String TEST =
"\uD835\uDCC0\uD835\uDC9C\uD835\uDC9E\uD835\uDC9F";
public SmallDemo()
{
try {
frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
Font[] allFonts =
GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
Font usingFont = null;
for( Font font : allFonts ) {
if( font.canDisplay( 120000 ) ) {
usingFont = new Font( font.getFontName(), Font.PLAIN, 30 );
textpane.setFont( usingFont );
break;
}
}
textpane.setText( TEST );
StyledDocument doc = textpane.getStyledDocument();
doc.insertString( doc.getLength(), usingFont.getFontName(), null);
frame.add( textpane );
frame.pack();
frame.setVisible( true );
} catch( BadLocationException ex ) {
Logger.getLogger( SmallDemo.class.getName() ).log(
Level.SEVERE, null,
ex );
}
}
public static void main( String[] args )
{
SwingUtilities.invokeLater( new Runnable()
{
@Override
public void run()
{
SmallDemo demo = new SmallDemo();
}
} );
}
}
[toc] | [prev] | [next] | [standalone]
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Date | 2013-06-09 09:35 +0200 |
| Message-ID | <kp1b7c$466$1@news.albasani.net> |
| In reply to | #24341 |
Thank you very much.
This is very interesting.
Didn't use canDisplay() so far.
markspace schrieb:
> On 6/8/2013 9:16 PM, Jeff Higgins wrote:
>>
>> textpane.setFont(new Font("Dialog", Font.PLAIN, 60));
>> textpane.setText("\uD835\uDCC0\uD835\uDC9C\uD835\uDC9E\uD835\uDC9F")
>
>
> This ends up printing Cambria Math for the font name on my system.
>
>
> class SmallDemo
> {
>
> private JFrame frame = new JFrame( "A Small Demo" );
> private JTextPane textpane = new JTextPane();
> private static final String TEST =
> "\uD835\uDCC0\uD835\uDC9C\uD835\uDC9E\uD835\uDC9F";
>
> public SmallDemo()
> {
> try {
> frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
> Font[] allFonts =
> GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
> Font usingFont = null;
> for( Font font : allFonts ) {
> if( font.canDisplay( 120000 ) ) {
> usingFont = new Font( font.getFontName(), Font.PLAIN, 30 );
> textpane.setFont( usingFont );
> break;
> }
> }
> textpane.setText( TEST );
> StyledDocument doc = textpane.getStyledDocument();
> doc.insertString( doc.getLength(), usingFont.getFontName(),
> null);
> frame.add( textpane );
> frame.pack();
> frame.setVisible( true );
> } catch( BadLocationException ex ) {
> Logger.getLogger( SmallDemo.class.getName() ).log(
> Level.SEVERE, null,
> ex );
> }
> }
>
> public static void main( String[] args )
> {
> SwingUtilities.invokeLater( new Runnable()
> {
> @Override
> public void run()
> {
> SmallDemo demo = new SmallDemo();
> }
> } );
> }
> }
>
[toc] | [prev] | [next] | [standalone]
| From | Jan Burse <janburse@fastmail.fm> |
|---|---|
| Date | 2013-06-09 09:51 +0200 |
| Message-ID | <kp1c5e$66n$1@news.albasani.net> |
| In reply to | #24341 |
Doesn't give something useful on Mac.
I get for (note the not before the canDisplay()):
public static void main(String[] args) {
Font[] allFonts =
GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
for (int i = 0; i < allFonts.length; i++) {
Font font = allFonts[i];
if (!font.canDisplay(120000))
System.out.println("font=" + font.getFontName());
}
}
The following list:
font=Lucida Bright Demibold
font=Lucida Bright Demibold Italic
font=Lucida Bright Italic
font=Lucida Bright Regular
font=Lucida Sans Demibold
font=Lucida Sans Regular
font=Lucida Sans Typewriter Bold
font=Lucida Sans Typewriter Regular
But every font not on the above list, does erroreously
display some chinese character instead of the math symbol.
The fonts on the above list, on the other hand seem
to show a white box on the Mac.
Bye
P.S.: I am using 1.7.0_15. Let me try a newer version.
markspace schrieb:
> On 6/8/2013 9:16 PM, Jeff Higgins wrote:
>>
>> textpane.setFont(new Font("Dialog", Font.PLAIN, 60));
>> textpane.setText("\uD835\uDCC0\uD835\uDC9C\uD835\uDC9E\uD835\uDC9F")
>
>
> This ends up printing Cambria Math for the font name on my system.
>
>
> class SmallDemo
> {
>
> private JFrame frame = new JFrame( "A Small Demo" );
> private JTextPane textpane = new JTextPane();
> private static final String TEST =
> "\uD835\uDCC0\uD835\uDC9C\uD835\uDC9E\uD835\uDC9F";
>
> public SmallDemo()
> {
> try {
> frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
> Font[] allFonts =
> GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
> Font usingFont = null;
> for( Font font : allFonts ) {
> if( font.canDisplay( 120000 ) ) {
> usingFont = new Font( font.getFontName(), Font.PLAIN, 30 );
> textpane.setFont( usingFont );
> break;
> }
> }
> textpane.setText( TEST );
> StyledDocument doc = textpane.getStyledDocument();
> doc.insertString( doc.getLength(), usingFont.getFontName(),
> null);
> frame.add( textpane );
> frame.pack();
> frame.setVisible( true );
> } catch( BadLocationException ex ) {
> Logger.getLogger( SmallDemo.class.getName() ).log(
> Level.SEVERE, null,
> ex );
> }
> }
>
> public static void main( String[] args )
> {
> SwingUtilities.invokeLater( new Runnable()
> {
> @Override
> public void run()
> {
> SmallDemo demo = new SmallDemo();
> }
> } );
> }
> }
>
[toc] | [prev] | [next] | [standalone]
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Date | 2013-06-09 13:05 +0000 |
| Message-ID | <kp1uib$u38$1@dont-email.me> |
| In reply to | #24341 |
On Sun, 09 Jun 2013 00:23:01 -0700, markspace wrote: Your addition makes the demo work here (same software and patch state as I used last time). -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
[toc] | [prev] | [next] | [standalone]
| From | Stanimir Stamenkov <s7an10@netscape.net> |
|---|---|
| Date | 2013-06-09 17:37 +0300 |
| Message-ID | <kp23mm$1uk$1@dont-email.me> |
| In reply to | #24335 |
Sun, 9 Jun 2013 11:42:23 +1000, /Qu0ll/:
> "Jeff Higgins" wrote in message news:kp0j0h$k1f$1@dont-email.me...
>
>> textpane.setText("\uD835\uDCC0");
>> [...]
>> Works here. You're welcome.
>
> 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.
--
Stanimir
[toc] | [prev] | [next] | [standalone]
| From | Stanimir Stamenkov <s7an10@netscape.net> |
|---|---|
| Date | 2013-06-09 17:55 +0300 |
| Message-ID | <kp24oo$7oo$1@dont-email.me> |
| In reply to | #24345 |
Sun, 09 Jun 2013 17:37:42 +0300, /Stanimir Stamenkov/:
> Sun, 9 Jun 2013 11:42:23 +1000, /Qu0ll/:
>> "Jeff Higgins" wrote in message news:kp0j0h$k1f$1@dont-email.me...
>>
>>> textpane.setText("\uD835\uDCC0");
>>> [...]
>>> Works here. You're welcome.
>>
>> 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
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.java.programmer
csiph-web