[NTG-pdftex] [PATCH v3] pdftex - Add support for encfile and \pdfgentounicode for PK fonts

Pali Rohár pali.rohar at gmail.com
Sun Jul 10 17:00:30 CEST 2016


On Wednesday 06 July 2016 23:18:44 Karl Berry wrote:
>     \pdfmapline{+csb12 <csr.enc}
> 
> Thanks for the updated patch.  (It's usually better to just send
> patches to ntg-pdftex instead of cross-posting.)
> 
>     \pdfmapline{+csb12 <csr.enc}
> 
> Thanks for the example.  But I have to ask: if there's any chance of
> your making an example that uses some MF font that is in TeX Live
> (e.g., laorm10.mf -- Cyrillic (meta)fonts that don't exist in Type
> 1), that would be highly useful, since clearly I cannot run the
> example with your personal fonts.
> 
> If you don't want to, that's ok, I'll get to it eventually.  --best,
> karl.

Hi! Here is example with cmb12 and olsl12 fonts. Those ara available in 
texlive-fonts-extra package on Debian. I hope that texnansx.enc contains 
correct encoding vector for those fonts. It is available in texlive-base 
package on Debian. Here "ffi" is ligature and so it is one (non Latin1) 
character.

\nopagenumbers
\input glyphtounicode
\pdfgentounicode=1
\pdfmapline{+olsl12 <texnansx.enc}
\pdfmapline{+cmb12 <texnansx.enc}
\font\olsl=olsl12
\font\cmb=olsl12
\olsl ffi \cmb ffi
\bye

-- 
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/20160710/458d6fd5/attachment.sig>


More information about the ntg-pdftex mailing list