Revert fix for #9231

This is more complicated than I thought.
This commit is contained in:
Juergen Spitzmueller 2014-08-28 08:22:47 +02:00
parent 43c669fb13
commit 15957d003a
2 changed files with 2 additions and 4 deletions

View File

@ -866,7 +866,6 @@ void TeXOnePar(Buffer const & buf,
// Is this really needed ? (Dekel)
// We do not need to use to change the font for the last paragraph
// or for a command.
// Spitz: We need for the last par, actually. See #9231.
Font const font = par.empty()
? par.getLayoutFont(bparams, outerfont)
@ -875,6 +874,7 @@ void TeXOnePar(Buffer const & buf,
bool const is_command = style.isCommand();
if (style.resfont.size() != font.fontInfo().size()
&& nextpar
&& !is_command) {
os << '{';
os << "\\" << from_ascii(font.latexSize()) << " \\par}";

View File

@ -64,12 +64,10 @@ What's new
- Do not sort advanced listings settings, since their insertion order is
relevant (bug 5203).
- Fix wrong line spacing in last paragraph of a document if the font size
is non-normal (bug 9231).
- Fix import of latex documents with scaled fonts.
* LYX2LYX
- Fix warning "Missing \use_indices" when converting from 1.6.x format