Default page font

Here should go questions about transforming XML with XSLT and FOP.
Posts: 20
Joined: Sat Nov 26, 2005 5:17 pm
Location: Houston, Texas, USA

Default page font

Post by jsb » Tue Dec 13, 2005 3:51 pm

How can I get the default font for my transformed XML page to be displayed in Arial font? It seems that some of the items in my page are shown in Times instead. It also seems to depend on which translator is used. The page appears to display as desired in Explorer, but others have shown me that the font used in their browser is Times.

The example is this:

The result file is displayed in Arial as desired on my WinXP machine using IE 6. Linux users seem to get a mix of arial and times font. Frustrating! I've tried forcing the font to arial using the style attribute in places, but that doesn't seem to work.

Jon Berndt
Development Coordinator
JSBSim Project
Open Source Flight Dynamics Model

Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache » Wed Dec 14, 2005 2:11 pm


You should not force the browser to use always the font specified in Options but allow the fonts specified in the style attribute of the loaded document. For example in Mozilla you should leave the checkbox Always use my fonts unchecked in Tools - Options - General - Fonts & Colors.


Post Reply