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

export image error #41

Closed
nswish opened this issue Feb 8, 2014 · 7 comments
Closed

export image error #41

nswish opened this issue Feb 8, 2014 · 7 comments
Labels

Comments

@nswish
Copy link

nswish commented Feb 8, 2014

If I write text with Chinese, the text in the exported image will be wrong encoded

@ondras ondras added the bug label Feb 8, 2014
@ondras
Copy link
Owner

ondras commented Feb 8, 2014

Almost certainly caused by some font-related issues in my backend's PhantomJS and/or webkit.

@nswish can you please:

  1. provide a sample map with Chinese text,

  2. suggest a debian package with an appropriate font?

@nswish
Copy link
Author

nswish commented Feb 8, 2014

you can try this map:
{
"root": {
"id": "upyqynwi",
"text": "中文",
"layout": "map"
},
"id": "biircteu"
}

@nswish
Copy link
Author

nswish commented Feb 8, 2014

And the font named “WenQuanYi":
https://github.com/layerssss/wqy

@ondras
Copy link
Owner

ondras commented Feb 10, 2014

@nswish I am looking for a debian font package (http://www.debian.org/distrib/packages), not a raw font file.

@nswish
Copy link
Author

nswish commented Feb 13, 2014

You can found the debian font package of "WenQuanYi" is at:
https://packages.debian.org/sid/xfonts-wqy

The install command:
sudo apt-get install xfonts-wqy

@ondras
Copy link
Owner

ondras commented Feb 13, 2014

Does not work. Filed an issue against PhantomJS: ariya/phantomjs#11965

@ondras
Copy link
Owner

ondras commented Oct 30, 2021

Exporting images should work once again! See #134 for more info.

@ondras ondras closed this as completed Oct 30, 2021
ondras added a commit that referenced this issue Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants