Hi all!

This diff makes x11/libgdiplus use cairo instead of pango, which fixes
WinForms font rendering in lang/mono. 

The original bug report here: 
https://bugzilla.novell.com/show_bug.cgi?id=549882

I am looking for other people who use lang/mono to test if this breaks
anything else, also clue sticks? Better ways to fix this issue? 

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/libgdiplus/Makefile,v
retrieving revision 1.15
diff -N -u -p Makefile
--- Makefile    10 Oct 2012 16:43:18 -0000      1.15
+++ Makefile    4 Dec 2012 19:44:19 -0000
@@ -3,7 +3,7 @@
 COMMENT=       GDI+ comptible API
 
 DISTNAME=      libgdiplus-2.10
-REVISION=      0
+REVISION=      1
 
 CATEGORIES=    x11 devel
 
@@ -34,6 +34,7 @@ MODULES=      devel/gettext
 USE_LIBTOOL=   Yes
 
 LIB_DEPENDS=   devel/pango \
+               graphics/cairo \
                graphics/tiff \
                graphics/libexif \
                graphics/libungif
@@ -43,6 +44,6 @@ CONFIGURE_ENV=        LDFLAGS="-L${LOCALBASE}/lib" \
                CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include \
                -I${LOCALBASE}/include/libpng"
 CONFIGURE_ARGS=        ${CONFIGURE_SHARED} \
-               --with-pango
+               --with-cairo
 
 .include <bsd.port.mk>

Reply via email to