Font sizes in Reports
Phil Longstaff
plongstaff at rogers.com
Fri May 28 10:21:56 EDT 2010
Once basic CSS support is in, there are all sorts of things we could do. Perhaps we should provide support for external CSS files. If we publish the names of the text class names, an external CSS file could provide all sorts of style info.
Phil
---------
I used to be a hypochondriac AND a kleptomaniac. So I took something for it.
________________________________
From: Tao Wang <dancefire at gmail.com>
To: Michele Krijnen <michele.krijnen at gmail.com>
Cc: gnucash-devel at gnucash.org
Sent: Fri, May 28, 2010 4:50:56 AM
Subject: Re: Font sizes in Reports
On Fri, May 28, 2010 at 6:19 PM, Michele Krijnen
<michele.krijnen at gmail.com> wrote:
> Thanks Tao Wang. The new build helped a lot, however I did notice that the
> Report title was in bold even although I had set all the fonts to normal.
> As I was just doing this for testing purposes and then made the title bold
> anyway I don't think that this is a big problem just a small inconsistency.
>
I think it might be a bug. Could you file a bug in bugzilla about
this with a generated html file attached?
http://wiki.gnucash.org/wiki/Bugzilla
> Is there any chance of get text color add to the font selection screen for
> 2.4?
I didn't see the working about this, and adding this feature may broke
the string-freeze. So, I think it will not be added to 2.4.0. But it's
free to file a bug as a feature request (enhancement) in Bugzilla, so
maybe someone will implement the feature in the future.
In the mean time, you can export the report as a html file, and edit
the CSS part, then you can add any style CSS supported, including
color, to different kind of cell.
> ~Shellz
> On Fri, May 28, 2010 at 5:51 PM, Tao Wang <dancefire at gmail.com> wrote:
>>
>> On Fri, May 28, 2010 at 11:13 AM, Michele Krijnen
>> <michele.krijnen at gmail.com> wrote:
>> > I've been playing around with the unstable version of GnuCash as it
>> > offers a
>> > few features that the stable version doesn't. However I'm running into
>> > trouble with Style-sheets and reports.
>> >
>> > Namely if I use Default.CSS as the style sheet and set all fonts on a
>> > report
>> > to 11point when I run a report (for example Profit & Loss or Balance
>> > Sheet)
>> > the text will be at a different size to the numbers.
>> >
>> > Doesn't this defeat the purpose of using Point sizing?
>> > Is there a way to get the fonts to display correctly?
>> >
>>
>> Maybe the reason is the CSS didn't cover all text in the report, that
>> is, some are forgot to assign the font size. Are all the text is
>> different size with number? or just some of them are different?
>>
>> The CSS code has been modified recently to cover all text in the
>> report. Could you have a try to see whether it's still true in the
>> latest nightly build version? Thanks.
>>
>> http://code.gnucash.org/builds/win32/trunk/
>>
>> > ~Shellz
>> > _______________________________________________
>> > gnucash-devel mailing list
>> > gnucash-devel at gnucash.org
>> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>> >
>>
>>
>>
>> --
>> Regards
>>
>> Tao Wang
>
>
--
Regards
Tao Wang
_______________________________________________
gnucash-devel mailing list
gnucash-devel at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
More information about the gnucash-devel
mailing list