- 最新
- 最多得票
- 最多評論
Hi @REDACTEDUSER
We're able to reproduce this issue also and have determined that this is being caused by the "pos" tag in the font XML file. Here's the contents of console.font:
<fontshader>
<font path="VeraMono.ttf" w="512" h="256"/>
<effect name="default">
<pass>
</pass>
<pass>
<color r="0" g="0" b="0" a="1"/>
<pos x="1" y="1"/>
</pass>
</effect>
<effect name="console">
<pass>
</pass>
<pass>
<color r="0" g="0" b="0" a="0.5"/>
<pos x="2" y="2"/>
</pass>
</effect>
</fontshader>
If you remove the "pos" tags in each of the (effect) "pass" fields, then the font should correctly wrap. This looks like a bug in the way the "pos" offset attribute is being applied during rendering.
If you don't need any of the "effect" functionality provided by the font system, you could create a new font file that uses the same font (for example, ConsoleNoEffect.font):
<fontshader>
<font path="VeraMono.ttf" w="512" h="256"/>
<effect name="default">
<pass>
</pass>
</effect>
</fontshader>
And that should wrap properly. Let us know if you still encounter issues and thanks again for reporting this!
This seems to have completely fixed the issue! I'll report back if anything else comes up. Thanks for helping so fast!
此貼文已關閉:已停用新增新答案、評論和投票功能。
相關內容
- 已提問 1 年前
- AWS 官方已更新 8 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前