Hello all,<br><br>I fellback to 1.5.07-0ubuntu1 now.<br>I did some test on this. And it turned out to be a font problem.<br><br>I tried to copy the Chinese fonts ("/usr/share/fonts/truetype/arphic/*.ttf") to<br>the font folder ("/usr/lib/jvm/java-
1.5.0-sun/jre/lib/fonts") of java, the same<br>"Broken java implementation"problem appears.<br><br>I then used <a href="http://www.study-area.org/apt/firefly-font/fireflysung-1.3.0.tar.gz">another font</a> to test. I copied the
fireflysun.ttf to font folder of <br>java, then I can use this fireflysun font normally!<br><br>Is there anything wrong with arphic fonts?<br>Or is it a configuration problem?<br><br>Koala Yeung<br><br><div><span class="gmail_quote">
On 8/10/06, <b class="gmail_sendername">Shu Hung (Koala)</b> <<a href="mailto:koalay@gmail.com">koalay@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hello,<br><br>I'm using Dapper. Since there is font problem (<a href="http://launchpad.net/distros/ubuntu/+source/sun-java5/+bug/47045" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Bug #47045
</a>), I tried to install sun-java5 (1.5.07-0ubuntu1)<br>for Edgy on my Dapper.
<br><br>I edited source list to add multiverse respo of edgy, apt-get update and then install 1.5.07-0ubuntu1.<br>I then run my java application (jEdit) on it. It appears to be ok. But when I try to select font in it,<br>
the font selection returns me only "Broken Java implementation" with on fonts name.<br><br>I then checked the log of jedit. Here is the complete error:<br><br><blockquote>[error] FontSelectorDialog: Broken Java implementation!
<br>[error] FontSelectorDialog: java.lang.IllegalArgumentException<br>[error] FontSelectorDialog: at java.nio.Buffer.position(Buffer.java:218)<br>[error] FontSelectorDialog: at sun.font.TrueTypeFont.lookupName(TrueTypeFont.ja
va:818)<br>[error] FontSelectorDialog: at sun.font.TrueTypeFont.getFamilyName(TrueTypeFont .java:884)<br>[error] FontSelectorDialog: at sun.java2d.SunGraphicsEnvironment.getAvailableFo ntFamilyNames(SunGraphicsEnvironment.java
:476)<br>[error] FontSelectorDialog: at sun.java2d.SunGraphicsEnvironment.getAvailableFo ntFamilyNames(SunGraphicsEnvironment.java:494)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.gui.FontSelectorDialog.getFontL
ist(
FontSelector.java:371)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.gui.FontSelectorDialog.init(Fon tSelector.java:271)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.gui.FontSelectorDialog.<init>(F ontSelector.java
:198)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.gui.FontSelector$ActionHandler. actionPerformed(FontSelector.java:152)<br>[error] FontSelectorDialog: at javax.swing.AbstractButton.fireActionPerformed(A bstractButton.java
:1849)<br>[error] FontSelectorDialog: at javax.swing.AbstractButton$Handler.actionPerform ed(AbstractButton.java:2169)<br>[error] FontSelectorDialog: at javax.swing.DefaultButtonModel.fireActionPerform ed(DefaultButtonModel.java
:420)<br>[error] FontSelectorDialog: at javax.swing.DefaultButtonModel.setPressed(Defaul tButtonModel.java:258)<br>[error] FontSelectorDialog: at javax.swing.plaf.basic.BasicButtonListener.mouse Released(BasicButtonListener.java
:234)<br>[error] FontSelectorDialog: at java.awt.Component.processMouseEvent(Component.j ava:5488)<br>[error] FontSelectorDialog: at javax.swing.JComponent.processMouseEvent(JCompon ent.java:3126)<br>[error] FontSelectorDialog: at
java.awt.Component.processEvent(Component.java:5 253)<br>[error] FontSelectorDialog: at java.awt.Container.processEvent(Container.java:1 966)<br>[error] FontSelectorDialog: at java.awt.Component.dispatchEventImpl(Component.j
ava:3955)<br>[error] FontSelectorDialog: at java.awt.Container.dispatchEventImpl(Container.j ava:2024)<br>[error] FontSelectorDialog: at java.awt.Component.dispatchEvent(Component.java: 3803)<br>[error] FontSelectorDialog: at
java.awt.LightweightDispatcher.retargetMouseEven t(Container.java:4212)<br>[error] FontSelectorDialog: at java.awt.LightweightDispatcher.processMouseEvent (Container.java:3892)<br>[error] FontSelectorDialog: at java.awt.LightweightDispatcher.dispatchEvent
(Con tainer.java:3822)<br>[error] FontSelectorDialog: at java.awt.Container.dispatchEventImpl(Container.j ava:2010)<br>[error] FontSelectorDialog: at java.awt.Window.dispatchEventImpl(Window.java:17 74)<br>[error] FontSelectorDialog: at
java.awt.Component.dispatchEvent(Component.java: 3803)<br>[error] FontSelectorDialog: at java.awt.EventQueue.dispatchEvent(EventQueue.jav a:463)<br>[error] FontSelectorDialog: at java.awt.EventDispatchThread.pumpOneEventForHier
archy(EventDispatchThread.java:242)<br>[error] FontSelectorDialog: at java.awt.EventDispatchThread.pumpEventsForHierar chy(EventDispatchThread.java:163)<br>[error] FontSelectorDialog: at java.awt.EventDispatchThread.pumpEventsForHierar
chy(EventDispatchThread.java:153)<br>[error] FontSelectorDialog: at java.awt.Dialog$1.run(Dialog.java:517)<br>[error] FontSelectorDialog: at java.awt.Dialog$2.run(Dialog.java:545)<br>[error] FontSelectorDialog: at java.security.AccessController.doPrivileged
(Nati ve Method)<br>[error] FontSelectorDialog: at java.awt.Dialog.show(Dialog.java:543)<br>[error] FontSelectorDialog: at java.awt.Component.show(Component.java:1300)<br>[error] FontSelectorDialog: at java.awt.Component.setVisible
(Component.java:125 3)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.gui.OptionsDialog.init(OptionsD ialog.java:349)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.gui.OptionsDialog.<init>(Option sDialog.java
:50)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.options.GlobalOptions.<init>(Gl obalOptions.java:39)<br>[error] FontSelectorDialog: at sun.reflect.NativeConstructorAccessorImpl.newIns tance0(Native Method)
<br>[error] FontSelectorDialog: at sun.reflect.NativeConstructorAccessorImpl.newIns tance(NativeConstructorAccessorImpl.java:39)<br>[error] FontSelectorDialog: at <a href="http://sun.reflect.DelegatingConstructorAccessorImpl.ne" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
sun.reflect.DelegatingConstructorAccessorImpl.ne</a> wInstance(DelegatingConstructorAccessorImpl.java:27)<br>[error] FontSelectorDialog: at java.lang.reflect.Constructor.newInstance(Constr uctor.java:494)<br>[error] FontSelectorDialog: at
bsh.Reflect.constructObject(Reflect.java:668)<br>[error] FontSelectorDialog: at bsh.BSHAllocationExpression.constructObject(BSHA llocationExpression.java:123)<br>[error] FontSelectorDialog: at bsh.BSHAllocationExpression.objectAllocation
(BSH AllocationExpression.java:114)<br>[error] FontSelectorDialog: at bsh.BSHAllocationExpression.eval(BSHAllocationEx pression.java:62)<br>[error] FontSelectorDialog: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpressi
on.java:102)<br>[error] FontSelectorDialog: at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpressi on.java:47)<br>[error] FontSelectorDialog: at bsh.BSHBlock.evalBlock(BSHBlock.java:130)<br>[error] FontSelectorDialog: at
bsh.BSHBlock.eval(BSHBlock.java:80)<br>[error] FontSelectorDialog: at bsh.BshMethod.invokeImpl(BshMethod.java:349)<br>[error] FontSelectorDialog: at bsh.BshMethod.invoke(BshMethod.java:246)<br>[error] FontSelectorDialog: at
bsh.BshMethod.invoke(BshMethod.java:171)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanSh ell.java:523)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShel
lAction.java:76)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.gui.InputHandler.invokeAction(I nputHandler.java:229)<br>[error] FontSelectorDialog: at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java :2910)<br>[error] FontSelectorDialog: at
org.gjt.sp.jedit.EditAction$Wrapper.actionPerfor med(EditAction.java:216)<br>[error] FontSelectorDialog: at javax.swing.AbstractButton.fireActionPerformed(A bstractButton.java:1849)<br>[error] FontSelectorDialog: at javax.swing.AbstractButton$Handler.actionPerform
ed(AbstractButton.java:2169)<br>[error] FontSelectorDialog: at javax.swing.DefaultButtonModel.fireActionPerform ed(DefaultButtonModel.java:420)<br>[error] FontSelectorDialog: at javax.swing.DefaultButtonModel.setPressed
(Defaul tButtonModel.java:258)<br>[error] FontSelectorDialog: at javax.swing.AbstractButton.doClick(AbstractButto n.java:302)<br>[error] FontSelectorDialog: at javax.swing.plaf.basic.BasicMenuItemUI.doClick(B asicMenuItemUI.java
:1000)<br>[error] FontSelectorDialog: at javax.swing.plaf.basic.BasicPopupMenuUI$Actions. doReturn(BasicPopupMenuUI.java:441)<br>[error] FontSelectorDialog: at javax.swing.plaf.basic.BasicPopupMenuUI$Actions. actionPerformed(
BasicPopupMenuUI.java:415)<br>[error] FontSelectorDialog: at javax.swing.SwingUtilities.notifyAction(SwingUti lities.java:1571)<br>[error] FontSelectorDialog: at javax.swing.JComponent.processKeyBinding(JCompon ent.java
:2763)<br>[error] FontSelectorDialog: at javax.swing.KeyboardManager.fireBinding(Keyboard Manager.java:255)<br>[error] FontSelectorDialog: at javax.swing.KeyboardManager.fireKeyboardAction(K eyboardManager.java:204)<br>
[error] FontSelectorDialog: at javax.swing.JComponent.processKeyBindingsForAllC omponents(JComponent.java:2840)<br>[error] FontSelectorDialog: at javax.swing.JComponent.processKeyBindings(JCompo nent.java:2832)<br>[error] FontSelectorDialog: at
javax.swing.JComponent.processKeyEvent(JComponen t.java:2726)<br>[error] FontSelectorDialog: at java.awt.Component.processEvent(Component.java:5 265)<br>[error] FontSelectorDialog: at java.awt.Container.processEvent(Container.java
:1 966)<br>[error] FontSelectorDialog: at java.awt.Component.dispatchEventImpl(Component.j ava:3955)<br>[error] FontSelectorDialog: at java.awt.Container.dispatchEventImpl(Container.j ava:2024)<br>[error] FontSelectorDialog: at
java.awt.Component.dispatchEvent(Component.java: 3803)<br>[error] FontSelectorDialog: at java.awt.KeyboardFocusManager.redispatchEvent(Ke yboardFocusManager.java:1810)<br>[error] FontSelectorDialog: at java.awt.DefaultKeyboardFocusManager.dispatchKey
Event(DefaultKeyboardFocusManager.java:672)<br>[error] FontSelectorDialog: at java.awt.DefaultKeyboardFocusManager.preDispatch KeyEvent(DefaultKeyboardFocusManager.java:920)<br>[error] FontSelectorDialog: at java.awt.DefaultKeyboardFocusManager.typeAheadAs
sertions(DefaultKeyboardFocusManager.java:798)<br>[error] FontSelectorDialog: at java.awt.DefaultKeyboardFocusManager.dispatchEve nt(DefaultKeyboardFocusManager.java:636)<br>[error] FontSelectorDialog: at java.awt.Component.dispatchEventImpl
(Component.j ava:3841)<br>[error] FontSelectorDialog: at java.awt.Container.dispatchEventImpl(Container.j ava:2024)<br>[error] FontSelectorDialog: at java.awt.Window.dispatchEventImpl(Window.java:17 74)<br>[error] FontSelectorDialog: at
java.awt.Component.dispatchEvent(Component.java: 3803)<br>[error] FontSelectorDialog: at java.awt.EventQueue.dispatchEvent(EventQueue.jav a:463)<br>[error] FontSelectorDialog: at java.awt.EventDispatchThread.pumpOneEventForHier
archy(EventDispatchThread.java:242)<br>[error] FontSelectorDialog: at java.awt.EventDispatchThread.pumpEventsForHierar chy(EventDispatchThread.java:163)<br>[error] FontSelectorDialog: at java.awt.EventDispatchThread.pumpEvents
(EventDis patchThread.java:157)<br>[error] FontSelectorDialog: at java.awt.EventDispatchThread.pumpEvents(EventDis patchThread.java:149)<br>[error] FontSelectorDialog: at java.awt.EventDispatchThread.run(EventDispatchTh
read.java:110)<br></blockquote><br><br>Please help!!!<br><br>Thanks,<br>Koala Yeung<br>
</div></blockquote></div><br>