mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 19:14:51 +00:00
Fix #9732: Inconsistent font properties for the preview and superscript insets
(cherry picked from commit b6f8a84a35
)
This commit is contained in:
parent
6836c75803
commit
9450cf7b12
@ -44,11 +44,13 @@ public:
|
||||
Inset * clone() const { return new InsetPreview(*this); }
|
||||
|
||||
bool neverIndent() const { return true; }
|
||||
|
||||
|
||||
bool inheritFont() const { return false; }
|
||||
|
||||
InsetCode lyxCode() const { return PREVIEW_CODE; }
|
||||
|
||||
|
||||
docstring layoutName() const { return from_ascii("Preview"); }
|
||||
|
||||
|
||||
bool descendable(BufferView const & /*bv*/) const { return true; }
|
||||
|
||||
std::string contextMenuName() const
|
||||
|
@ -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;
|
||||
///
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user