Project

General

Profile

The font on Edit Box is different than what I set

Added by code code 10 months ago

Hello,

I set my EditBox font to Consolas, and I noticed there is difference on how the font looks while it is being typed (before pressing Enter) and after it is inputted (after pressing Enter).

While I was typing, the font on Edit Box looks like this:

After I press Enter, then if I press Up on keyboard to show the input history, it looks like this:

Is it possible to make the font looks the same? Did I make any mistake when configuring the font? I made the font change from Tools - Options - Font & Size and choose Editbox.

Thanks


Replies (4)

RE: The font on Edit Box is different than what I set - Added by Per Amundsen 10 months ago

I am not able to reproduce this, but you can try another font (only truetype fonts) or this https://dev.adiirc.com/issues/5790#note-7

RE: The font on Edit Box is different than what I set - Added by code code 10 months ago

I found the cause, it's because I'm using Japanese IME

When using Japanese IME, you can quickly toggle between Japanese character and English character:

Japanese

English

Turns out if I use the English character from Japanese IME, the Editbox will have that problem.

When I switched to English (US Keyboard) input method, the problem doesn't happen.

FYI, I always use English character from Japanese IME for my daily use, and this font problem doesn't happen on Hexchat.

Steps to reproduce:

1. Switch to Japanese IME and toggle the English character.
2. On AdiIRC, join a channel
3. On Editbox, starts typing. The Editbox uses different font than the one you set.
4. Leave the channel (type /part)
5. Switch to English (US Keyboard) input method
6. Join a channel
7. Starts typing on Editbox. The Editbox uses the correct font, based on your settings.

RE: The font on Edit Box is different than what I set - Added by Per Amundsen 10 months ago

I thought that might be the case, the richtextbox which the editbox is based on, uses dual fonts to support characters in other languages.

Unfortunately, I'm not aware of a way to fix that without disabling dual fonts and IME support.

RE: The font on Edit Box is different than what I set - Added by code code 10 months ago

Oh ok, no problem. It can be solved easily by switching to English (US Keyboard) then switching back.

Cheers

    (1-4/4)