DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4511>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4511

Underlining not applied to end of hyphenated line

           Summary: Underlining not applied to end of hyphenated line
           Product: Fop
           Version: 0.15
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: general
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When text is both hyphenated and underlined, the partial word at the end of a
line does not get underlined.  For example:

<?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 margin-right="25mm" margin-left="25mm"
                           margin-bottom="20mm" margin-top="15mm"
                           page-height="297mm" page-width="210mm"
                           master-name="a4">
      <fo:region-before extent="10mm"/>
      <fo:region-after extent="10mm"/>
      <fo:region-body margin-bottom="15mm" margin-top="15mm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-name="a4">
    <fo:flow flow-name="xsl-region-body">

      <fo:block language="en" hyphenate="true">
        <fo:inline text-decoration="underline">
          Thisparagraph illustratesaproblemwith hyphenationandunderlining.
          Whentextisbothhyphenatedandunderlined thepartialwordattheendof
          thelinewillnotbeunderlined.
        </fo:inline>
      </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

This comes out something like this:

Thisparagraph illustratesaproblemwith hyphenationandunderlining. Whentextisboth-
----------------------------------------------------------------

hyphenatedandunderlined thepartialwordattheendof thelinewillnotbeunderlined.
----------------------------------------------------------------------------

This is with version 0.20.2-RC.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to