运行时图片上会提示xxx.ttf不存在,可以去网上下载相关字体 win下是放在C:/WINDOWS/Fonts linux 中运行时若提示找不到字体你可以直接放到jpgraph目录中的fonts下即可。