- Update firefox-1.0-pango-cairo.patch to also fix xft usage in

mozilla/gfx/src/gtk/mozilla-decoder.cpp
This commit is contained in:
Kristian Høgsberg 2005-08-19 03:10:55 +00:00
parent 2c721d87ec
commit f3381bf1af
2 changed files with 25 additions and 1 deletions

View File

@ -130,3 +130,23 @@
mPangoContext = mLTRPangoContext;
// Make sure to set the base direction to LTR - if layout needs to
--- 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);

View File

@ -8,7 +8,7 @@ ExcludeArch: ppc64
Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird
Version: 1.0.6
Release: 4
Release: 5
Epoch: 0
URL: http://www.mozilla.org/projects/thunderbird/
License: MPL
@ -209,6 +209,10 @@ cd -
#===============================================================================
%changelog
* Thu Aug 18 2005 Kristian Høgsberg <krh@redhat.com> 0:1.0.6-5
- Update firefox-1.0-pango-cairo.patch to also fix xft usage in
mozilla/gfx/src/gtk/mozilla-decoder.cpp
* Sun Aug 14 2005 Christopher Aillon <caillon@redhat.com> 1.0.6-4
- Rebuild