Open jgonera opened 14 years ago
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.
Do you still have the issue with the latest version?
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.
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.
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.