SOURCES: mozilla-firefox-nopangoxft.patch (NEW) - from http://peop...

paszczus paszczus at pld-linux.org
Thu Jan 12 21:57:44 CET 2006


Author: paszczus                     Date: Thu Jan 12 20:57:44 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- from http://people.redhat.com/blizzard/mozilla/bugs/317293/firefox-nopangoxft.patch

---- Files affected:
SOURCES:
   mozilla-firefox-nopangoxft.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mozilla-firefox-nopangoxft.patch
diff -u /dev/null SOURCES/mozilla-firefox-nopangoxft.patch:1.1
--- /dev/null	Thu Jan 12 21:57:44 2006
+++ SOURCES/mozilla-firefox-nopangoxft.patch	Thu Jan 12 21:57:38 2006
@@ -0,0 +1,20 @@
+--- mozilla/gfx/src/gtk/mozilla-decoder.cpp.noxft	2005-08-18 22:41:26.000000000 -0400
++++ mozilla/gfx/src/gtk/mozilla-decoder.cpp	2005-08-18 22:38:01.000000000 -0400
+@@ -40,7 +40,7 @@
+ #define PANGO_ENABLE_ENGINE
+ 
+ #include "mozilla-decoder.h"
+-#include <pango/pangoxft.h>
++#include <pango/pangocairo.h>
+ #include <pango/pangofc-fontmap.h>
+ #include <pango/pangofc-font.h>
+ #include <gdk/gdkx.h>
+@@ -208,7 +208,7 @@
+         }
+     }
+ 
+-    pango_fc_font_map_add_decoder_find_func(PANGO_FC_FONT_MAP(pango_xft_get_font_map(GDK_DISPLAY(),gdk_x11_get_default_screen())),
++    pango_fc_font_map_add_decoder_find_func(PANGO_FC_FONT_MAP(pango_cairo_font_map_get_default()),
+                                             mozilla_find_decoder,
+                                             NULL,
+                                             NULL);
================================================================


More information about the pld-cvs-commit mailing list