Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!purdue!hammer From: hammer@cs.purdue.EDU (Adam Hammer) Newsgroups: comp.lang.postscript Subject: Help needed with lining up brackets at different point sizes Keywords: brackets align help Message-ID: <6896@medusa.cs.purdue.edu> Date: 7 Jun 89 20:16:53 GMT Sender: news@cs.purdue.EDU Organization: Purdue University Lines: 44 Our DITroff to PostScript converter uses the braceex character to extend brackets, parentheses, and braces over large vertical spaces. For some reason, this causes problems at points sizes other than 12 for the brackets. At the bottom of this message, I've included a small PostScript program that shows the problem. The strangest part is that at 24 points, the characters appear to be aligned properly, but that the width of the braceex character is not the same as the others. Any ideas for getting around this problem would be greatly appreciated. ------------ Adam Hammer hammer@cs.purdue.edu Purdue University Department of Computer Science ...!purdue!hammer ====- cut here -===============- cut here -=============- cut here -==== %! [10 12 18 24 ] { /mysize exch def /Symbol findfont mysize scalefont setfont 100 mysize 0.2 mul add 100 moveto (\353) show 100 100 mysize add moveto (\357) show 100 mysize 0.2 mul add 100 mysize 2 mul add moveto (\351) show 300 mysize 0.1 mul sub 100 moveto (\373) show 300 100 mysize add moveto (\357) show 300 mysize 0.1 mul sub 100 mysize 2 mul add moveto (\371) show showpage } forall ====- cut here -===========- cut here -==============- cut here -====