PDA

View Full Version : Defining the Header Font...



Blackfoot
August 7th, 2011, 19:07
Is there an easy way to define the header font for an entire extension that's standard? Looking through the fonts in the fonts.xml file for various rulesets I don't see anything that looks like 'headerfont' or the like. Where is the the header font for an entire ruleset generally defined?

Some of the rulesets I've toyed with seem to ignore the header tag entirely and just output the tagged text in the standard font.

I'm looking at the spiffy Headers in the new 3.5 ruleset and getting very jealous.

Moon Wizard
August 7th, 2011, 21:55
The fonts are simply given a name, and each window in the ruleset can specify which fonts it uses in each control on the window. The headers in 3.5E ruleset are a template I created, so you can check the template definitions to see how it was implemented.

Regards,
JPG

Blackfoot
August 7th, 2011, 21:55
Found it. It seems <title> and <h> generally seem to use the same font.

Setting <titlefont> fixed it.