play--pdf icon indicating copy to clipboard operation
play--pdf copied to clipboard

Polish characters disappear

Open jgonera opened this issue 15 years ago • 4 comments

PDF module "eats" Polish characters. It doesn't matter if the characters are in the template or passed in some variable - they just disappear. There is a meta tag with UTF-8 in the template and e.g. Spanish characters work fine. Of course for normal HTML pages generated by render() Polish characters are also properly displayed.

Polish characters are: ęóąśłżźćń

Interestingly, "ó" does not disappear. I suppose it's because it exists in other languages too.

jgonera avatar Jun 23 '10 10:06 jgonera

Specifying font path by yahp.FOP_TTF_FONT_PATH in application.conf works (it uses other fonts then and shows Polish characters), but I guess it should also work without specifying external fonts.

jgonera avatar Jun 23 '10 10:06 jgonera

Do you still have the issue with the latest version?

FroMage avatar Jan 12 '11 11:01 FroMage

Just checked with the latest version from git and the problem persists. I guess the default font would have to be changed to fix this.

jgonera avatar Apr 19 '11 07:04 jgonera

I'm having a similar issue with cyrillic characters. However, I'm not familiar at all with flying saucer and this module. Could you give me a few hints on how to make this work ? I develop on Mac and deploy on Linux. From what I gathered it will matter but an explanation on either one of them should be enough.

dbroeglin avatar Nov 30 '12 04:11 dbroeglin