Scale a Bitmapfont in LibGDX(在 LibGDX 中缩放位图字体)
问题描述
如何在 LibGDX 中缩放 Bitmapfont 对象?似乎 setScale 方法不再可用.
How can I scale a Bitmapfont object in LibGDX? It seems the method setScale is no longer available.
推荐答案
不建议缩放Bitmap字体,因为放大后看起来像素化(我认为这很难看)
It is not recommended to scale Bitmap font, because it looks pixlated when enlarged(which I believe is ugly)
建议使用 freetype generator 调整字体大小
It is recommended to use freetype generator for resizing your fonts
如果还想用bitmapFont Tenfour04 就对了
If you still want use bitmapFont Tenfour04 is correct
这篇关于在 LibGDX 中缩放位图字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 LibGDX 中缩放位图字体
基础教程推荐
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
