From 8cdef048d9d43fe3ce2e99353765d56224140585 Mon Sep 17 00:00:00 2001 From: "pkw%us.ibm.com" Date: Fri, 4 Mar 2005 19:28:11 +0000 Subject: [PATCH] Bug 284802 - AIX build failure after Bug 234182 checkin. r=tor@acm.org, sr=darin@meer.net --- gfx/src/ps/nsFontMetricsPS.cpp | 2 ++ gfx/src/ps/nsFontMetricsPS.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gfx/src/ps/nsFontMetricsPS.cpp b/gfx/src/ps/nsFontMetricsPS.cpp index 090d070ac81..ffd5bcee0fc 100644 --- a/gfx/src/ps/nsFontMetricsPS.cpp +++ b/gfx/src/ps/nsFontMetricsPS.cpp @@ -58,6 +58,8 @@ #endif #include "nsAutoBuffer.h" +const PRUint16 nsPSFontGenerator::kSubFontSize = 255; + extern nsIAtom *gUsersLocale; #define NS_IS_BOLD(weight) ((weight) > 400 ? 1 : 0) diff --git a/gfx/src/ps/nsFontMetricsPS.h b/gfx/src/ps/nsFontMetricsPS.h index 0c84cec3a41..49d38e2042d 100644 --- a/gfx/src/ps/nsFontMetricsPS.h +++ b/gfx/src/ps/nsFontMetricsPS.h @@ -458,7 +458,7 @@ public: nsString *GetSubset(); // 256 (PS type 1 encoding vector size) - 1 (1 is for mandatory /.notdef) - const static PRUint16 kSubFontSize = 255; + const static PRUint16 kSubFontSize; protected: // XXX To support non-BMP characters, we may have to use