Johannes wrote:
On Thu, Jan 22, 2009 at 06:53:46PM +0000, corvid wrote:
Johannes wrote:
On Thu, Jan 22, 2009 at 05:57:42PM +0000, corvid wrote:
Johannes wrote:
BTW. now you can set vw_fontname in dillorc again. This font will then be used when CSS specifies "sans" as font, e.g: vw_fontname="VL Gothic"
If I put a serif font in vw_fontname and then use sans in style.css for some things, it'll use the serif font.
True. We need to make new config options
sans-serif_fontname serif_fontname cursive_fontname fantasy_fontname monospace_fontname
maybe even dropping the "_fontname" suffix.
But of course that would no longer be compatible with older versions of dillorc.
I would add the new options and remove the old options. CSS is big and certainly worth some incompatibility.
Ok, attached is a patch for discussion.
You meant to write font_monospace in dialog.cc and plain.cc. PS I approve of cursive and fantasy defaulting to sans :)