Bug 222693

Summary: net worth forecast graph doesn't honor font size setting
Product: [Applications] kmymoney Reporter: uetsah <uetsah>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: asoliverez, j.r.hudson
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description uetsah 2010-01-14 13:02:27 UTC
Version:            (using Devel)
Installed from:    Compiled sources

The text shown on the net worth forecast graph in the home/summary page doesn't honor the "Home/Summary page font scaling" setting - thus, in my case it looks *much* larger than the surrounding font, which isn't too pretty.
Comment 1 Alvaro Soliverez 2010-01-15 00:08:19 UTC
Charts have a life of their own. In fact, the one you see on the Home Page is only a png file inserted in the html.
At the moment I'm thinking on the feasibility of making all text on the chart follow the size of the home page. Also, whether it's worth the effort.

However, I am adding a setting to make the charts follow the general KDE font size setting.
Comment 2 uetsah 2010-01-15 00:44:09 UTC
> At the moment I'm thinking on the feasibility of making all text on the chart
follow the size of the home page. Also, whether it's worth the effort.

Isn't it just a matter of multiplying some font sizes by that scaling percentage number, before using them to draw text on the chart? I think that would be totally sufficient, there's no need to make it dynamically follow mouse wheel zooming or anything...

> However, I am adding a setting to make the charts follow the general KDE font
size setting.

Thanks, that's also good
Comment 3 Alvaro Soliverez 2010-01-15 00:52:06 UTC
It's not that simple, because the charts are used in other areas of the application, which are not affected by the Home Page setting. Last resource is to add a flag so that the chart behaves differently when drawing a chart for the home page, but that's an ugly solution IMHO.
Comment 4 uetsah 2010-01-15 12:10:57 UTC
I see, thanks for the explanation... :-)

"follow general KDE font size" will probably be the best solution then...
Comment 5 Alvaro Soliverez 2010-03-20 15:14:38 UTC
Can we consider this as resolved?
Comment 6 Alvaro Soliverez 2010-05-02 18:19:10 UTC
There have been several changes in the way size is managed. Please reopen with more detail if necessary.