-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spacing is wrong when using the Thai language. #110
Labels
Comments
Yes unfortunately that is due to Ace editor not supporting non monospaced
fonts. It appears that the default multilangual font we currently have
doesn't support Thai local, so your browser is reverting to another font
which is not monospaced.
I could make it detect the users local and use a monospaced font targeting
Asian languages. Currently the Asian languages are not well covered by the
font we have
…On Tue, Dec 17, 2019, 1:45 PM NattyboyZ ***@***.***> wrote:
The font format is right but the spacing is wrong when using the Thai
language.
Thai font contains the upper and lower character that has 0 lengths and it
seems like Yarn just adds extra space to each of them.
example word
"สุขีสมบูรณ์"
it will turn into
"สุขีสมบูรณ์ "
(extra space)
[image: image]
<https://user-images.githubusercontent.com/686526/70999723-87ce7480-210c-11ea-8f25-fdcdd688d722.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/YarnSpinnerTool/YarnEditor/issues/110?email_source=notifications&email_token=ABRRWVM73WEP6ZETXGPXYV3QZDJYTA5CNFSM4J33V3AKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IBBUSKA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRRWVMRN7MLX2V2UV5XT4LQZDJYTANCNFSM4J33V3AA>
.
|
A better fix would be to replace Ace with monaco or some other editor that
works better, but that would require a huge refactoring
…On Wed, Dec 18, 2019, 12:06 AM Todor Imreorov ***@***.***> wrote:
Yes unfortunately that is due to Ace editor not supporting non monospaced
fonts. It appears that the default multilangual font we currently have
doesn't support Thai local, so your browser is reverting to another font
which is not monospaced.
I could make it detect the users local and use a monospaced font targeting
Asian languages. Currently the Asian languages are not well covered by the
font we have
On Tue, Dec 17, 2019, 1:45 PM NattyboyZ ***@***.***> wrote:
> The font format is right but the spacing is wrong when using the Thai
> language.
> Thai font contains the upper and lower character that has 0 lengths and
> it seems like Yarn just adds extra space to each of them.
>
> example word
> "สุขีสมบูรณ์"
> it will turn into
> "สุขีสมบูรณ์ "
> (extra space)
>
> [image: image]
> <https://user-images.githubusercontent.com/686526/70999723-87ce7480-210c-11ea-8f25-fdcdd688d722.png>
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/YarnSpinnerTool/YarnEditor/issues/110?email_source=notifications&email_token=ABRRWVM73WEP6ZETXGPXYV3QZDJYTA5CNFSM4J33V3AKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IBBUSKA>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABRRWVMRN7MLX2V2UV5XT4LQZDJYTANCNFSM4J33V3AA>
> .
>
|
do you know any monospace font that supports most asian languages and is free? |
FaultyFunctions
added
help wanted
Extra attention is needed
bug
Something isn't working
labels
Jan 22, 2021
hi. I came across a free monotype Thai font here TlwgTypott-ttf.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The font format is right but the spacing is wrong when using the Thai language.
Thai font contains the upper and lower character that has 0 lengths and it seems like Yarn just adds extra space to each of them.
example word
"สุขีสมบูรณ์"
it will turn into
"สุขีสมบูรณ์ "
(extra space)
The text was updated successfully, but these errors were encountered: