]> git.lyx.org Git - features.git/commitdiff
Fixme for the partial patch for #9740 (XeTeX with TeX fonts),
authorGünter Milde <milde@lyx.org>
Tue, 3 Nov 2015 11:28:01 +0000 (12:28 +0100)
committerGünter Milde <milde@lyx.org>
Tue, 3 Nov 2015 11:29:07 +0000 (12:29 +0100)
src/Buffer.cpp

index 60a36b39eab5607fad32c31247ad3c057b6c3662..847b0292afab5f955f68ce07974cc697c30d462b 100644 (file)
@@ -1675,6 +1675,8 @@ void Buffer::writeLaTeXSource(otexstream & os,
 
        // XeTeX with TeX fonts is only safe with ASCII encoding,
        // See #9740 and FIXME in BufferParams::encoding()
+       // FIXME: when only the current paragraph is shown, this seems to be ignored:
+       //   characters encodable in the current encoding are not converted to ASCII-representation.
        if (!params().useNonTeXFonts && (runparams.flavor == OutputParams::XETEX))
                runparams.encoding = encodings.fromLyXName("ascii");