Fix #9732: Inconsistent font properties for the preview and superscript insets

(cherry picked from commit b6f8a84a359d717a5d87f58a3403b3c6b64440e3)
This commit is contained in:
Enrico Forestieri 2017-03-27 15:00:43 +02:00 committed by Richard Heck
parent 6836c75803
commit 9450cf7b12
3 changed files with 9 additions and 3 deletions

View File

@ -45,6 +45,8 @@ public:
bool neverIndent() const { return true; }
bool inheritFont() const { return false; }
InsetCode lyxCode() const { return PREVIEW_CODE; }
docstring layoutName() const { return from_ascii("Preview"); }

View File

@ -82,6 +82,8 @@ public:
///
bool neverIndent() const { return true; }
///
bool inheritFont() const { return false; }
///
int plaintext(odocstringstream & ods, OutputParams const & op,
size_t max_length = INT_MAX) const;
///

View File

@ -227,6 +227,8 @@ What's new
- Fix display of some text-mode accents in the citation preview (bug 9340).
- Fix font display in preview insets (bug 9732).
* INTERNALS