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 Jordan Soet <jo...@u21global.edu.sg> on 2006/04/04 11:51:14 UTC

Bold and Underlined Text

Hi, I have a problem when I have bold and underlined text the underline
doesn't show up. I'm converting from an html-like format so I have a
separate inline object for each kind of formatting and when the inline
object for the underline comes before the bold then the underline
doesn't show up. I'm using FOP 0.91 Beta and it seems to work in FOP
0.20.5. 

 

Here's some example code:

 

<?xml version="1.0" encoding="UTF-8"?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

    <fo:layout-master-set>

        <fo:simple-page-master master-name="simple">

            <fo:region-body margin-top="3cm"/>

            <fo:region-before extent="1.5cm"/>

        </fo:simple-page-master>

    </fo:layout-master-set>

 

    <fo:page-sequence master-reference="simple">

        <fo:flow flow-name="xsl-region-body">

            <fo:block>

                                                <fo:inline
text-decoration="underline"><fo:inline font-weight="bold">BOLD AND
UNDERLINED TEXT!!!!!</fo:inline></fo:inline>

            </fo:block>

        </fo:flow>

    </fo:page-sequence>

</fo:root>

 


Graduate School for Global Leaders 



  Jordan Soet
  Assistant Development Engineer
  Mobile: +65 8205 9327
  eMail:  <ma...@u21global.edu.sg> jsoet@u21global.edu.sg 


 <http://www.u21global.edu.sg>  
5 Shenton Way  
#01 - 01, UIC Building  
Singapore 068808  


   <http://www.u21global.edu.sg> www.U21Global.edu.sg

 


Re: Bold and Underlined Text

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
This is bug http://issues.apache.org/bugzilla/show_bug.cgi?id=38453 and
has been fixed in Subversion (FOP Trunk). The fix will be in the next
release. In the meantime, you may need to use the latest sources from
Subversion.

On 04.04.2006 11:51:14 Jordan Soet wrote:
> Hi, I have a problem when I have bold and underlined text the underline
> doesn't show up. I'm converting from an html-like format so I have a
> separate inline object for each kind of formatting and when the inline
> object for the underline comes before the bold then the underline
> doesn't show up. I'm using FOP 0.91 Beta and it seems to work in FOP
> 0.20.5. 
<snip/>


Jeremias Maerki


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