mIRC Home    About    Download    Register    News    Help

Print Thread
Major UTF8 text size bug #204585 24/09/08 11:58 PM
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
Hello, I noticed UTF8-encoded text seems to be much smaller than before.

Took screenshots from 6.2 and 6.34 clients comparing the text size.

Font Settings: Tahoma, size 8 on both clients

mIRC 6.2 (up) vs the latest mIRC 6.34



Maybe the following change caused the bug? From 6.33 changelog:
11. Fixed text display bug due to incorrect text width measurement with some fonts/characters, now using new method to measure text width.

I'm forced to use the old version of mIRC until this is fixed.

Last edited by Daimie; 24/09/08 11:58 PM.
Re: Major UTF8 text size bug [Re: Daimie] #204601 25/09/08 11:12 AM
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
Oops I was tired last night, of course, it's mIRC 6.34 (up) and mIRC 6.2 below.

Notice how the basic ASCII-text is unaffected by this bug.

Re: Major UTF8 text size bug [Re: Daimie] #204603 25/09/08 01:40 PM
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
Suddenly the bug disappeared in 6.34, no idea what on earth happened.

Unless it occurs again, consider this as a false report.

If someone has similar experiences, please post here.

Re: Major UTF8 text size bug [Re: Daimie] #204617 25/09/08 09:15 PM
Joined: Jun 2008
Posts: 17
S
Siefer414 Offline
Pikka bird
Offline
Pikka bird
S
Joined: Jun 2008
Posts: 17
Nice triple post.

Re: Major UTF8 text size bug [Re: Siefer414] #204621 26/09/08 12:08 AM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Originally Posted By: Siefer414
Nice triple post.

Nice worthless post.

Re: Major UTF8 text size bug [Re: Collective] #204625 26/09/08 01:25 AM
Joined: Jun 2008
Posts: 17
S
Siefer414 Offline
Pikka bird
Offline
Pikka bird
S
Joined: Jun 2008
Posts: 17
Same to you. wink

Re: Major UTF8 text size bug [Re: Siefer414] #204681 27/09/08 09:52 PM
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
Well something clearly triggers the bug in 6.34, I just don't know yet what exactly.

Re: Major UTF8 text size bug [Re: Daimie] #204682 27/09/08 10:43 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Has it reoccurred since your previous post?

Have you recently installed any software that may have included additional fonts?

Re: Major UTF8 text size bug [Re: Collective] #204691 28/09/08 12:33 PM
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
Originally Posted By: Collective
Has it reoccurred since your previous post?
Yes, once.

Originally Posted By: Collective
Have you recently installed any software that may have included additional fonts?
Nope, and I always use Tahoma (font size 8) on mIRC.

Re: Major UTF8 text size bug [Re: Daimie] #204710 29/09/08 01:06 AM
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
The bug is active again, it also occurs in mIRC 6.33 but not in 6.32 or lower.

Re: Major UTF8 text size bug [Re: Daimie] #204719 29/09/08 08:01 AM
Joined: Dec 2002
Posts: 4,727
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,727
This was due to the fonts being sized incorrectly in older versions, which made them appear larger. With a number of character sets this resulted in the characters being chopped at the top or bottom. The newer versions of mIRC resolve this issue, however it means that you need to use slightly larger font settings to view the same size text :-)

Re: Major UTF8 text size bug [Re: Khaled] #204732 29/09/08 08:01 PM
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
Originally Posted By: Khaled
This was due to the fonts being sized incorrectly in older versions, which made them appear larger. With a number of character sets this resulted in the characters being chopped at the top or bottom. The newer versions of mIRC resolve this issue, however it means that you need to use slightly larger font settings to view the same size text :-)

Hello Khaled and thank you for your hard work on mIRC! To show my support I recently bought my own copy of mIRC smile

The font change you made in 6.33 isn't working for UTF-8 as it shrinks the non-ascii characters vertically (but not horizontally!) which makes the characters out of proportion and very hard to read even if you increase the font size.

Something causes the mIRC (6.34 & 6.33) to switch between the old and new font behaviour (of non-ascii text) so please note this shrinking problem is not active all the time.

If you cant figure out what causes this, please at least implement the old font behaviour as an option in the mIRC settings for the future mIRC versions, thank you.

Re: Major UTF8 text size bug [Re: Daimie] #207830 03/01/09 11:34 PM
Joined: Sep 2008
Posts: 10
D
Daimie Offline OP
Pikka bird
OP Offline
Pikka bird
D
Joined: Sep 2008
Posts: 10
Any plans to add an option for the old font behaviour? Thanks!

Re: Major UTF8 text size bug [Re: Daimie] #207833 04/01/09 02:38 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Is Khaled's proposed solution of increasing your font size not working?


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"