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

Invalid khmer font rendering #20

Open
madooding opened this issue Sep 6, 2017 · 1 comment
Open

Invalid khmer font rendering #20

madooding opened this issue Sep 6, 2017 · 1 comment

Comments

@madooding
Copy link

i have an issue when rendering khmer font, but i found this stuff. what can i do ?
Patch for khmer support in Pango

Valid rendering
screen shot 2560-09-07 at 01 27 44

Invalid rendering
screen shot 2560-09-07 at 01 28 16

@chearon
Copy link
Member

chearon commented Sep 7, 2017

Hi there,

See also Automattic/node-canvas#968

You might have to download Pango onto your system, apply the patch, then compile it yourself. Then you could npm install canvas instead of canvas-prebuilt. Shouldn't be too hard if you're on Linux.

I'll also consider distributing canvas-prebuilt with patched versions of Pango so that you don't have to do that. There's been a few other patches that people need but have not made it into mainstream Pango yet.

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