Comments (4)
To be international, please use English writing to describe your issue and title.
Thanks.
from jpgraph.
Uh, Google Translate didn't help much either
from jpgraph.
@ffflabs, I guess he wants the every sample has the Chinese introduction.
from jpgraph.
Hmm I wouldn't know how am I supposed to translate the examples, and it doesn't make sense to transliterate to chinese characters while preserving english. I'd make a fool of myself 😄
However, perhaps this issue is meant to address the usage of chinese fonts and not the language itself.
First and foremost: fonts such as simsun.ttc
and bkai00mp.ttf
are HUGE and I cannot add 15M of statics just for the sake of an example. BUT, I made a working example:
You just need to gunzip these fonts to src/fonts/
Caveat: bkai00mp works fine. simsun only works if you set it as "user defined font" (see above). If you set it as FF_SIMSUN
(which would make much more sense...) there's a hardcoded encoding conversion that breaks stuff.
from jpgraph.
Related Issues (20)
- Error in Laravel HOT 1
- Fatal errors in Image class getWidth and getHeight static methods
- Undefined constant "Amenadiel\JpGraph\Graph\TITLEBKG_FILLSTYLE_SOLID"
- Deprecation notices in PHP 8.1
- Is there a way to add margin to the bars of a GroupBarPlot?
- get width and height from legend
- Not support in php v8.2
- line graph not updating styling on multi yaxis
- fix HOT 2
- DotEnv should be optional HOT 1
- PHP 7.4 Trying to access array offset on value of type null HOT 3
- Display chart at a specific location on the page HOT 2
- use persian word
- cannot find fonts HOT 5
- PHP 7.4 not supported HOT 4
- imagecolorresolvealpha() expects parameter 2 to be int, string given HOT 1
- composer autoload deprecation warnings HOT 4
- GetPlotsYMinMax() error
- Check for invalid GD image resource not compatible with PHP 8.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpgraph.