sivarajankumar / alivepdf

Automatically exported from code.google.com/p/alivepdf
0 stars 0 forks source link

Special Characters "Ä,Ö;Ü,Ö" and writeText disabling wordwrap #166

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

Just trying to output some german text with your library. Everything is working 
as planned until I try 
to write a special character like äöü. When I do this the wordwrap is 
somehow messed up.

How can I get around this problem?

Original issue reported on code.google.com by werb...@frauneder.com on 3 Nov 2009 at 11:30

GoogleCodeExporter commented 8 years ago
This issue seems to be present in writeFlashHtmlText also. The issue seems to 
be that accented characters 
are missing from the FontMetrics class.

For now I fixed the issue in the writeFlashHtmlText function by modifying line 
2868 from: 

l += cw[c];

to 

l += (cw[c] != undefined) ? cw[c] : 300;

Original comment by jens.wegar@gmail.com on 4 Nov 2009 at 5:03

GoogleCodeExporter commented 8 years ago
Hi guys,

Yes this bug has been fixed in the latest drop from the SVN (0.1.5 RC).

Thanks for using AlivePDF ;)

Thibault

Original comment by thibault.imbert on 24 Jan 2010 at 2:24

GoogleCodeExporter commented 8 years ago
As stated in the previous comment, the issue is fixed.

Original comment by felix.ge...@gmail.com on 15 Oct 2011 at 10:09