The fonts in 2D plots - Title, Legend, Axes labels and Axes numbers - are 1 pt lower than that defined in Edit -> Preferences -> 2D Plots -> Fonts
This happens only for new SciDAVis installations, i. e., if SciDAVis.conf file is that generated in 1st run. Due to this reason, I don't know if it is a bug in beta (1.23.2) or an old one.
In 3D plots the fonts looks ok.
I'm sorry for the poor description and lack of details. I'm very busy these days...
To avoid this bug you can uncheck the "Scale Fonts" button in the Edit/Preferences/2D Plots/Options panel before creating the 2D plot windows.
Alternatively, apply the attached patch that circumvents the bug.
The patch works.
Hi Miquel - did you ever get to the bottom of why we were either getting a resize event with a less than unity scale factor, or that setting and resetting the font point size would decrease the the value? Your solution here looks like a workaround of a bug elsewhere in the system.
Yes, there is a bug elsewhere.
The graph window generates/receives a resize event when the constructor has already ended.
At that point the autoScaleFonts boolean, disabled in constructor, is active again.
The patch just reverts in the constructor the font resize that comes after the constructor.
Until the real bug is found, the patch makes a reasonable workaround.
Lets mark this done, then
Hi Fellype,
Can you check if the attached patch (against current HEAD ffc276e) fixes this bug.
Hi Miquel,
Yes, of course. I'll do it tomorrow.
Fellype - fellypaoøyahoo.com.br
Trabalhando por um mundo Livre.
_ _ _ _ _ _ _ _ _ _ _ _ _
Se está meio cheio ou meio vazio é uma questão de ponto de vista. Mas o fato é que está pela metade.
Hi Fellype,
Can you check if the attached patch (against current HEAD ffc276e) fixes this bug.
Attachments:
[scidavis-bugs:#354] Fonts in plots are 1 pt lower than that defined in preferences
Status: closed
Group: next
Created: Wed Oct 17, 2018 01:19 AM UTC by Fellype
Last Updated: Wed Oct 24, 2018 11:32 PM UTC
Owner: nobody
The fonts in 2D plots - Title, Legend, Axes labels and Axes numbers - are 1 pt lower than that defined in Edit -> Preferences -> 2D Plots -> Fonts
This happens only for new SciDAVis installations, i. e., if SciDAVis.conf file is that generated in 1st run. Due to this reason, I don't know if it is a bug in beta (1.23.2) or an old one.
In 3D plots the fonts looks ok.
I'm sorry for the poor description and lack of details. I'm very busy these days...
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/scidavis/scidavis-bugs/354/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
SciDAVis Bugs:
#354Hi Miquel,
The bug looks to be fixed with the proposed patch. Good job.