[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improvements to Postscript backend (patches included)
From: |
David Feuer |
Subject: |
Re: Improvements to Postscript backend (patches included) |
Date: |
Wed, 29 Mar 2006 15:10:13 -0500 |
On 3/28/06, Werner LEMBERG <address@hidden> wrote:
> > >>> - (if cid?
> > >>> - " /CIDFont findresource "
> > >>> - " findfont")
> > >> I don't understand this? How are CID resources supposed to be
> > >> loaded now?
> > >
> > > According to the Postscript reference, selectfont can be used with
> > > CID resources as well as regular fonts.
>
> But a CID resource is completely useless for us since we don't get the
> corresponding CID value, AFAIK. In case Pango does the CMap resource
> handling (this is, we send a Unicode value and Pango returns the CID)
> we can enable this again.
The current code does
/fontname /CIDFont findresource 17 scalefont setfont, where 17 is a
random number.
If I'm not mistaken, this is completely equivalent to /fontname 17
selectfont, except that it's almost certainly slower.
David