Reputation: 39823
I have a Mono application with a plain-old Windows Forms form that has a single Label control in the center. On Windows, both in Mono and in Microsoft.Net, the application looks fine:
However, on Linux, the text is garbled:
I'm not sure what could be causing this issue, so any help would be appreciated. The font is Verdana, and I've checked the X11 font directories to ensure Verdana.ttf is in there.
Edit: I just became aware of the following error on standard error:
Upvotes: 0
Views: 732
Reputation: 39823
The answer was in stderr! I needed to generate that pango modules file.
Upvotes: 0
Reputation: 38528
The square glyphs suggest that the proper glyphs aren't being found in the font.
Make sure that your Verdana.ttf is 1) complete and 2) not corrupted.
Upvotes: 1