登录
首页 » J2ME » FontExporter:将指定文件包含的文本,用指定的字体和大小导出到字库。 <br><br>PicFont:在另一个系统显示字库,可...

FontExporter:将指定文件包含的文本,用指定的字体和大小导出到字库。 <br><br>PicFont:在另一个系统显示字库,可...

于 2022-03-20 发布 文件大小:11.72 kB
0 66
下载积分: 2 下载次数: 1

代码说明:

FontExporter:将指定文件包含的文本,用指定的字体和大小导出到字库。 PicFont:在另一个系统显示字库,可以将上面导出的文本,用同样的字体和大小显示出来。使用的时候,先用 FontExporter 将图片字库导出,eg.java util.loc.FontExporter 宋体 12 text.xml 0 FL12然后在J2ME工程里面加入 PicFont.java,Lib.java,DataReader.java,创建PicFont对象,载入图片字用PicFont对象的 load()方法。画图片字用drawChar()方法。目前图片字支持各种字体,大小是1~32像素,渐变、阴影特效。-FontExporter: the specified file contains the text, using the specified font and font size of export. PicFont: show the font in another system, you can export the text above with the same font and size displayed. Use when FontExporter will first export the picture font, eg. java util.loc.FontExporter Song 12 text.xml 0 FL12 Then add it in the J2ME project PicFont.java, Lib.java, DataReader.java, create PicFont object, load the word picture PicFont object using load () method. Draw pictures with words drawChar () method.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103939会员总数
  • 12今日下载