chengse66 / alivepdf

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

Hungarian double accented (hungarumlaut) characters don't work with EmbeddedFont #318

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Convert TTF font file to AFM with ttf2pt1 (3 options: default settings/-l 
latin2/-L cp1250.map)
2. Embed new font in AlivePDF with codepage cp1250
3. Write text in pdf: "Árvíztűrő tükörfúrógép"

What is the expected output? What do you see instead?
Expected: Árvíztűrő tükörfúrógép
Output: Árvízturo tükörfúrógép

What version of the product are you using? On what operating system?
Version 0.1.5 [RC] on Win XP

Please provide any additional information below.
character codes for hungarumlaut characters:
ű (369)
Ű (368)
ő (337)
Ő (336)

Problem still exists if font converted with ttf2pt1 using iso-8859-2 map file 
and codepage in EmbeddedFont is set to iso-8859-2 (by loading the apropriate 
.map file).

Original issue reported on code.google.com by kurucz.g...@gmail.com on 3 Jun 2011 at 3:16