lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: CFF font in PostScript for HP printers


From: Han-Wen Nienhuys
Subject: Fwd: CFF font in PostScript for HP printers
Date: Thu, 19 Feb 2009 12:40:10 -0300

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


---------- Forwarded message ----------
From: Michael Toftdal <address@hidden>
Date: Thu, Feb 19, 2009 at 12:26 PM
Subject: CFF font in PostScript for HP printers
To: address@hidden


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 - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]