From 3cae9693d38d856d9b6349911457288d1474cccd Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Tue, 8 Jun 1999 21:13:06 +0000 Subject: [PATCH] change the fake lang string to null to improve performance --- gfx/src/mac/nsFontMetricsMac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/mac/nsFontMetricsMac.cpp b/gfx/src/mac/nsFontMetricsMac.cpp index c8271d7e3708..3f963efd7117 100644 --- a/gfx/src/mac/nsFontMetricsMac.cpp +++ b/gfx/src/mac/nsFontMetricsMac.cpp @@ -120,7 +120,7 @@ nsUnicodeFontMappingMac* nsFontMetricsMac :: GetUnicodeFontMapping() // we should pass the documentCharset from the nsIDocument level and // the lang attribute from the tag level to here. // XXX hard code to some value till peterl pass them down. - nsAutoString lang("de, zh_TW, ja, fr"); + nsAutoString lang(""); nsAutoString documentCharset("ISO-8859-1"); if(! mFontMapping) mFontMapping = nsUnicodeFontMappingMac::GetCachedInstance(mFont, mContext,documentCharset, lang);