[NTG-pdftex] [PATCH] pdftex - Add new \pdfpkscalable primitive

Pali Rohár pali.rohar at gmail.com
Fri Mar 31 00:27:37 CEST 2017


On Thursday 30 March 2017 23:26:24 Karl Berry wrote:
>     Subject: [PATCH] pdftex - Add new \pdfpkscalable primitive
> 
> Why?
> 
> As I wrote at the end of my message (and you didn't reply to it), I
> see no point in retaining the concepts of scalable Type3 / PGC
> fonts. As far as I can see all that's needed now is to change the
> documentation.
> 
> I appreciate the effort of trying to retain existing behavior, but in
> this case, the existing behavior is 100% unused. So I'm not
> enthusiastic about adding yet more complexity around unused
> features.
> 
>     As Karl suggested
> 
> Sorry about the apparent confusion. I only suggested making this
> boolean in the event that there was no other fix. But you already
> made another fix. So I think we are done (without this patch).

There is no fix for supporting non-scalable PK fonts with enc file. 
Therefore I introduced this \pdfpkscalable boolean register.

Once PK font with enc file is defined in mapline it is used as scalable. 
You can check this fact by generating PDF file that it contains mapping 
for ffi ligature. Also check pdftex output that mapline was not ignored. 
Because if mapline is ignored, then pdftex automatically fallback to 
non-scalable PK fonts, but without enc file. And when pdftex ignore 
mapline it just show non-fatal warning and produce PDF file without 
errors. I was already hit by this behaviour that warnings from mapfile 
are non-fatal...

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.ntg.nl/pipermail/ntg-pdftex/attachments/20170331/c57b09ed/attachment-0001.sig>


More information about the ntg-pdftex mailing list