GNOME Bugzilla – Bug 136363
Font changes to Graph title are not applied.
Last modified: 2004-12-22 21:47:04 UTC
Now when i try to change the font of the "Title1", it still stays as default font (Sans Normal 8 points)
This problem occurs with Axis labels too.
It dosen't work here too. It always goes back to Sans 8pt and it looks like I can't change the font of any label in the graph. Is this a known bug/limitation?
Created attachment 25767 [details] [review] patch that does the job for me
I looked into this and it looks like the problem can be solved with my attached patch. My understanding of the chart code is very limited, so it might break other thinks. But it works (for me) good enough to create my charts with different fonts. The problem seems to be that gog_style_merge() always overrides the font in dst with the src font.
You're correct. The theme always overrides the assigned font because we don't have a decent 'is_auto' flag in place. I don't see theming of the font as a terribly significant operation just now (given that there is no ui to change the theme) so I'll apply a variant of your idea the disables it. Patch will be in 1.2.12. Thanks