Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incorrect text rendering in GDI mode
#11
(08-11-2023, 02:10 PM)maa3 Wrote: Definitely yes.

There is no problem - there is only one correct gamma value, the rest are wrong.
If you're a calculator developer and some users want 2+2=5, would you do that?
You can use font gamma tester.
Firefox show correct gamma, Cent browser not:
Firefox on the left? so switch the directwrite flag to enable and you will get the same rendering
what is the problem? nothing needs to be changed, everything is already there
on the right screenshot, the test gives the correct answer ClearType enabled: FAIL set fonts in windows, you can try this tweak
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RegEdit]
"FontFace"="Tahoma"
"FontSize"=dword:00000050

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Segoe UI (TrueType)"=""
"Segoe UI Bold (TrueType)"=""
"Segoe UI Bold Italic (TrueType)"=""
"Segoe UI Italic (TrueType)"=""
"Segoe UI Light (TrueType)"=""
"Segoe UI Semibold (TrueType)"=""

[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothingType"=dword:00000001

[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"CaptionFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
00,00,00,01,00,00,00,00,54,00,61,00,68,00,6F,00,6D,00,61,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"IconFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
00,00,01,00,00,00,00,54,00,61,00,68,00,6F,00,6D,00,61,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"MenuFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,\
00,00,01,00,00,00,00,54,00,61,00,68,00,6F,00,6D,00,61,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"MessageFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
00,00,00,01,00,00,00,00,54,00,61,00,68,00,6F,00,6D,00,61,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"SmCaptionFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,\
00,00,00,00,01,00,00,00,00,54,00,61,00,68,00,6F,00,6D,00,61,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"StatusFont"=hex:F5,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,\
00,00,00,01,00,00,00,00,54,00,61,00,68,00,6F,00,6D,00,61,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
(I have the same as in the second screenshot, by the way, both with and without directwrite flag, and in firefox the same thing)
Reply
#12
(08-11-2023, 02:10 PM)maa3 Wrote: Definitely yes.

There is no problem - there is only one correct gamma value, the rest are wrong.
If you're a calculator developer and some users want 2+2=5, would you do that?
You can use font gamma tester.
Firefox show correct gamma, Cent browser not:

you are definitively WRONG. It's like saying there is only one color everybody should love/use !
Everybody has its own perception with its own eyes (which are not yours), on its own hardware, with its own settings


"Good" gamma value is absolutely linked to the feeling of each person.

the proof of this ?
  • people have asked centbrowser team to lower the gamma value years ago
  • now you're asking the exact opposite.
  • (for my part, I don't see anything wrong with your first screenshot)

In fact, if there was only one "good" gamma value, we should not have this conversation, at all.
The only good gamma value is the one a user is able to setup by himself. If it's doable without a lot of modifications, what's the problem to let people decide by themselves ?

You can change it on your TV, on your computer screen, on some dark games, why not on Centbrowser after all ?


ps : if it was so binary, I should say : use directWrite ! This is the only good way to use CentBrowser  Rolleyes
Reply
#13
(08-11-2023, 02:10 PM)maa3 Wrote: Definitely yes.

There is no problem - there is only one correct gamma value, the rest are wrong.
If you're a calculator developer and some users want 2+2=5, would you do that?
You can use font gamma tester.
Firefox show correct gamma, Cent browser not:
I'm not familiar with this parameter, but it seems that it is not necessarily a fixed value.
We may need to add an option for this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)