xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Hennebert <vhenneb...@gmail.com>
Subject PSProcSets: purpose of /cw definition in F procedure?
Date Fri, 11 Jun 2010 17:22:21 GMT
Hi,

The XML Graphics PostScript ProcSet contains the following definition:
/F {
  /Tp exch def
  /Tf exch def
  Tf findfont Tp scalefont setfont
  /cf Tf def  /cs Tp def  /cw ( ) stringwidth pop def
} bd

The definition of /cw will work only if the font uses a single-byte
encoding (in which the space character is actually encoded on byte
number 32). Composite fonts use a more complex encoding.

The question is: what purpose does this /cw serve? I did a grep in the
whole XML Graphics and FOP codebase and AFAICT it’s not being used
anywhere. Can we get rid of it?

Thanks,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message