| Summary: | Eclipse text editors mess up the height of all lines if a single large character is discovered | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Stefan Xenos <sxenos> | ||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | daniel_megert, david_williams, eclipse.sprigogin, ericwill | ||||||
| Version: | 4.5 | Keywords: | triaged | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Stefan Xenos
I don't see it. I assume you mean character \u0CA0? On my system, it appears no larger that 'M' or '0'. And none of them increase line height -- that I can see. I am on Ubuntu Linux and got the Inconsolata font from their repository. Perhaps you could be more specific about your system? And where you got your Inconsolata font? Plus, you might attach some screen captures that demonstrates the effect, to make sure I am looking at the right thing. All that said, I am just looking because I was curious. I'm not sure much can be done to accommodate subtle details of a rasterized font. Guess it depends on how it was hinted, and that might depend on the exact version of the font you have? Or, perhaps you could demonstrate the effect happens on more than one monospaced font? Created attachment 258404 [details]
Screenshot demonstrating the bug
Created attachment 258405 [details]
Screenshot of the same file, without the line containing the problem character
About my system: I'm running the GTK2 version of Eclipse 4.5 on Ubuntu. Compare the two attached screenshots, and notice that the line spacing is larger in the text editor containing the problem character, for all lines. The text in comment 0 demonstrates the bug -- I reproduced it by copying-and-pasting the comment. Thanks for the screen shots. And, I still can't reproduce. Was sure to use a fresh Mars.1 install. Tried with GTK2 and 3 (if 3 works at all on my system?), Ubuntu 12.10 (but highly customized). My Inconsolata font version is 001.010.4 (precise) according to Synaptic. Have you tried other monospaced fonts? (I did, they all looked similar in term of line height). Do you have any form of "scaling" turned on? (I do not: 1.0 at system level). I'll move this over to SWT, perhaps they know more about what to ask. SWT, assuming this is your issue if there is an Eclipse issue at all? (i.e. you draw Styled Text, and I assume that's independent of anything the editors might set?) Thanks, Ping, is this still reproducible? Closing this ticket now as there has been no response in awhile. Please reopen it if you can reproduce the issue on GTK3.22/24 using SWT 4.10. |