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
This commit is contained in:
Christian Stimming 2011-05-23 19:14:20 +00:00
parent 153182da66
commit 9fbeb730ea
3 changed files with 6 additions and 8 deletions

View File

@ -427,7 +427,7 @@
(if show-preparer? (if show-preparer?
;; title plus preparer info ;; title plus preparer info
(gnc:make-html-text (gnc:make-html-text
(gnc:html-markup-b headline) (gnc:html-markup-h3 headline)
(gnc:html-markup-br) (gnc:html-markup-br)
(_ "Prepared by: ") (_ "Prepared by: ")
(gnc:html-markup-b preparer) (gnc:html-markup-b preparer)
@ -441,7 +441,7 @@
;; title only ;; title only
(gnc:make-html-text (gnc:make-html-text
(gnc:html-markup-b headline)))) (gnc:html-markup-h3 headline))))
) )
; only setup an image if we specified one ; only setup an image if we specified one

View File

@ -422,8 +422,7 @@
(if show-preparer? (if show-preparer?
;; title plus preparer info ;; title plus preparer info
(gnc:make-html-text (gnc:make-html-text
(gnc:html-markup-b (gnc:html-markup-h3 headline)
(gnc:html-document-title doc))
(gnc:html-markup-br) (gnc:html-markup-br)
(_ "Prepared by: ") (_ "Prepared by: ")
(gnc:html-markup-b preparer) (gnc:html-markup-b preparer)
@ -437,8 +436,7 @@
;; title only ;; title only
(gnc:make-html-text (gnc:make-html-text
(gnc:html-markup-b (gnc:html-markup-h3 headline))))
(gnc:html-document-title doc)))))
) )
(if (and logopixmap (if (and logopixmap

View File

@ -440,7 +440,7 @@
(if show-preparer? (if show-preparer?
;; title plus preparer info ;; title plus preparer info
(gnc:make-html-text (gnc:make-html-text
(gnc:html-markup-b headline) (gnc:html-markup-h3 headline)
(gnc:html-markup-br) (gnc:html-markup-br)
(_ "Prepared by: ") (_ "Prepared by: ")
(gnc:html-markup-b preparer) (gnc:html-markup-b preparer)
@ -454,7 +454,7 @@
;; title only ;; title only
(gnc:make-html-text (gnc:make-html-text
(gnc:html-markup-b headline)))) (gnc:html-markup-h3 headline))))
) )
; only setup an image if we specified one ; only setup an image if we specified one