Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 Phoenix Edition v3.12.0 Released!
#26
@bplus @TerryRitchie I think what you are seeing is the change in the subpixel hinting behavior in newer versions of FreeType. Technically this would mean that any application that uses the current version of FreeType will have the same behavior.

That said, I think there is a way to tell FreeType to select a different hinting behavior with FT_LOAD_TARGET_xxx

https://freetype.org/freetype2/docs/hint...nting.html
https://freetype.org/freetype2/docs/hint...neral.html

The good part about all this is that _LOADFONT takes optional comma separated parameters:
handle& = _LOADFONT(fontFileName$, size&[, "comma_separated_parameters"][, fontIndex&]) 

So, we could easily introduce some new options for _LOADFONT that allows us to pick the hinting type we want.
We can perhaps use the older hinting behavior by default and let users use the newer behavior or FreeType default behavior if they want. 

Interesting stuff really. I'll deep drive into this when I get some time.
Reply


Messages In This Thread
RE: QB64 Phoenix Edition v3.12.0 Released! - by a740g - 03-01-2024, 02:04 PM



Users browsing this thread: 5 Guest(s)