* Font.cs: implement OriginalFontName.
svn path=/trunk/mcs/; revision=138012
+2009-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * Font.cs: implement OriginalFontName.
+
2009-07-15 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Fix XVisualIDFromVisual to return an IntPtr
private IntPtr fontObject = IntPtr.Zero;
#if NET_2_0
private string systemFontName;
+ private string originalFontName;
#endif
private float _size;
private object olf;
#if ONLY_1_1
if (familyName == null)
throw new ArgumentNullException ("familyName");
+#endif
+#if NET_2_0
+ originalFontName = familyName;
#endif
FontFamily family;
// NOTE: If family name is null, empty or invalid,
return systemFontName;
}
}
+
+ [Browsable(false)]
+ public string OriginalFontName {
+ get {
+ return originalFontName;
+ }
+ }
#endif
private bool _underline;