- 新しい順
- 投票が多い順
- コメントが多い順
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!
この投稿はクローズされています。新しい回答、コメント、投票の追加はできません。
関連するコンテンツ
- 質問済み 6年前
- AWS公式更新しました 1年前
- AWS公式更新しました 2年前