Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with special characters #185

Closed
rannt opened this issue Nov 20, 2014 · 4 comments
Closed

Problem with special characters #185

rannt opened this issue Nov 20, 2014 · 4 comments

Comments

@rannt
Copy link

rannt commented Nov 20, 2014

Hi

I'm using Slovenian language on my magento store. There is a problem with special letters in pdf output such as č, ć and so on.

I was checking out Model/Engine/Abstract.php, but the variable $encoding is set to utf8, as it should be. How can I fix the problem?

Thank you!

@sprankhub
Copy link
Member

It may be a problem with the font. You could try to upload your own font which has all the special symbols in it in the backend (if you use the latest version).
What happens with these letters? Could you provide a screenshot please?

@rannt
Copy link
Author

rannt commented Nov 20, 2014

The letters are simply missing; see the attached image. I guess one of the common web fonts is used to generate pdf documents, so there should not be any problems?

encoding

@rannt
Copy link
Author

rannt commented Nov 20, 2014

I've uploaded Open Sans font and everything seems to be ok now. But the problem with the default font still exists.

Thank you

@sprankhub
Copy link
Member

Just tested this. It is indeed a problem with the font. We use Zend's standard Helvetica, which does not have these symbols. Hence, you have to find and upload a font which:

  • supports these characters
  • works together with Zend (which is not so easy (but we cannot change that), I was successful with the font "Cantarell")

You can find free fonts under http://www.fontsquirrel.com/fonts/list/find_fonts. You can also filter by language there.

We would be very thankful for a review on Magento Connect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants