Standard-Toolkit icon indicating copy to clipboard operation
Standard-Toolkit copied to clipboard

[Bug]: Font being used by "Professional" theme is pants !

Open Smurf-IV opened this issue 1 year ago • 2 comments

Using Beginning of Jabs Alpha and the Ribbon example. The Font used by the "Professional" themes is very bad:

image

Compared this with the Office 2007 theme font: image

Smurf-IV avatar Jan 28 '24 07:01 Smurf-IV

Maybe use Arial as the default for professional, or is this something else?

PWagner1 avatar Jan 28 '24 08:01 PWagner1

Office 2007 default font was Calibri

tobitege avatar Jan 28 '24 08:01 tobitege

Hi @Wagnerp,

It looks like this one has been tackled?

giduac avatar Jun 18 '24 06:06 giduac

Hi @Wagnerp,

It looks like this one has been tackled?

@giduac

Append to v90 changelog list.

PWagner1 avatar Jun 20 '24 17:06 PWagner1

Hi @Wagnerp,

It looks like this one has been tackled?

No, Still the same: image

Smurf-IV avatar Jun 22 '24 12:06 Smurf-IV

Note: 2007 Professional Blue looks okay: image

Smurf-IV avatar Jun 22 '24 13:06 Smurf-IV

@Smurf-IV Is it something to do with the text rendering?

PWagner1 avatar Jun 22 '24 13:06 PWagner1

@Smurf-IV Is it something to do with the text rendering?

But that should be affected regardless of the font.

And why in some apps does it not do it ? e.g.: https://github.com/giduac/Standard-Toolkit-Demos/tree/ribbon-controls-themes-test Demo Solution: Krypton Ribbon Examples 2022 (Debug) - Nuget Project: Application Menu 2022 TK: Latest Nightly 169

Smurf-IV avatar Jun 22 '24 13:06 Smurf-IV

@Smurf-IV Is it something to do with the text rendering?

But that should be affected regardless of the font.

And why in some apps does it not do it ? e.g.: https://github.com/giduac/Standard-Toolkit-Demos/tree/ribbon-controls-themes-test Demo Solution: Krypton Ribbon Examples 2022 (Debug) - Nuget Project: Application Menu 2022 TK: Latest Nightly 169

Is it something in the app manifest?

PWagner1 avatar Jun 22 '24 14:06 PWagner1

Is it something in the app manifest?

Nope, they are the same, as is the program.cs. No clues in the designer file either...

Smurf-IV avatar Jun 22 '24 14:06 Smurf-IV

Found the "Problem". It will be a breaking change. image

Smurf-IV avatar Jun 22 '24 14:06 Smurf-IV

Found the "Problem". It will be a breaking change. image

What was it?

PWagner1 avatar Jun 22 '24 14:06 PWagner1

What was it?

Usage redirect for this: image https://learn.microsoft.com/en-us/dotnet/api/system.drawing.text.textrenderinghint?view=net-8.0

Which is "Not" appropriate for a theming suite like this !!

Smurf-IV avatar Jun 22 '24 14:06 Smurf-IV