Actually, I can't remember for sure anymore.  Werner?

---------- Forwarded message ----------
From: Michael Toftdal <toft...@gmail.com>
Date: Thu, Feb 19, 2009 at 12:26 PM
Subject: CFF font in PostScript for HP printers
To: han...@xs4all.nl


Han-Wen,

I found some of your comments various places on OpenType fonts in
PostScript. I've also looked a bit at the Lilypond source, and it
seems very similar some PostScript generation that I am working on. I
extract the CFF table of an OpenType font and wrap that in a bit of
PostScript as described in the CFF specification and the PostScript
language reference. This all looks nice in Ghostview, Acrobat
distiller handles it and it prints on a Ricoh printer that I have
access to. However, I cannot make it work on any HP PS printers.
I don't think the problem is the binary data. It seems that the HP
printers don't know about the FontSet resource category:
Sending
 /CFFTestFont /FontSet resourcestatus { ( found ) show} { ( not
found) show} ifelse
gives an undefined error from resourcestatus (which according to the
PS reference means that the category is unknown). This is consistent
with the output I get if I send
 (*) {0 currentpoint pop sub 60 add -6  rmoveto show} 256 string
/Category resourceforall
to the printers. They know about CMap and CIDFont resource categories
but not FontSet.

So my question is, have you had any problems with sending the Lilypond
PostScript to HP printers?

Kind regards,
-Michael



-- 
Han-Wen Nienhuys - han...@xs4all.nl - http://www.xs4all.nl/~hanwen


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to