[Mono-list] FontFamily.Name returning ???????

Martin Hinks mhinks at gmail.com
Wed Jul 12 06:28:52 EDT 2006


In fact, it seems to have the problem on the following code as well:

System.Drawing.Font f = new System.Drawing.Font("arial", 16);

            Console.WriteLine(f.Name);
            Console.ReadKey();

            return;

This is happening on Mac OS X.

Is libgdiplus for mac less complete than on others?

Martin

On 7/12/06, Martin Hinks <mhinks at gmail.com> wrote:
> Hi all,
>
> I am reading in ttf font files into a privatefontcollection, but the
> FontFamily.Name property is returning entries such as ???????? instead
> of the name. The number of ?s is equal to the actual font name length
> - is it an encoding problem?
>
> Any idea how i can get the font name?
>
> Thanks,
>
> --
> Martin Hinks
> http://www.m-s-d.net
>


-- 
Martin Hinks
http://www.m-s-d.net


More information about the Mono-list mailing list