On Sunday 23 March 2025 20:26:28 Central European Standard Time alexandre schenberg wrote: > Hi. I am experiencing quite different text when using different freetype > libraries. The font anti-aliasing is being treated is very different. This > is easily visible inside some websites, although I can note small > differences in the menu of Gtk applications. As a demonstration, I attached > two images. Both shows sequences of letters and a sentence using different > fonts. Both images were captured inside the same Firefox version, but the > first one uses the system's default freetype, the second, a Freetype that I > built from scratch. I didn't touch the ftoption.h file or changed anything > in configure. > > So my goal is to make my freetype lib to render text in the same way as in > the first image. Feel free to ask anything.
The first one has subpixel rendering, the second does not. I think your mistake was not editing ftoption.h. You should use the defaults from your distro if you want similar results. Best regards Allan
