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 bu...@apache.org on 2001/10/29 16:43:48 UTC

DO NOT REPLY [Bug 836] - hyphenation problem with very long words

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=836>.
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=836

hyphenation problem with very long words

spam_from_apache_bugzilla@chezphil.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All



------- Additional Comments From spam_from_apache_bugzilla@chezphil.org  2001-10-29 07:43 -------
See also bug 508 (which was marked invalid - why?).

I experience problems when a block contains just one word.  Sometimes FOP
crashes, other times it just fails to hyphenate it.  Here is the example that
I posted to fop-dev.  Remove the <!--  --> to get a run-time error
([ERROR]: null).  I'm using 0.20.2-RC.

<?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">
        Thisparagraphwillbehyphenated becauseithasmorethanonewordinit
        andthisseemstoworkok.  Theseverylongwords existonlysothat
        thereisahighprobability thathyphenationwillberequired.
      </fo:block>

<!--
     <fo:block language="en" hyphenate="true">
       
ThisparagraphwillnotbehyphenatedbecauseitcontainsonlyoneextreemelylongwordandthisdoesnotseemtoworkIwasoriginallysufferingfromthisproblemintableswithnarrowcolumnsandwiththingslikeURLsthatareoftenverylongwithnospacesinthem.
      </fo:block>
-->
    </fo:flow>
  </fo:page-sequence>
</fo:root>

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