+Win8 Segoe font numericals

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1050
Joined: 2004-07-29, 11:00 UTC

+Win8 Segoe font numericals

Post by *ZoSTeR »

*not really a bug, but no suggestion either*

With Windows 8.x the Segoe UI semibold font uses proportional numericals, so number columns look horrible in TC.
First I thought that MS messed up again (which they did) but I learned that there's more to the story.

The OpenType format allows for both proportional and tabular numericals in one font.
Turns out that's exactly what MS implemented in the new Segoe version.

This seem to be only selectable in WPF/XAML applications.
See: Link1 Link2

But maybe there's a way to use this in Delphi/TC or find a workaround without having to install the old Win7 version.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It seems to be possible with Uniscribe. I will try that.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Microsoft recommends using DirectWrite instead of Uniscribe - they both might do the job. I would try DirectWrite for performance reasons.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I have implemented it with Uniscribe now - please try it! For now, only the size and date/time fields in the main program have been changed.
Author of Total Commander
https://www.ghisler.com
User avatar
norfie²
Power Member
Power Member
Posts: 1038
Joined: 2006-02-10, 07:27 UTC

Post by *norfie² »

It looks for dates much better than before. :)
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
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