Freetype printing
- From: Lars Clausen <lrclause cs uiuc edu>
- To: dia-list gnome org
- Subject: Freetype printing
- Date: 01 Mar 2002 22:16:45 -0600
After some fiddling around with postscript, I finally got the printing to
work with FreeType. To a certain degree, of course: Doesn't do unicode
yet (that's rather complicated), doesn't do TrueType (Type 42 -- that
should be easy, though), doesn't do fonts with spaces in their names.
At the same time, I did some much-needed cleanup in the PS renderer. I
made it two-pass, where the first pass creates the prolog (collects fonts
for now, but could also find characters for partial fonts, or even create
definitions for common colors, line widths etc that could make a smaller ps
file)[1]. This may break Unicode, I'm not sure. I shall be investigate
now.
Please bang on the printing code a bit to get the bugs out.
-Lars
[1] Does anyone know of a way to have images defined in the prolog so you
only need to include them once? The scaffolding for such is now there, but
I'm afraid of the binary include things.
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]