r20678 - gnucash/branches/2.4/src/report/stylesheets - [20674] Bug #645221: Patch to show the headline as an h3 across all stylesheets
Christian Stimming
cstim at code.gnucash.org
Mon May 23 15:20:26 EDT 2011
Author: cstim
Date: 2011-05-23 15:20:25 -0400 (Mon, 23 May 2011)
New Revision: 20678
Trac: http://svn.gnucash.org/trac/changeset/20678
Modified:
gnucash/branches/2.4/src/report/stylesheets/stylesheet-easy.scm
gnucash/branches/2.4/src/report/stylesheets/stylesheet-fancy.scm
gnucash/branches/2.4/src/report/stylesheets/stylesheet-footer.scm
Log:
[20674] 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).
Modified: gnucash/branches/2.4/src/report/stylesheets/stylesheet-easy.scm
===================================================================
--- gnucash/branches/2.4/src/report/stylesheets/stylesheet-easy.scm 2011-05-23 19:20:13 UTC (rev 20677)
+++ gnucash/branches/2.4/src/report/stylesheets/stylesheet-easy.scm 2011-05-23 19:20:25 UTC (rev 20678)
@@ -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
Modified: gnucash/branches/2.4/src/report/stylesheets/stylesheet-fancy.scm
===================================================================
--- gnucash/branches/2.4/src/report/stylesheets/stylesheet-fancy.scm 2011-05-23 19:20:13 UTC (rev 20677)
+++ gnucash/branches/2.4/src/report/stylesheets/stylesheet-fancy.scm 2011-05-23 19:20:25 UTC (rev 20678)
@@ -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
Modified: gnucash/branches/2.4/src/report/stylesheets/stylesheet-footer.scm
===================================================================
--- gnucash/branches/2.4/src/report/stylesheets/stylesheet-footer.scm 2011-05-23 19:20:13 UTC (rev 20677)
+++ gnucash/branches/2.4/src/report/stylesheets/stylesheet-footer.scm 2011-05-23 19:20:25 UTC (rev 20678)
@@ -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
More information about the gnucash-changes
mailing list