[Libreoffice] [RESOLVED] vcl: Incomplete font substitution when FontConfig matches italic font

Caolán McNamara caolanm at redhat.com
Wed Oct 19 08:10:54 PDT 2011


On Fri, 2011-10-07 at 19:56 +0200, Maxim Iorsh wrote:
> Bug URL: https://bugassistant.libreoffice.org/show_bug.cgi?id=41556

I struggled with this for a while, but finally figured it out. For us at
least the bottom layer FontConfig substitution actually does do the
right thing, except the result goes into a cache and gets handed back
out.

Problem is that the cache is just on the *name*, i.e. takes original
details and sets the replacement name, and leaves everything the same.
So in an original:non-italic -> replacement:italic substitution, the
italic property of the result gets lost on the second, etc, cache
lookups.

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3f9a28f1f704967446b411b3b7e176deeb78ca83

should do the right thing now.

C.



More information about the LibreOffice mailing list