wcharczuk / go-chart

go chart is a basic charting library in go.
MIT License
3.99k stars 326 forks source link

chinese font error with image labeled "x" #84

Open waleson opened 6 years ago

waleson commented 6 years ago

example "twopoint" ,after changed the yaxies label to chinese ,the output.png seem abnormal with font "x",

like https://github.com/wcharczuk/go-chart/issues/50 so , maybe we should add some example about setting font.

I don't know how to change the "font.go" file .

and i dont know whether the font support Font-awesome ? who can tell me ,thank you

ghj1976 commented 5 years ago

example: https://www.cnblogs.com/ghj1976/p/11356025.html