Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 11985 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
The current master builds of XS make the | and ' characters visible in the buffer. Also, the ! character is highlighted as a keyword.
the characters are _invisible_ of course :)
I think it's a problem in the gtk installation or some different thing in gtk. I can't repro that.
Does it still happen ? If so - can you provide a screenshot ?
Turns out the problem is with fonts. I've been using Ubuntu Mono for over a year with XS on Mac and, until recently, it worked fine. Switching to a different font mostly works. The characters are visible but there are rendering glitches (see http://www.screencast.com/t/lRid5qvN6Gb and note that the || pairs aren't rendered correctly - this screenshot was taken using Apple's Mendel font).
font not rendering correctly -> I assume a pango issue.
Can you clarify what the problem is here?
It looks to me like the pipes are being rendered 4 subpixels wide so you're getting a single column of red/blue subpixels on the side - but that's up to Apple's CoreText, and the font's hinting. How does Xcode render the same font?
The problem is that some chars are not displayed like | ... this is a bug.
btw. Ubuntu Mono font shows the issue.
But they *are* displayed in the screenshot...
Wrong font - see the #1 comment - that's the issue.
(In reply to comment #9)
> But they *are* displayed in the screenshot...
It shows a rendering glitch when I switched to a font different than Ubuntu Mono. With Ubuntu Mono the pipe characters (and in some contexts the apostrophe) are not visible at all. It's not a CoreText issue since everything worked fine till perhaps 2 weeks ago at which point I switched temporarily to Mono/master and after that the problems started. Switching back to Mono 3.0.9 I used before doesn't help, but switching to 2.10.x does. Thus Mike's suggestion it's a Pango issue.
Regarding XCode (and other apps - like plain Emacs or Aquamacs, Font Book) - the font works fine.
*** Bug 13449 has been marked as a duplicate of this bug. ***
I believe I've tracked this down to the following commit in MD: e3b27a3546be6dbbee98dff2da8f45ab427402e7
In particular, this line:
- cr.Translate (width / 2, height / 2);
+ cr.Translate (width / 2 + 1, height / 2 - 1);
If I revert back to that commit and change that line then the text rendering doesn't seem to be clipped.
The code has changed quite a bit since then though, and I haven't yet managed to trace this through the commits to find what to change in the current source. Will investigate this further in the morning.
Do we have any resolution for this bug?
It's not resolved yet, but we did change the default font so that the first use experience isn't affected by this bug.