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 on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
On MacOS, MonoDevelop can't render characters that aren't included in the default fonts, because the Pango font rendering library doesn't support font fallbacks.
Upstream bugs are https://bugzilla.gnome.org/show_bug.cgi?id=608929 and https://bugzilla.gnome.org/show_bug.cgi?id=647969
This can be worked around by manually configuring a font that contains the desired characters.
I will be working on font fallback support in Pango's CoreText backend. I will be posting comments to bug 647969 as referenced above, but will keep you updated in this bug as well.
Created attachment 598 [details]
I am making progress. As you can see in the image, Arabic, Tibetan and Japanese seem to be rendering fine. I've also seen Chinese and Korean render correctly.
Rendering speed with the patch is currently very slow, because I have not yet implemented (or worked around for testing purposes) the necessary caching. That's what I will do next, after which the patch should be ready for a first round of testing.
Go Kris! Go! (sorry, couldn't help but give a little cheer)
*** Bug 1440 has been marked as a duplicate of this bug. ***
I have uploaded a first version of the patch to https://bugzilla.gnome.org/show_bug.cgi?id=647969 now. Implementing the caching took a little longer than I expected, because I also cleaned up the code at the same time to bring it more in line with PangoFcFontmap.
The patch in the upstream bug has been updated to fix a crash when loading a non-available font family was requested.
I was wondering if any of the Xamarin team has had a chance yet to test this patch. If it helps I can set up a branch in the Pango upstream repository which can be used to create test builds. Some more testing would be really nice before I propose to merge this in the master branch upstream.
*** Bug 858 has been marked as a duplicate of this bug. ***
This is fixed in the Pango that was shipped in Mono 2.10.7 beta, however there were some other regressions and it was temporarily pulled. It should be released after those regressions have been fixed.