From a61d4851f0a5d8d56799fc8f8ca2f590645731ce Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Thu, 19 Jan 2006 04:17:10 +0000 Subject: [PATCH] Do what I meant to do before (and I should have noticed gcc's warnings). git-svn-id: svn://10.0.0.236/trunk@187816 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/thebes/nsSystemFontsGTK2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/gfx/src/thebes/nsSystemFontsGTK2.cpp b/mozilla/gfx/src/thebes/nsSystemFontsGTK2.cpp index e862288b2d3..130da40a68a 100644 --- a/mozilla/gfx/src/thebes/nsSystemFontsGTK2.cpp +++ b/mozilla/gfx/src/thebes/nsSystemFontsGTK2.cpp @@ -68,6 +68,8 @@ nsSystemFontsGTK2::nsSystemFontsGTK2(float aPixelsToTwips) NS_FONT_WEIGHT_NORMAL, NS_FONT_DECORATION_NONE, DEFAULT_TWIP_FONT_SIZE) { + InitPangoLib(); + /* * Much of the widget creation code here is similar to the code in * nsLookAndFeel::InitColors(). @@ -162,7 +164,7 @@ nsSystemFontsGTK2::GetSystemFontInfo(GtkWidget *aWidget, nsFont* aFont, // |size| is now either pixels or pango-points (not Mozilla-points!) - if (!pango_font_description_get_size_is_absolute(desc)) { + if (!MOZ_pango_font_description_get_size_is_absolute(desc)) { // |size| is in pango-points, so convert to pixels PRInt32 dpi = GetXftDPI(); if (dpi != 0) {