xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "El Hage Camille" <CAMILLE.ELH...@fr.glaverbel.com>
Subject RE: Can't generate Czech characters
Date Thu, 02 Dec 2004 18:58:07 GMT
Hello Santiago,
I tried your xml / xsl with both Arial and Verdana fonts without any problem: all characters
appear correctly... maybe the problem comes from your metrics file. Try to see if the problem
persists with another font (like verdana)... In the document properties in Acrobat (File -
Document Properties - Fonts), do you see your font embedded?
Camille
 
 
-----Original Message-----
From: Santiago Crespo Calvo [mailto:screspo@fullsix-spain.com]
Sent: jeudi 2 décembre 2004 19:10
To: fop-user@xml.apache.org
Subject: RE: Can't generate Czech characters



Hello

 

Te XML simple is:

 

<?xml version="1.0" encoding="ISO-8859-1" ?>

<tarifa>

<indice>

<titulo>Index</titulo>

<pagina>Page</pagina>

</indice>

<pie-pagina>

<linea>Doporu&#269;en&#233; maloobchodn&#237; ceny bez DPH</linea>

<linea>Platn&#233; od 04/11/2004</linea>

</pie-pagina>

<tamletra> 

<texto>6</texto>

<textocod>6</textocod>

<encabtabla>6</encabtabla> 

<pie>5</pie>

 

AS you can see the problem is in the #233 and #269 chars

 

The xsl that writes it is:

 

                                                <xsl:for-each select="//linea">

                                                 <fo:table-row>

                                                             <fo:table-cell number-columns-spanned="2">

                                                                       <fo:block text-align="center"
font-size="{//tampie}pt" font-family="Arial">              

                                                                                  <xsl:value-of
select="." disable-output-escaping="yes"/>

                                               </fo:block>                         
                                                                

                                                             </fo:table-cell>

                                                 </fo:table-row>                   
                           

                                               </xsl:for-each>                     
               

 

The value of <linea> strings are written in <xsl:value-of select="." disable-output-escaping="yes"/>

 

Thanks

 

 

  _____  

De: El Hage Camille [mailto:CAMILLE.ELHAGE@fr.glaverbel.com] 
Enviado el: jueves, 02 de diciembre de 2004 19:04
Para: fop-user@xml.apache.org
Asunto: RE: Can't generate Czech characters

 

Hi Santiago,

 

I have no problem generating czech characters. Do you have a sample of your xml / xsl? Also
did you register and embed the font types? You can check here:

http://xml.apache.org/fop/faq.html#pdf-embed-font

and here:

http://xml.apache.org/fop/fonts.html

 

hth

Camille

 

-----Original Message-----
From: Santiago Crespo Calvo [mailto:screspo@fullsix-spain.com]
Sent: jeudi 2 décembre 2004 18:53
To: fop-user@xml.apache.org
Subject: Can't generate Czech characters

Hello

 

I've problems generating PDF with Czech characters. I'm using FOP 0.2.5 and tried to setup:

 

+ Fonts (I've used Arial fonts from Czech Windows 2000)

+ Hyphenation (I've found cs set file)

 

But always the PDF returns the #  and the ? character.

 

¿Any idea?  

 

 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.804 / Virus Database: 546 - Release Date: 30/11/2004


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.804 / Virus Database: 546 - Release Date: 30/11/2004



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.804 / Virus Database: 546 - Release Date: 30/11/2004



Mime
View raw message