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.
Summary: | I18N: Underline can not be rendered properly when editor font is customized | ||
---|---|---|---|
Product: | editor | Reporter: | Masaki Katakai <masaki> |
Component: | Painting & Printing | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jf4jbug, joshis, ulfzibis |
Priority: | P3 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
screenshot: underline can be rendered properly
screenshot: underline can NOT be rendered after font is changed screenshot: probelm during composing Japanese characters, underline is used for only 1st character but all 4 characters should be with underline sample project (NB6 based, UTF-8 encoding) screencast |
Description
Masaki Katakai
2007-09-04 10:45:28 UTC
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. |