Java中的TrueType解析? [英] TrueType parsing in Java?

查看:279
本文介绍了Java中的TrueType解析?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个简单的库,可以解析一个真正的类型字体文件,并给我一个向量/点列表我自己渲染它?我正在谈论类似于freetype的东西,但是对于Java。

解决方案

Java可以做到这一点。前段时间,我探索了这个领域。



我用处理以进行简单/快速的图形渲染,但访问字体信息的代码是纯Java。所以也许我的小程序可能会对你感兴趣。我只是贴在 Pastebin


Is there a simple library that can parse a True Type font file and give me a list of vectors/points for me to render it myself? I'm talking about something similar to freetype, but for Java.

解决方案

Java can do that out of the box. Some time ago, I explored this field.

I used Processing for easy/fast graphic rendering, but the code to access font information is pure Java. So maybe my little program can be of interest for you. I just pasted it in Pastebin

这篇关于Java中的TrueType解析?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆