Font size on reports

Derek Atkins warlord at MIT.EDU
Wed Feb 14 10:22:11 EST 2007


"Eric Ladner" <eric.ladner at gmail.com> writes:

> Where's the code that spits out the HTML.  I'll take a look at it.

src/report/report-system/

It's mostly in Scheme.

> Writing a CSS UI -> file thingie is over my head, though.  It's got a
> billion options and you'd only get the simple stuff in a UI.  I was
> thinking more like people could come up with "themes" and users could
> download and install the theme CSS and select it for a different look.
>  Any UI work would probably only be on the level of changing font
> sizes, types and colors of typical data, nothing fancy.

That's okay.  We can't use CSS right now because GtkHTML doesn't
support it.

Right now the current running theory is that we need the HTML generator
to output appropriate <font> tags.

> The other thing that's nice about CSS is if you're just spitting out
> vanilla HTML, that's good enough to style as long as the markup is
> done consistently (i.e. H1 for page titles, H2 for section titles,
> etc.)  You could get fancy with a little extra markup on the page to
> identify data as a particular business object or something similar and
> create the CSS based on what's being displayed (every other line
> highlighting comes to mind, or negative numbers in a different style)

CSS would be nice, but it would require changing GtkTHML to something
else, like Gecko.  I'm not sure that we want GnuCash to depend on
mozilla!

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list