[Mono-dev] MS Sans Serif

Neale Ferguson NealeFerguson at verizon.net
Fri May 16 22:07:29 UTC 2014


Yep, just checked src/font.c and it's hardcoded there.  Making a local mod so I can run tests.

Neale

On May 16, 2014, at 6:04 PM, Miguel de Icaza <miguel at xamarin.com> wrote:

> This looks hardcoded, and I do not know of a way of configuring it, other than patching libgdiplus:
> 
> This is the method:
> 
> font.c:GdipGetGenericFontFamilySansSerif (GpFontFamily **nativeFamily)
> 
> 
> 
> On Fri, May 16, 2014 at 5:49 PM, Neale Ferguson <NealeFerguson at verizon.net> wrote:
> I'm running the test suite for mono on System z using my Mac as the X-server. When it gets to the forms tests etc. it calls gdi+ to return a generic sans serif font. It returns MS Sans Serif which doesn't exist on the Mac. Am I able to influence gdi+ so that it returns Microsoft Sans Serif or some other font that does exist on the Mac?
> 
> Neale
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140516/14d55e74/attachment.html>


More information about the Mono-devel-list mailing list