Re: Font question for 2.4.0

2010-05-16 Thread Tao Wang
On Mon, May 17, 2010 at 3:59 AM, Phil Longstaff wrote: > > I can apply this patch.  However, since you've also modified how the > stylesheet creates css to include all text, and I've modified all > stylesheets to provide css for fonts, will this default font ever be > used? Yes, it will be used f

Re: Font question for 2.4.0

2010-05-16 Thread Phil Longstaff
On Thu, 2010-05-13 at 15:09 +1000, Tao Wang wrote: > Hi, > > How about just set 'default-font-family' to GTK+ default font, and > leave other '*-font-family' as is? > > In current patch, I set all font same just to make sure every text in > webkit are set fonts. > > +g_object_set (G_OBJE

Re: Font question for 2.4.0

2010-05-12 Thread Tao Wang
Hi, How about just set 'default-font-family' to GTK+ default font, and leave other '*-font-family' as is? In current patch, I set all font same just to make sure every text in webkit are set fonts. +g_object_set (G_OBJECT(webkit_settings), +"cursive-font-family", default_font

Re: Font question for 2.4.0

2010-05-12 Thread Phil Longstaff
.org Sent: Wed, May 12, 2010 12:08:29 AM Subject: Re: Font question for 2.4.0 Hi, As a newbie user I'd have to say I hope you don't just remove the Default style-sheet or replace with Default.CSS. I am using GnuCash on Windows Vista and if I use the Default.CSS style-sheet for my reports the a

Re: Font question for 2.4.0

2010-05-11 Thread Michele Krijnen
Hi, As a newbie user I'd have to say I hope you don't just remove the Default style-sheet or replace with Default.CSS. I am using GnuCash on Windows Vista and if I use the Default.CSS style-sheet for my reports the accounts all appear in a too-small Times New Roman font, whereas if I use Default

Re: Font question for 2.4.0

2010-05-10 Thread Derek Atkins
Phil Longstaff writes: > I haven't really looked at it, but I think that font > handling/specification can be added to all stylesheets for 2.4.0. The > default font used will be the user-specified Windows default font (or > Linux - it is retrieved from pango using > pango_font_description_get_fa

Font question for 2.4.0

2010-05-10 Thread Phil Longstaff
Now that webkit issues seem to be sorted out on windows, the issue of fonts in webkit has arisen. Bug 616606 (https://bugzilla.gnome.org/show_bug.cgi?id=616606) indicates that reports in chinese don't show up until a chinese font is selected in the stylesheet. Makes sense. The default-CSS st