+1 vote

It looks like accented latin characters (á é í ó ú for example) cannot be typed in a LineEdit inside a project exported to HTML. It works OK in the development environment.

Any ideas? Do we have to configure something to fix this? Is this a bug?

in Engine by (13 points)

I have exact same problem. my custom font supports latin extended and works on labels flawlessly. but with LineEdit typing not working. it changes them to another characters like ; or /

1 Answer

0 votes

Try using a custom DynamicFont for your GUI rather than the default project font (which is a bitmap font with a limited character set). You can specify a custom font to use in the Project Settings.

by (12,721 points)

Thanks for your answer. It looks like the problem is not with the font itself because if we set an accented character as the LineEdit placeholder then it is correctly displayed. The problem is that you cannot type an accented character inside the HTML LineEdit (it is replaced by the character without the accent). You can reproduce the problem here:


We are using Kenney Future Narrow font which has accented characters.

It seems that the problem are the dead keys, which are used to type accented characters, and apparently they are being ignored by the HTML LineEdit. Any idea about how to workaround this?

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.