[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Fun with PS fonts -Reply



One technique which you can use is to create youe entire print line as an ASCII string before PRINTing.  This way your SQR program doesn't get lost as to horizontal positioning. Also breaking your page down to very fine increments vertically and horizontally (LINES-INCH and CHARS-INCH) would allow you to finetune positioning if you insist upon doing individual PRINTs of variables.  It requires some playing around but you do have more leeway.

Lynn Francis
American Bankers Association

>>> David Flynn <dflynn@FAST.NET> 11/19/97 01:36pm >>>
I am creating a fairly complicated document (report) using the only fixed
width font available to Postscript printers, Courier (font=3).  However, my
users want an Arial/Helvetica font (font=4) used, which is proportional.
 My problem is that when I use the proportional fonts, formatting the
report correctly seems impossible.  For example:

  print 'iiiiiiiiiiiiiiii' (+1,1)
  print ' jjj' ()

ends up producing something like:

iiiiiiiiiiiiiiii           jjj

instead of

iiiiiiiiiiiiiiii jjj

& I am using line-height=9 and char-width=4.8 in my declare-layout to
further control the font sizes and spacing, which does not seem to help
either.  Any advice on how to either work with proportional fonts in this
way, or is there  a way to add other fixed width fonts?