Re: How/where is font hinting performed in libreoffice?

2023-11-14 Thread Caolán McNamara
On Tue, 2023-11-14 at 16:40 +0100, Frank Steiner wrote: > Anyway, for me all fonts are totally fine with medium hinting, so I'd > be way happier with it because I could use microsoft fonts in the > thinner version. > > People who explicitely set a font hinting style usually know what > they are

Re: How/where is font hinting performed in libreoffice?

2023-11-14 Thread Frank Steiner
Thanks a lot for your explanations! Caolán McNamara wrote: That then doesn't give stable positions for text so they change relatively depending on zoom or when the contents of the text change as you type. aka "dancing characters" or "wiggling text" I can see that indeed using my recompiled

Re: How/where is font hinting performed in libreoffice?

2023-11-12 Thread Caolán McNamara
On Sun, 2023-11-12 at 14:28 +0100, Frank Steiner wrote: > Hi, > > could someone working on the font code at least give a statement why > CAIRO_HINT_STYLE_MEDIUM/FULL is forced  to SLIGHT if > bSubpixelPositioning is true? Why aren't user allowed to use > MEDIUM/FULL style anymore? Slight/Light

Re: How/where is font hinting performed in libreoffice?

2023-11-12 Thread Frank Steiner
Hi, could someone working on the font code at least give a statement why CAIRO_HINT_STYLE_MEDIUM/FULL is forced to SLIGHT if bSubpixelPositioning is true? Why aren't user allowed to use MEDIUM/FULL style anymore? Thanks a lot! cu, Frank -- Dipl.-Inform. Frank Steiner Web:

Re: How/where is font hinting performed in libreoffice?

2023-10-15 Thread Frank Steiner
Hi, Caolán McNamara wrote: 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 thanks for pointing me to cairotextrender.cxx! I've analyzed

Re: How/where is font hinting performed in libreoffice?

2023-10-13 Thread Caolán McNamara
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

How/where is font hinting performed in libreoffice?

2023-10-13 Thread Frank Steiner
Hi, while trying to debug the problem described in https://bugs.documentfoundation.org/show_bug.cgi?id=157348 further I'd like to understand how font rendering w.r.t. hinting is done in libreoffice for Linux. In 7.4.7, Microsoft fonts like Arial are shown with thin lines when