[cl-pdf-devel] Generating a 'TM' character
Dmitriy Ivanov
divanov at aha.ru
Fri Jan 5 09:39:27 UTC 2007
"Jonathon McKitrick" <jcm at FreeBSD-uk.eu.org> wrote:
| : 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))
|
| I must be missing something, because I cannot find get-char-metrics
| anywhere in cl-pdf.
In revision 128, you can find some methods on get-char-metrics in font.lisp.
As the second thoughts are best, the excerpt must have looked like this:
(defmethod get-char-metrics ((char (eql #.(code-char 8482))) font
(encoding single-byte-encoding))
(aref (characters font) #x99))
--
Sincerely,
Dmitriy Ivanov
lisp.ystok.ru
More information about the cl-pdf-devel
mailing list