From 53a4392d886188204e31c02f7d3a03852d2467f7 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sun, 8 Sep 2002 19:01:48 +0000 Subject: [PATCH] Fix sans-serif italics printing on Unix. Bug 135408, patch by rods@netscape.com, r=drbrain-bugzilla@segment7.net, sr=bzbarsky, a=dbaron --- gfx/src/ps/nsAFMObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/ps/nsAFMObject.cpp b/gfx/src/ps/nsAFMObject.cpp index c05e05057c42..9330611de22e 100644 --- a/gfx/src/ps/nsAFMObject.cpp +++ b/gfx/src/ps/nsAFMObject.cpp @@ -89,7 +89,7 @@ DefFonts gSubstituteFonts[] = {"Helvetica","Helvetica",400,0,&HelveticaAFM,AFMHelveticaChars,-1}, {"Helvetica-Bold","Helvetica",700,0,&Helvetica_BoldAFM,AFMHelvetica_BoldChars,-1}, {"Helvetica-BoldOblique","Helvetica",700,2,&Helvetica_BoldObliqueAFM,AFMHelvetica_BoldObliqueChars,-1}, - {"Helvetica_Oblique","Helvetica",400,2,&Helvetica_ObliqueAFM,AFMHelvetica_ObliqueChars,-1}, + {"Helvetica-Oblique","Helvetica",400,2,&Helvetica_ObliqueAFM,AFMHelvetica_ObliqueChars,-1}, {"Courier","Courier",400,0,&CourierAFM,AFMCourierChars,-1}, {"Courier-Bold","Courier",700,0,&Courier_BoldAFM,AFMCourier_BoldChars,-1}, {"Courier-BoldOblique","Courier",700,2,&Courier_BoldObliqueAFM,AFMCourier_BoldObliqueChars,-1},