From 9fbeb730ea4d210e2b932e98f96afd58a7604097 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Mon, 23 May 2011 19:14:20 +0000 Subject: [PATCH] Bug #645221: Patch to show the headline as an h3 across all stylesheets Patch by Bert: The attached patch makes sure that the title fonts set through the options menu behaves consistently across all style sheets. More specifically, it patches the following style sheets: *stylesheet-fancy *stylesheet-footer *stylesheet-easy Since I don't know how to change the default values, this will change the visual appearance until people alter the settings (e.g. move everything to Sans, 10, bold). BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20674 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/report/stylesheets/stylesheet-easy.scm | 4 ++-- src/report/stylesheets/stylesheet-fancy.scm | 6 ++---- src/report/stylesheets/stylesheet-footer.scm | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/report/stylesheets/stylesheet-easy.scm b/src/report/stylesheets/stylesheet-easy.scm index ad3bd82d19..e1cc03943c 100644 --- a/src/report/stylesheets/stylesheet-easy.scm +++ b/src/report/stylesheets/stylesheet-easy.scm @@ -427,7 +427,7 @@ (if show-preparer? ;; title plus preparer info (gnc:make-html-text - (gnc:html-markup-b headline) + (gnc:html-markup-h3 headline) (gnc:html-markup-br) (_ "Prepared by: ") (gnc:html-markup-b preparer) @@ -441,7 +441,7 @@ ;; title only (gnc:make-html-text - (gnc:html-markup-b headline)))) + (gnc:html-markup-h3 headline)))) ) ; only setup an image if we specified one diff --git a/src/report/stylesheets/stylesheet-fancy.scm b/src/report/stylesheets/stylesheet-fancy.scm index 8305696cf8..401dfdddfa 100644 --- a/src/report/stylesheets/stylesheet-fancy.scm +++ b/src/report/stylesheets/stylesheet-fancy.scm @@ -422,8 +422,7 @@ (if show-preparer? ;; title plus preparer info (gnc:make-html-text - (gnc:html-markup-b - (gnc:html-document-title doc)) + (gnc:html-markup-h3 headline) (gnc:html-markup-br) (_ "Prepared by: ") (gnc:html-markup-b preparer) @@ -437,8 +436,7 @@ ;; title only (gnc:make-html-text - (gnc:html-markup-b - (gnc:html-document-title doc))))) + (gnc:html-markup-h3 headline)))) ) (if (and logopixmap diff --git a/src/report/stylesheets/stylesheet-footer.scm b/src/report/stylesheets/stylesheet-footer.scm index 64478a8c0e..9b2912f928 100644 --- a/src/report/stylesheets/stylesheet-footer.scm +++ b/src/report/stylesheets/stylesheet-footer.scm @@ -440,7 +440,7 @@ (if show-preparer? ;; title plus preparer info (gnc:make-html-text - (gnc:html-markup-b headline) + (gnc:html-markup-h3 headline) (gnc:html-markup-br) (_ "Prepared by: ") (gnc:html-markup-b preparer) @@ -454,7 +454,7 @@ ;; title only (gnc:make-html-text - (gnc:html-markup-b headline)))) + (gnc:html-markup-h3 headline)))) ) ; only setup an image if we specified one