mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
* Font.cpp: let's compare the lyx name here. Polyglossia name can be ambigouos (cf. "german" [german] vs. "german" [ngerman]).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36439 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bd3dcea835
commit
0cd51c41a8
@ -275,7 +275,7 @@ int Font::latexWriteStartChanges(odocstream & os, BufferParams const & bparams,
|
|||||||
|
|
||||||
// polyglossia or babel?
|
// polyglossia or babel?
|
||||||
if (runparams.use_polyglossia
|
if (runparams.use_polyglossia
|
||||||
&& language()->polyglossia() != base.language()->polyglossia()
|
&& language()->lang() != base.language()->lang()
|
||||||
&& language() != prev.language()) {
|
&& language() != prev.language()) {
|
||||||
if (!language()->polyglossia().empty()) {
|
if (!language()->polyglossia().empty()) {
|
||||||
string tmp = "\\text" + language()->polyglossia();
|
string tmp = "\\text" + language()->polyglossia();
|
||||||
|
Loading…
Reference in New Issue
Block a user