* BufferParams.cpp: font name can be non-ASCII! (bug #7569).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38826 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2011-05-23 17:14:29 +00:00
parent 91a5a3360b
commit 5cbd9cf8d9

View File

@ -1373,7 +1373,7 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features,
fonts_sans_scale, fonts_typewriter_scale,
useNonTeXFonts, features);
if (!fonts.empty())
os << from_ascii(fonts);
os << from_utf8(fonts);
if (fonts_default_family != "default")
os << "\\renewcommand{\\familydefault}{\\"