You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2024/01/13 20:30:30 UTC

[Issue 128583] Crash at startup in fontconfig functions when certain fonts are installed

https://bz.apache.org/ooo/show_bug.cgi?id=128583

Arrigo Marchiori <ar...@yahoo.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |4.1.15
    Confirmation in|                            |
          Developer|---                         |Simple
         Difficulty|                            |
                 CC|                            |ardovm@yahoo.it

--- Comment #1 from Arrigo Marchiori <ar...@yahoo.it> ---
The crash is in function FcFontMatch(), called by method 
FontCfgWrapper::addFontSet(FcSetName) in file
main/vcl/unx/generic/fontmanager/fontconfig.cxx

According to the Fontconfig documentation [1], we should invoke
FcDefaultSubstitute() first, and apparently we do not.

Adding that invocation seems to fix the problem in my own test case.

1:
https://www.freedesktop.org/software/fontconfig/fontconfig-devel/fcfontmatch.html

-- 
You are receiving this mail because:
You are the assignee for the issue.