Fonts (was Re: Invoices)
cgdennis at btinternet.com
Tue Jun 30 15:37:50 EDT 2009
Phil Longstaff wrote:
> Well, invoices will probably have a separate set of fonts, but all
> reports should share fonts for the text classes: title, subtitle,
> account, account subtotal, total.
Yes, there should be a way to specify global options that webkit will
use as defaults.
> With your current work, how would a user specify the fonts?
It's a report option (in fact two options -- font family and font size).
Variations for headings, emphasis etc. happen in the normal HTML way.
> I'm happy to include your work in the 2.3.2. For the balance sheet,
> since it is more normal for liabilities/equities to appear after
> assets rather than beside assets, I think it should be changed to use
> that structure.
It's not normal where I come from :)
> In addition, I've seen bug reports which ask for
> equities to appear before liabilities (accounting rules in Europe
> call for a different order than in North America), so we would need
> to add either a different template or else a way of specifying the
That's the point of the templates -- people can adapt the layout the way
they want it.
> What do we want to include in 2.4? Should the invoice go into 2.4
> but reports (all of which need to be updated) go into 2.6?
There's quite a lot of work involved in the business reports (at least
there was for the first one), and I have very little spare time at the
moment, so they may have to wait for 2.6 unless anyone else wants to get
The tax invoice can go into 2.4 even if only as an example of what can
be done with webkit and eguile.
> ________________________________ From: Chris Dennis
> <cgdennis at btinternet.com> To: Phil Longstaff <plongstaff at rogers.com>
> Sent: Tuesday, June 30, 2009 3:09:31 PM Subject: Re: Invoices
> Phil Longstaff wrote:
>> what do you still need to do to have your new invoice and template
>> available to include in the 2.3.X/2.4 stream? At the very least, we
>> should add support so that your stuff gets font information from
>> gnucash. Gnucash can, in turn, get the info from gconf.
> I've been distracted from GnuCash work recently.
> The tax invoice and balance sheet reports are working. They need
> people to try them and test them and comment on them. See the very
> incomplete wiki page at
> http://wiki.gnucash.org/wiki/Custom_Reports_Using_Eguile -- I'll try
> to add more to that page soon.
> The two reports I've done so far don't get font information from
> gnucash or gconf. Or rather, if the user doesn't specify a font,
> then Webkit (presumably) uses whatever is the default. The user can
> specify a font in the normal CSS way (e.g. "Arial, sans" and "small"
> or "10pt"), and then Webkit will use that.
> -- Chris Dennis
> cgdennis at btinternet.com Fordingbridge, Hampshire, UK
> _______________________________________________ gnucash-devel mailing
> list gnucash-devel at gnucash.org
Chris Dennis cgdennis at btinternet.com
Fordingbridge, Hampshire, UK
More information about the gnucash-devel