After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 136363 - Font changes to Graph title are not applied.
Font changes to Graph title are not applied.
Product: Gnumeric
Classification: Applications
Component: Charting
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Reported: 2004-03-06 08:57 UTC by Priit Laes (IRC: plaes)
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4

patch that does the job for me (984 bytes, patch)
2004-03-18 15:04 UTC, Michael Vogt
none Details | Review

Description Priit Laes (IRC: plaes) 2004-03-06 08:57:55 UTC
Now when i try to change the font of the "Title1", it still stays as 
default font (Sans Normal 8 points)
Comment 1 Priit Laes (IRC: plaes) 2004-03-06 09:01:31 UTC
This problem occurs with Axis labels too.
Comment 2 Michael Vogt 2004-03-18 12:08:36 UTC
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? 
Comment 3 Michael Vogt 2004-03-18 15:04:42 UTC
Created attachment 25767 [details] [review]
patch that does the job for me
Comment 4 Michael Vogt 2004-03-18 15:10:04 UTC
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. 
Comment 5 Jody Goldberg 2004-05-03 05:34:17 UTC
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.