Font question for 2.4.0
Tao Wang
dancefire at gmail.com
Sun May 16 22:33:32 EDT 2010
On Mon, May 17, 2010 at 3:59 AM, Phil Longstaff <plongstaff at rogers.com> 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 for some thing other than reports, such as, error
message, which are just very simple html/text without any css.
> What I am looking at is how to provide this default font to the
> stylesheets to replace "Arial" which is hard-coded.
Yeah, I think replace hard-coded is good. When I installed a new
GnuCash for testing, Chinese will not be shown since the hard-coded
'Arial' in Default CSS, so I have to manually set them to 'Microsoft
YaHei' to make it work.
And I just curious, why the CJK text in the menu, label or butten of
the gtk window interface can be shown correctly, even the font was set
to 'Arial' or 'Sans', but the webkit cannot show them correctly? Are
they use pango differently? or gtk has some machanism to ensure the
CJK text display correctly?
>
> Phil
>
>
--
Regards
Tao Wang
More information about the gnucash-devel
mailing list