Realize inset argument label font before using it

Also fix a few typos in status.22x.

(cherry picked from commit e35110eab7)
This commit is contained in:
Jean-Marc Lasgouttes 2016-07-19 22:29:57 +02:00
parent 85b8c040bd
commit 28e347b0a6
2 changed files with 7 additions and 4 deletions

View File

@ -247,6 +247,7 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
FontInfo labelfont = getLabelfont();
labelfont.setColor(labelColor());
labelfont.realize(pi.base.font);
pi.pain.buttonText(x, y, buttonLabel(bv), labelfont,
mouse_hover_[&bv]);
} else {

View File

@ -54,7 +54,7 @@ What's new
- Make inset-select-all select all cells only in tables.
- Automatically show the review toolbar if the document has tracked changes
(bug 8738), and related UI imrovements.
(bug 8738), and related UI improvements.
- Implement "Dissolve Inset" and "Show Label" context menu items for
arguments (bug 10150).
@ -110,13 +110,15 @@ What's new
- Fix display of labels in right-to-left languages (bug 10169).
- Fix button label font of inset arguments when some traits are inherited.
- When a counter is stepped, reset recursively all subcounters (bug #10063).
- Fix on screen narrow box when using \width as box width unit (bug 10048).
- Raise GuiView on buffer switch to bring it topmost in multi-window mode.
- Fix smal typo in Reference dialog (bug 10194).
- Fix small typo in Reference dialog (bug 10194).
- Fix default location for RPM based hunspell dictionary search (bug 10071 and 10192).
@ -130,7 +132,7 @@ What's new
- Display the correct column alignment and a better column spacing in AMS
environments (bugs 1861, 9908).
- Disable properly toggling math diplay in places where it is not
- Disable properly toggling math display in places where it is not
possible (bug 10033).
- Fix horizontal scrolling feature when inside a collapsable inset
@ -166,7 +168,7 @@ What's new
- Shortcut preferences: don't forget to trigger the search when it is
initialized with the previous value.
- Remove extra spacing around button insets (bug 10149).
- Remove extra spacing around button insets (bug 10149).
- Fix drawing of buttons by enforcing equal left/right spacing (bug 10147).