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.
Windows XPSP2 Japanese NetBeans 6.0 200709021200 JDK1.6.0_02 On Japanese Windows, when I changed the editor font to "MS Gothic" 13 point, underline can not be rendered. I'll attach the test project and screenshots later. 1. Start NetBeans 2. Open the project of attachment 3. Open Java source on Editor 4. Press Ctrl key and move mouse cursor to the constructor The characters will be changed to blue color and drawn with blue underline. 5. Change "Default" font to "MS Gothic" on option window 6. Press Ctrl key and move mouse cursor to the constructor again The characters will be changed to blue color, but underline is not rendered. I'm seeing this problem when I'm using Japanese input method. Bug 14549 has been fixed then the text attributes of highlight and underline are now being used during the input for 6.0. I'm not sure if this is an I18N bug or not, but I put "I18N" keyword for now because it's happening during composing Japanese string.
Created attachment 48020 [details] screenshot: underline can be rendered properly
Created attachment 48021 [details] screenshot: underline can NOT be rendered after font is changed
Created attachment 48022 [details] screenshot: probelm during composing Japanese characters, underline is used for only 1st character but all 4 characters should be with underline
Created attachment 48023 [details] sample project (NB6 based, UTF-8 encoding)
Could you please try with different font size? It's probably some sort of a rendering problem, which could only affect some font sizes. Also, does underlining work in general, eg. when you try ctrl+mouse click on an identifier it should show a hyperlink? Does the hyperlink show properly? Thanks
Ah, never mind my last two questions. I got it from the other issue. Anyway, could you please try different font sizes? Thanks
Hi Vita, The bigger size (>14) is working. I can see underline.
Created attachment 48694 [details] screencast
Should be fixed now. Masaki, could you please test the fix. Thanx Checking in DrawGraphics.java; /cvs/editor/libsrc/org/netbeans/editor/DrawGraphics.java,v <-- DrawGraphics.java new revision: 1.31; previous revision: 1.30 done
Sure, I'll try.
Product Version: NetBeans IDE Dev (Build 200709200000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b06 System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb) Hi Vita, I reopened this bug report because I can not still see the underline on build 200709200000.
Ok, I'll have to check on Windows. Are hyperlinks broken even in non JP locales?
moving opened issues from TM <= 6.1 to TM=Dev
Hi, is this issue still reproducible on your configuration? With regards, Petr Dvorak.
Hi Petr, sorry for late. Yes, I'm seeing this issue on the latest trunk build. However it happens with very specific condition so I think the priority can be decreased.
tried on linux with different fonts with size 13, can't reproduce with 6.7m3, need to try on windows.
It also happened to me, see Bug 122663. Note: As I remember right, I never changed NetBeans default font, but I'm on Windows.
With the current view hierarchy and all the fixes (including yesterday's fixed issue 192035) this problem will hopefully no longer happen.