<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I apologize for the 7 years delay to add this into the cl-pdf
repository!<br>
<br>
It's now committed and pushed into the official cl-pdf repository
which is currently on github: <br>
<a class="moz-txt-link-freetext" href="https://github.com/mbattyani/cl-pdf">https://github.com/mbattyani/cl-pdf</a><br>
<br>
BTW if you know about other stuff I forgot to add to
cl-pdf/cl-typesetting please let me know. <br>
<br>
Marc<br>
<br>
<div class="moz-cite-prefix">On 3/2/06, 17:33, Peter Heslin wrote:<br>
</div>
<blockquote cite="mid:20060302223301.GA26760@heslin.eclipse.co.uk"
type="cite">
<pre wrap="">A couple of weeks ago, Zach Beane announced the release of his zpb-ttf
library for reading TrueType Unicode font files. cl-pdf already has
support for using these fonts, but the metrics have to be read in via
a "ufm" file, which has to be generated with a hacked version of
ttf2pt1 -- a less than ideal situation.
So I tried to get zpb-ttf to load the ttf font metrics. I'll attach
the file I came up with, which now allows a pure Lisp solution to
using truetype fonts in cl-pdf. I've tested it on just a few fonts,
but it seems to work fine.
Health warning: I don't have a deep understanding of all of the parts
of this code, much of which was munged around and adapted from various
parts of font-metrics.lisp. It would be good if someone else who
understands the issues were to review it.
One thing I did notice is that zpb-ttf reports a different value for
the font's descender, as compared to the ufm file generated by
ttf2pt1. Also, I used zpb-ttf's line-gap for (leading font-metric),
but that's a guess.
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cl-pdf-devel site list
<a class="moz-txt-link-abbreviated" href="mailto:cl-pdf-devel@common-lisp.net">cl-pdf-devel@common-lisp.net</a>
<a class="moz-txt-link-freetext" href="http://common-lisp.net/mailman/listinfo/cl-pdf-devel">http://common-lisp.net/mailman/listinfo/cl-pdf-devel</a></pre>
</blockquote>
<br>
</body>
</html>