[cl-typesetting-devel] mdash?

David J Cooper Jr david.cooper at genworks.com
Fri Jan 30 01:05:08 UTC 2004


Peter Seibel writes:

 > Is there any way to output m- and n-dashes in cl-typesetting?

Hi Peter,

 You should be able to use the raw character code for emdash and
 endash, which is 227 and 226 respectively in the WIN encoding (which
 seems to work across platforms).

 All the character encoding information is in Appendix D of Adobe's
 PDF spec (check http://partners.adobe.com/asn/tech/pdf/specifications.jsp).

 In cl-pdf you can just insert the raw escaped character code
 (e.g. "\\227") in a draw-text -- from the-typesetting layer I think
 you have to use something like cl-interpol to embed the escaped
 character in a string.

-dave

David J Cooper Jr, Genworks International 
david.cooper at genworks.com
248-737-8835 (o), 248-330-2979(c)





 
 





More information about the cl-typesetting-devel mailing list