#PB_Font_HighQuality in v6LTS

Just starting out? Need help? Post your questions and find answers here.
rmgregory243
New User
New User
Posts: 3
Joined: Tue Jul 19, 2022 10:11 am

#PB_Font_HighQuality in v6LTS

Post by rmgregory243 »

Is it at all possible that #PB_Font_HighQuality during Windows font creation is not setting the necessary values in the LOGFONT structure? This potential bug shows up when creating a clone of the system font, for example, where the OS GetObject_ procedure is used to retrieve the LOGFONT structure and then LoadFont is used to create a high-quality font of the same name and size. In theory, the two fonts should appear visually identical, yet they do not.

The behavior was first discussed some years ago (see https://www.purebasic.fr/english/viewto ... 13&t=64602 ) but was not present AFAIK in v5LTS.
Fred
Administrator
Administrator
Posts: 16581
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: #PB_Font_HighQuality in v6LTS

Post by Fred »

Can you be more specific ? HighQuality flag just set PROOF_QUALITY instead of DEFAULT_QUALITY when using CreateFont(), see: https://learn.microsoft.com/en-us/windo ... reatefonta . May be you expecting something else ?
Post Reply