[luatex] luatex - font encoding for type 1 fonts
Hans Hagen
pragma at wxs.nl
Sun Jun 26 18:41:47 CEST 2016
On 6/26/2016 4:59 PM, Pali Rohár wrote:
> And another question, it is possible that in generated PDF will be this
> character mapped to U+201C (only when selecting text in PDF reader)? In
> pdftex it can be achieved by:
>
> \pdfglyphtounicode{csquotedblright}{201C}
> \pdfgentounicode=1
>
> which generate CMAP table where glyph name csquotedblright is mapped to
> U+201C. Btw, CMAP table allows to map move glyphs to same unicode
> characters...
tounicodes are automatically added and i don't like to add exceptions
for fixing bad glyphs
the sole reason why this csquotedblright is there is to compensate for
bad built-in-the-glyph kerning and as macros are used anyway to access
them i'd do that in the macro, something
\def\fixeddblleft {\kern-0.1em\quotedblleft }
\def\fixeddblright {\quotedblright\kern-0.1em}
after all, you use a quote wrapper already
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the luatex
mailing list