[comp.windows.x] Xfig patch to fix postscript font names

tkacik@rphroy.UUCP (Tom Tkacik) (04/10/90)

Xfig version 2, patchlevel 5 has the wrong font names for two of the
postscript fonts,  AvantGarde-Book, and Courier-BoldOblique.
To use these two fonts, apply the following patch to psfonts.c
and remake both xfig and f2ps.

--

Tom Tkacik			GM Research Labs,   Warren MI  48090
Work phone: (313)986-1442	uunet!edsews!rphroy!megatron!tkacik
"I'm president of the United States, and I'm not going to eat anymore broccoli."
						--- Bush
-----------------------------------------------------------------------------
*** psfonts.c~	Mon Apr  9 14:08:48 1990
--- psfonts.c	Mon Apr  9 15:36:50 1990
***************
*** 11,17 ****
  	 {"Times-Italic",		"-adobe-times-medium-i-*--*", NULL},
  	 {"Times-Bold",			"-adobe-times-bold-r-*--*", NULL},
  	 {"Times-BoldItalic",		"-adobe-times-bold-i-*--*", NULL},
! 	 {"AvantGarde",			"NONE", NULL},
  	 {"AvantGarde-BookOblique",	"NONE", NULL},
  	 {"AvantGarde-Demi",		"NONE", NULL},
  	 {"AvantGarde-DemiOblique",	"NONE", NULL},
--- 11,17 ----
  	 {"Times-Italic",		"-adobe-times-medium-i-*--*", NULL},
  	 {"Times-Bold",			"-adobe-times-bold-r-*--*", NULL},
  	 {"Times-BoldItalic",		"-adobe-times-bold-i-*--*", NULL},
! 	 {"AvantGarde-Book",		"NONE", NULL},
  	 {"AvantGarde-BookOblique",	"NONE", NULL},
  	 {"AvantGarde-Demi",		"NONE", NULL},
  	 {"AvantGarde-DemiOblique",	"NONE", NULL},
***************
*** 22,28 ****
  	 {"Courier",			"-adobe-courier-medium-r-*--*", NULL},
  	 {"Courier-Oblique",		"-adobe-courier-medium-o-*--*", NULL},
  	 {"Courier-Bold",		"-adobe-courier-bold-r-*--*", NULL},
! 	 {"Courier-BoldItalic",		"-adobe-courier-bold-o-*--*", NULL},
  	 {"Helvetica",			"-adobe-helvetica-medium-r-*--*", NULL},
  	 {"Helvetica-Oblique",		"-adobe-helvetica-medium-o-*--*", NULL},
  	 {"Helvetica-Bold",		"-adobe-helvetica-bold-r-*--*", NULL},
--- 22,28 ----
  	 {"Courier",			"-adobe-courier-medium-r-*--*", NULL},
  	 {"Courier-Oblique",		"-adobe-courier-medium-o-*--*", NULL},
  	 {"Courier-Bold",		"-adobe-courier-bold-r-*--*", NULL},
! 	 {"Courier-BoldOblique",	"-adobe-courier-bold-o-*--*", NULL},
  	 {"Helvetica",			"-adobe-helvetica-medium-r-*--*", NULL},
  	 {"Helvetica-Oblique",		"-adobe-helvetica-medium-o-*--*", NULL},
  	 {"Helvetica-Bold",		"-adobe-helvetica-bold-r-*--*", NULL},
-- 
Tom Tkacik			GM Research Labs,   Warren MI  48090
Work phone: (313)986-1442	uunet!edsews!rphroy!megatron!tkacik
"I'm president of the United States, and I'm not going to eat anymore broccoli."
						--- Bush

envbvs@epb2.lbl.gov (Brian V. Smith) (04/11/90)

In article <22852@rphroy.UUCP>, tkacik@rphroy.UUCP (Tom Tkacik) writes:
|> Xfig version 2, patchlevel 5 has the wrong font names for two of the
|> postscript fonts,  AvantGarde-Book, and Courier-BoldOblique.
|> To use these two fonts, apply the following patch to psfonts.c
|> and remake both xfig and f2ps.

Thank you for posting this fix.  Consider it officially noted.  It 
will be fixed in patch level 6.
_____________________________________
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL, these non-opinions are all mine.