I've been writing a paper on Plucker, and as part of that I've been
trying to describe the drawing model that the text record uses.  This
record is essentially a series of paragraphs.  Each paragraph starts
with a fresh graphics context, as I understand it.  That is:

  - background color is white, foreground color is black
  - margins are 0 pixels left, 0 pixels right
  - the "regular" font is used (instead of bold, or <h1>, say)
  - the alignment is left-justified
  - underlining, italic, and strikethrough are off

Is this right?

But there seems to be some confusion here.  For instance, if you look
at a dump of the function codes in a text record, every paragraph
starts off with a 5-byte header that sets the foreground color to
black.  That seems to be nuts (aside from wasting space).  I'm going
to take it out of the parser.

There's also code in the parser that seems to imply that a function
code of SET_STYLE (which should really be called SET_FONT) also resets
the whole graphics state in some way.  Is that correct?

Bill

Reply via email to