How/where is font hinting performed in libreoffice?

Caolán McNamara caolan.mcnamara at collabora.com
Fri Oct 13 15:23:51 UTC 2023


On Fri, 2023-10-13 at 14:24 +0200, Frank Steiner wrote:
> But from looking at the libreoffice source code, it seems that it
> just relies on the settings it finds in fontconfig.

Not quite, we override these via cairo_font_options_set_* in some
cases, so you might be looking for 
vcl/unx/generic/gdi/cairotextrender.cxx
and CairoTextRender::DrawTextLayout wrt CAIRO_HINT_STYLE_SLIGHT


More information about the LibreOffice mailing list