From 7ac01e2e4dff4d1c5ff4d2ea0d3fc462f4bee52c Mon Sep 17 00:00:00 2001 From: "sergei_d%fi.tartu.ee" Date: Sat, 29 Apr 2006 12:11:25 +0000 Subject: [PATCH] [BeOS]Bug 335076. Fixing rendering of point-sized test. p=sergei_d, r=thesuckiestemail@yahoo.se. BeOS-only git-svn-id: svn://10.0.0.236/trunk@195712 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/beos/nsDeviceContextBeOS.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/gfx/src/beos/nsDeviceContextBeOS.cpp b/mozilla/gfx/src/beos/nsDeviceContextBeOS.cpp index c2e1ecdceee..ff69ae4899d 100644 --- a/mozilla/gfx/src/beos/nsDeviceContextBeOS.cpp +++ b/mozilla/gfx/src/beos/nsDeviceContextBeOS.cpp @@ -21,6 +21,7 @@ * * Contributor(s): * Pierre Phaneuf + * Sergei Dolgov * * Alternatively, the contents of this file may be used under the terms of * either of the GNU General Public License Version 2 or later (the "GPL"), @@ -132,8 +133,8 @@ NS_IMETHODIMP nsDeviceContextBeOS::Init(nsNativeWidget aNativeWidget) } // Set OSVal to what the operating system thinks the logical resolution is. - // BeOS lacks monitor info, so we use estimation - PRInt32 OSVal = int(mWidthFloat*72./800.); + // BeOS lacks monitor info, so we use fixed value for now + PRInt32 OSVal = 85; if (prefVal > 0) { // If there's a valid pref value for the logical resolution,