[ 
https://issues.apache.org/jira/browse/FOP-261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Glenn Adams updated FOP-261:
----------------------------
    Description: 
Hi

I am generating PDF from a xml and xsl file, first to FO, 
then to PDF. I am using XSLT.

{code}
<fo:block font-family="Courier" font-size="10pt" font-weight="bold" 
language="fi" hyphenate="true">
kuusikymmentäkuusituhattakolmesataaneljäkymmentäyksi
<!-- <xsl:value-of select="lahetyksen_tiedot/paino_yhteensa"/> -->
</fo:block>
{code}

in the xml document I have the same 
line "kuusikymmentäkuusituhattakolmesataaneljäkymmentäyksi" 
inside the tag lahetyksen_tiedot/paino_yhteensa. 

If I comment out the line before instead of the one that is now 
inside a comment, the 
text "kuusikymmentäkuusituhattakolmesataaneljäkymmentäyksi" 
shows up differently: without any hyphenation.

there is this bug reported with problems with a single word inside 
a block, I tried to put additional words to the block too but it 
did not help.

  was:
Hi

I am generating PDF from a xml and xsl file, first to FO, 
then to PDF. I am using XSLT.

<fo:block font-family="Courier" font-size="10pt" font-weight="bold" 
language="fi" hyphenate="true">
kuusikymmentäkuusituhattakolmesataaneljäkymmentäyksi
<!-- <xsl:value-of select="lahetyksen_tiedot/paino_yhteensa"/> -->
</fo:block>

in the xml document I have the same 
line "kuusikymmentäkuusituhattakolmesataaneljäkymmentäyksi" 
inside the tag lahetyksen_tiedot/paino_yhteensa. 

If I comment out the line before instead of the one that is now 
inside a comment, the 
text "kuusikymmentäkuusituhattakolmesataaneljäkymmentäyksi" 
shows up differently: without any hyphenation.

there is this bug reported with problems with a single word inside 
a block, I tried to put additional words to the block too but it 
did not help.


> hyphenation does not work with <xsl:value-of>
> ---------------------------------------------
>
>                 Key: FOP-261
>                 URL: https://issues.apache.org/jira/browse/FOP-261
>             Project: FOP
>          Issue Type: Bug
>          Components: unqualified
>    Affects Versions: 2.5
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Teemu Talja
>            Assignee: fop-dev
>
> Hi
> I am generating PDF from a xml and xsl file, first to FO, 
> then to PDF. I am using XSLT.
> {code}
> <fo:block font-family="Courier" font-size="10pt" font-weight="bold" 
> language="fi" hyphenate="true">
> kuusikymmentäkuusituhattakolmesataaneljäkymmentäyksi
> <!-- <xsl:value-of select="lahetyksen_tiedot/paino_yhteensa"/> -->
> </fo:block>
> {code}
> in the xml document I have the same 
> line "kuusikymmentäkuusituhattakolmesataaneljäkymmentäyksi" 
> inside the tag lahetyksen_tiedot/paino_yhteensa. 
> If I comment out the line before instead of the one that is now 
> inside a comment, the 
> text "kuusikymmentäkuusituhattakolmesataaneljäkymmentäyksi" 
> shows up differently: without any hyphenation.
> there is this bug reported with problems with a single word inside 
> a block, I tried to put additional words to the block too but it 
> did not help.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to