]> git.lyx.org Git - lyx.git/commit
Fix some XeTeX + TeX-fonts regressions introduced by fixing #9740.
authorGünter Milde <milde@lyx.org>
Wed, 4 Nov 2015 10:21:22 +0000 (11:21 +0100)
committerGünter Milde <milde@lyx.org>
Wed, 4 Nov 2015 10:21:22 +0000 (11:21 +0100)
commitf739c98fd7aa9cc6c7607b2eb9e8f8da2727e988
tree881fcff89df1b40096dfdfa39fa49d8eea0fd9e3
parent43a80ef7df941b3e0fb7cf85dae0445f21bce5c5
Fix some XeTeX + TeX-fonts regressions introduced by fixing #9740.

hyperref expects LICR macros for non-ASCII chars in the PDF Header Information.
As hyperref provides good coverage for \inputencoding{utf8}, we try
this if the current input encoding does not support a character.

With XeTeX, we do not load inputenc and cannot use \inputencoding.
However, utf-8 works out of the box so we can write the content in UTF8.
src/PDFOptions.cpp