This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
It seems that the following code is not working for Japanese environment on Linux. editor.bookmarks/src/org/netbeans/modules/editor/bookmarks/ui/GotoLineOrBookmarkPanel.java : Font font = keyChooserLabel.getFont(); font = new Font(font.getName(), font.getStyle(), Math.max(1, Math.round(0.8f * font.getSize()))); keyChooserLabel.setFont(font); font.getName() returns "DejaVu Sans" and it causes garbled characters. Please see the screenshot. A community member kindly sent it to me. http://ow.ly/i/1zVvh If there is no strong reason to use smaller font here, please remove the code and use the same font. If smaller font needs to be used, I think deriveFont() should work. font = keyChooserLabel.getFont().deriveFont(Math.max(1,Math.round(0.8f * font.getSize()))); Please evaluate.
Thank you, I used your deriveFont idea. http://hg.netbeans.org/jet-main/rev/b24a0d216eab
Integrated into 'main-golden', will be available in build *201306100004* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/b24a0d216eab User: Milutin Kristofic <mkristofic@netbeans.org> Log: #226694 - I18N: footer strings garbled on "Go To Line or Bookmark" dialog