Underscore character not visible on text with some fractional font sizes
Submitted by Robert Marcano
Link to original bug (#773732)
Description
Created attachment 338847 Gedit screenshots
When setting up a text editor with a "Monospace" fractional font size of 10.2 (anything between 10.2 and 10.9 inclusive gives the same visual font dimensions), the underscore character is not visible.
This was first noticed when using Eclipse with GTK3, but testing with Gedit still present the problem. I think this is some kind of rounding error with ascent and descent values of the font.
In the case of Gedit, the underscore character is not visible, but after adding a point at the same line the underscore is show, after removing the point, the drawn underscore remain there even if you delete the all the line contents.
Writing a line of pure underscore characters, doesn't show them, after pressing enter to add a new line they appear, and another enter make them disappear.
Moving the cursor from one line to another make the underscores appear and disappear, See attached screenshots with cursor on different lines.