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

Any plan to support chinese chars ? #3

Closed
Purelightme opened this issue Mar 1, 2021 · 3 comments
Closed

Any plan to support chinese chars ? #3

Purelightme opened this issue Mar 1, 2021 · 3 comments

Comments

@Purelightme
Copy link

chinese chars can not be rendered normally.

test.go:

package main

import "fmt"

func main()  {
	fmt.Println("hello你好")
}

test.png:
test

@matsuyoshi30
Copy link
Owner

Thanks for reporting. I'll update for supporting CJK, so wait for a while please.

@matsuyoshi30
Copy link
Owner

@Purelightme HI. Now, you can generate an image from code by specifying the font that supports Chinese characters from your system.

germanium --font 'Ricty-Regular' testdata/main.go

output

@Purelightme
Copy link
Author

@matsuyoshi30 Great.Very Thankful.

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