You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Eldho George <ge...@ocwen.co.in> on 2004/09/21 09:21:51 UTC

FW: Problem with font


I have a problem with font.The following is my font template
<fo:inline font-size="{$size}" font-family="{$face}"
      color="{$color}" line-height="12pt">
      <xsl:apply-templates select="*|text()"/>
 </fo:inline>

I have problem with large font size .Suppose I am using the size as 12pt,if
the content is more than that one line
,the top of the second line will appear overwritten on the first line.I
tried with line-height.But there is no affect.
I increased the line-heght to 50 or more ,there is no line space between the
first and second line.How can I solve this problem.Please help me...

Thanks in advance
George



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: FW: Problem with font

Posted by Chris Bowditch <bo...@hotmail.com>.
Eldho George wrote:

> 
> I have a problem with font.The following is my font template
> <fo:inline font-size="{$size}" font-family="{$face}"
>       color="{$color}" line-height="12pt">
>       <xsl:apply-templates select="*|text()"/>
>  </fo:inline>

The problem is FOP doesnt handle fo:inlines properly. It should generate its 
own area whose height depends on font size but it isnt implemented yet. 
Currently the line height can only be different for block level constructs.

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org