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:
Richard Heck 2010-06-28 17:23:48 +00:00
parent 7d031e1fef
commit 456827950b

View File

@ -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"