* FontCollection.cs (Dispose): When on Linux/Unix, call
GdipDeletePrivateFontCollection to free up the font collection (even
though it's not private, we'd be leaking otherwise. Don't try this
with Microsoft's GDI+ on Win32, though.)
svn path=/trunk/mcs/; revision=58381
* gdipFunctions.cs:
- GdipGetFontCollectionFamilyList: No need for complicated
GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
- GdipDeletePrivateFontCollection: We need to pass a ref to the
structure. This was causing nasty crashes.
- GdipGetFamilyName: Switched to use StringBuilder instead of
manual marshalling
* FontFamily.cs: Simplified the refreshName method, less error-prone now
2006-03-23 Peter Dennis Bartok <[email protected]>
* FontCollection.cs (get_Families): Now letting the runtime do the
marshalling work for us. Easier to maintain and cleaner code.
* PrivateFontCollection.cs:
- AddFontFile: Fixed weird english in error message
- Dispose: Need to pass ref to the native object, we were crashing
badly
svn path=/trunk/mcs/; revision=58338
* ChangeLog: Created, contents from deleted 'changelog' file
* FontCollection.cs: Cleaned up marshalling and made 64bit safe
svn path=/trunk/mcs/; revision=56737
* Color.cs: take into account the name color in == and != operators
* Font.cs: Use Equals instead of == to compare the family name
* FontFamily.cs:
- Removes generic fontfamilies cache (done at libgdiplus level)
- Fixes Equals method
svn path=/trunk/mcs/; revision=42509
FontCollection.cs: Used CheckStatus() method
InstalledFontCollection.cs: Used CheckStatus() method
PrivateFontCollection.cs: Used CheckStatus() method
svn path=/trunk/mcs/; revision=22823
FontCollection.cs: Implemented few methods.
InstalledFontCollection.cs: Implemented few methods.
PrivateFontCollection.cs: Implemented few methods.
svn path=/trunk/mcs/; revision=22582