You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bryan hansen <bh...@yahoo.com> on 2001/11/20 22:15:14 UTC
font-family default?
If you don't specify a font-family, what is the
default font that is used? I have searched around the
site and it doesn't appear to be listed anywhere that
i can see.
I specify in certain areas what font to use, but
nothing for the overall pdf.
__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: font-family default?
Posted by Ulrich Mayring <ul...@denic.de>.
Karen Lease wrote:
>
> The overall default is the generic family "sans-serif".
> For PDF, that's probably Helvetica. The default size is 12pt.
What about this though:
<font metrics-file="/tmp/fonts/Arialn.xml" kerning="yes"
embed-file="/tmp/fonts/Arialn.ttf">
<font-triplet name="ArialNarrow" style="normal"
weight="normal"/>
<font-triplet name="any" style="normal"
weight="normal"/>
</font>
If I don't have the third line, then fop throws an exception that no
default font is defined. I was under the impression that I define a
default font this way.
Ulrich
--
Ulrich Mayring
DENIC eG, Systementwicklung
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: font-family default?
Posted by Karen Lease <kl...@club-internet.fr>.
The overall default is the generic family "sans-serif".
For PDF, that's probably Helvetica. The default size is 12pt.
bryan hansen wrote:
>
> If you don't specify a font-family, what is the
> default font that is used? I have searched around the
> site and it doesn't appear to be listed anywhere that
> i can see.
>
> I specify in certain areas what font to use, but
> nothing for the overall pdf.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org