[cl-pdf-devel] Generating a 'TM' character
Dmitriy Ivanov
divanov at aha.ru
Thu Jan 4 19:10:26 UTC 2007
Hello Jonathon,
| I'm having trouble with (code-char 8482). I want to use the basic
| Times font in cl-pdf, but I cannot get this symbol to appear. Any
| suggestions? I get an error 'invalid array index' on char-metrics.
I would recommend the following specialization on get-char-metrics to map
the Unicode char code to code belonging [0-255] range (untested):
(defmethod get-char-metrics ((char (eql #.(code-char 8482)) font encoding)
(aref (characters font) #x99))
--
Sincerely,
Dmitriy Ivanov
lisp.ystok.ru
More information about the cl-pdf-devel
mailing list