dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/System.Drawing FontFamily.cs,1.2,1.3


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/System.Drawing FontFamily.cs,1.2,1.3
Date: Sun, 30 Nov 2003 05:41:33 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing
In directory subversions:/tmp/cvs-serv14568/System.Drawing

Modified Files:
        FontFamily.cs 
Log Message:


The default font is named "Microsoft Sans Serif", not "Arial"; remove the
dpi adjustments on "SizeInPoints" because they weren't supposed to be
there; normalize font sizes to the nearest supported X size to prevent
horrid looking stretched bitmap fonts.


Index: FontFamily.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Drawing/FontFamily.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** FontFamily.cs       9 Jun 2003 21:25:37 -0000       1.2
--- FontFamily.cs       30 Nov 2003 05:41:31 -0000      1.3
***************
*** 54,58 ****
                                        case GenericFontFamilies.SansSerif:
                                        {
!                                               this.name = "Arial";
                                        }
                                        break;
--- 54,58 ----
                                        case GenericFontFamilies.SansSerif:
                                        {
!                                               this.name = "Microsoft Sans 
Serif";
                                        }
                                        break;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]