From b5d359316006a15db6cbde59dcb8f2cf248854c5 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sat, 23 Jan 2010 01:36:40 +0000 Subject: [PATCH] Revert r33169. That was too simplistic. We have to use the workaround only when the Times Roman font is used. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33171 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeXFeatures.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 8733032561..7b32eac8a1 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -200,8 +200,7 @@ static docstring const textgreek_def = from_ascii( " \\fontencoding{LGR}\\selectfont\\def\\encodingdefault{LGR}%\n" " \\renewcommand{\\~}{\\perispomeni}%\n" "}}\n" - "\\DeclareRobustCommand{\\textgreek}[1]{\\leavevmode{%\n" - " \\IfFileExists{grtm10.tfm}{}{\\fontfamily{cmr}}\\greektext #1}}\n" + "\\DeclareRobustCommand{\\textgreek}[1]{\\leavevmode{\\greektext #1}}\n" "\\DeclareFontEncoding{LGR}{}{}\n"); static docstring const textcyr_def = from_ascii(