[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61804] "TitleFontSizeMultiplier" and "LabelFo
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #61804] "TitleFontSizeMultiplier" and "LabelFontSizeMultiplier" properties disabled by "DefaultTextFontSize" property |
Date: |
Wed, 12 Jan 2022 19:00:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?61804>
Summary: "TitleFontSizeMultiplier" and
"LabelFontSizeMultiplier" properties disabled by "DefaultTextFontSize"
property
Project: GNU Octave
Submitted by: rik5
Submitted on: Wed 12 Jan 2022 04:00:01 PM PST
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Sample code to reproduce:
set (groot, 'DefaultAxesTitleFontSizeMultiplier', 2);
set (groot, 'DefaultAxesFontSize', 10);
set (groot, 'DefaultTextFontSize', 12);
hax = gca;
ht = get (hax, 'Title');
get (ht, 'FontSize')
The returned font size should be 20 (2 x 10) but instead is 12. Matlab gets
this right. It also affects the "LabelFontSizeMultiplier" property.
The "Title" object is of type "text", but it should be initialized with the
correct "FontSize" property. The code in graphics.cc for the function
axes::properties::init does the right thing. There may be a race condition
involved or an order of execution issue for the setting of properties.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61804>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61804] "TitleFontSizeMultiplier" and "LabelFontSizeMultiplier" properties disabled by "DefaultTextFontSize" property,
Rik <=