mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Support "Provides fontenc".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34720 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7d031e1fef
commit
456827950b
@ -1348,7 +1348,7 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
|
||||
// LFE encoding
|
||||
// XeTeX works without fontenc
|
||||
if (font_encoding() != "default" && language->lang() != "japanese"
|
||||
&& !useXetex) {
|
||||
&& !useXetex && !tclass.provides("fontenc")) {
|
||||
size_t fars = language_options.str().find("farsi");
|
||||
size_t arab = language_options.str().find("arabic");
|
||||
if (language->lang() == "arabic_arabi"
|
||||
|
Loading…
Reference in New Issue
Block a user