Lister bug with OpenType fonts

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[OT]

Post by *petermad »

[OT]
Time to upgrade?
Well, I have a work Labtop with LCD, and all the monitors at work are LCD. I must say that I am not that impressed, compared to my old Trinitron CRT monitor. So, no, not yet ;-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
dott
Senior Member
Senior Member
Posts: 285
Joined: 2007-03-04, 00:58 UTC
Location: La Plata, Argentina

Post by *dott »

BTW, how can anybody work with Cleartype enabled - I get dizzy looking at all that fuzzyness.
Screenshot1 Screenshot2
ClearType will only work on an LCD. Time to upgrade? :wink:
In my SAMUSUNG SyncMaster 794MbPlus Flat CRT
Probablemente no
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Here is my screenshot - the fuzzyness is obviously worst with the bold font, which I prefer in my file panels:

http://madsenworld.dk/tcmd/cleartype.png

Look for example at the extension "Old" in the fourth file - The "O" and the "l" are completely fused when ClearType is enabled!
Last edited by petermad on 2007-07-19, 13:09 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
now
Member
Member
Posts: 181
Joined: 2006-11-01, 08:34 UTC

Post by *now »

2petermad

Well, the menu font is a lot clearer in my opinion. It’s all a matter of what you prefer, of course. ClearType takes a while to get used to, but I think most people find it a lot better once the initial “blurryness” has faded. Or something like that.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, such fonts aren't supported for the Ansi and Ascii settings.
I am trying to find some reasoning behind this statement.
It was only refering to the non-fixed width font. ANSI and ASCII mode officially support only fixed width fonts, the ones which are offered to choose with the font choose dialog.
Cleartype causes the problem!
I see - I haven't tested that function with Cleartype yet - I hate the blurry look of Cleartype.

The problem here is that I get the right width of the characters, but Cleartype "smears" them to a larger width to create the Cleartype effect...
Author of Total Commander
https://www.ghisler.com
User avatar
now
Member
Member
Posts: 181
Joined: 2006-11-01, 08:34 UTC

Post by *now »

You’d think that the text/font measuring functions like GetTextExtentPoint() would work with ClearType, but perhaps they don’t? I mean, the ClearType stuff is all hidden under functions like TextOut() (for example), so the measuring should be correct as well. Or are you using something else?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I could fix it now by erasing one more pixel to the left and right of the measured text. Cleartype seems to use these additional pixels to draw the extra "smoothed" pixels.
Author of Total Commander
https://www.ghisler.com
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

2ghisler(Author)
Thanks for taking care :wink:
TC for Linux please!
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2ghisler
The "right" solution, IMHO, would be not to erase some pixels to the left/right, but to redraw the whole client area when change occurs...
User avatar
Flint
Power Member
Power Member
Posts: 3501
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Alextp wrote:The "right" solution, IMHO, would be not to erase some pixels to the left/right, but to redraw the whole client area when change occurs...
I'm afraid this would cause lots of flickering...
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2Flint
I don't think so... UV (and also most of editors) repaint the whole client area on every text change - no flickering at all, Windows has internal buffer for this.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The "right" solution, IMHO, would be not to erase some pixels to the left/right, but to redraw the whole client area when change occurs...
No, with Cleartype, this would indeed cause a LOT of flickering - you can't just (transparently) overwrite the text, because the halftone parts would become darker and darker then!

I'm not really erasing the pixels, I'm marking them for repaint.
Author of Total Commander
https://www.ghisler.com
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

2ghisler(Author)
Sorry, I don't understand this. But if you tested it, OK, let's erase the pixels.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Fixed in TC 7.02 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks. :)
Author of Total Commander
https://www.ghisler.com
Post Reply