summaryrefslogtreecommitdiff
path: root/firefox-2.0-pango-ligatures.patch
diff options
context:
space:
mode:
Diffstat (limited to 'firefox-2.0-pango-ligatures.patch')
-rw-r--r--firefox-2.0-pango-ligatures.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/firefox-2.0-pango-ligatures.patch b/firefox-2.0-pango-ligatures.patch
index c259488..cfd1da7 100644
--- a/firefox-2.0-pango-ligatures.patch
+++ b/firefox-2.0-pango-ligatures.patch
@@ -134,7 +134,7 @@
// Make sure to clamp the pixel size to something reasonable so we
// don't make the X server blow up.
nscoord screenPixels = gdk_screen_height();
- mPointSize = PR_MIN(screenPixels * FONT_MAX_FONT_SCALE, mPointSize);
+ mPointSize = PR_MIN((screenPixels - 1) * FONT_MAX_FONT_SCALE, mPointSize);
+#endif
// enumerate over the font names passed in
bgstack15