[Mono-list] Font problem in WinForms app
Robert Jordan
robertj at gmx.net
Sun Oct 22 11:01:47 EDT 2006
Marco Ridoni wrote:
> I'm trying to run a small SWF application and I have a (probably) stupid
> but nasty configuration problem: when my forms are displayed, text
> labels in buttons, checkboxes, etc., are rendered as weird glyphs
> (vertical bars, spaces, etc.). The text in groupboxes labels displays fine!
>
> I have another machine which runs this app fine, but since that has been
> updated and fine-tuned during the last couple of years, there's probably
> some configuration issue I can't reproduce on my new notebook. Both
> machines run Dapper 6.06 + mono 1.1.18 with the mscorefonts package.
>
> It seems that SWF can't find the font, but I also tried to manually set
> a font for a given button to no extent. MONO_LOG_LEVEL=debug shows no
> useful info.
>
> The code below will expose the problem on my machine
>
> b.Font = new Font ("Tahoma", 12);
Since Tahoma isn't free and not part mscorefonts, your new box probably
doesn't have it.
Robert
More information about the Mono-list
mailing list