summaryrefslogtreecommitdiffstats
path: root/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc
diff options
context:
space:
mode:
Diffstat (limited to 'print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc')
-rw-r--r--print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc b/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc
new file mode 100644
index 000000000..b8b050cf7
--- /dev/null
+++ b/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc
@@ -0,0 +1,11 @@
+--- libgnomeprint/libgnomeprintmm/font.cc.orig Wed Dec 17 19:59:13 2003
++++ libgnomeprint/libgnomeprintmm/font.cc Wed Dec 17 19:59:29 2003
+@@ -180,7 +180,7 @@
+
+ Glib::RefPtr<Font> Font::find_closest(const Glib::ustring& family, FontWeight weight, bool italic, double size)
+ {
+- return Glib::wrap(gnome_font_find_closest_from_weight_slant((const guchar*)family.c_str(), static_cast<GnomeFontWeight>(weight), static_cast<int>(italic), size));
++ return Glib::wrap(gnome_font_find_closest_from_weight_slant((const guchar*)family.c_str(), (GnomeFontWeight)(weight), static_cast<int>(italic), size));
+ }
+
+ Glib::RefPtr<Pango::Font> Font::get_closest_pango_font(const Glib::RefPtr<Pango::FontMap>& map, double dpi) const