external/fontconfig/windowsfonts.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
New commits: commit 6deb08816ec1bbe514638a660253adb8beb4d5a9 Author: Tor Lillqvist <[email protected]> AuthorDate: Sat Nov 22 07:24:39 2025 +0100 Commit: Thorsten Behrens <[email protected]> CommitDate: Tue Dec 2 16:54:22 2025 +0100 Also log successfully opened fontconfig configuration files on Windows Change-Id: Idb12ad6c5bee5f72c411ae5df713b0c86330e654 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194611 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Thorsten Behrens <[email protected]> diff --git a/external/fontconfig/windowsfonts.patch b/external/fontconfig/windowsfonts.patch index 1c390cdc42e3..f1a795a950d8 100644 --- a/external/fontconfig/windowsfonts.patch +++ b/external/fontconfig/windowsfonts.patch @@ -85,6 +85,17 @@ well. FcConfigMessage (parse, FcSevereError, "SHGetFolderPathA failed"); goto bail; } +@@ -3169,7 +3169,9 @@ + name); + ret = FcFalse; + goto bail0; +- } ++ } else ++ fprintf (stderr, "Fontconfig: Successfully opened directory %s ", dir); ++ + /* freed below */ + file = (FcChar8 *)malloc (strlen ((char *)dir) + 1 + FC_MAX_FILE_LEN + 1); + if (!file) { @@ -3363,9 +3363,6 @@ FcStrBuf reason; @@ -95,6 +106,16 @@ well. filename = FcConfigGetFilename (config, name); if (!filename) { +@@ -3407,7 +3407,8 @@ + FcStrBufString (&reason, (FcChar8 *)"Unable to open "); + FcStrBufString (&reason, realfilename); + goto bail1; +- } ++ } else ++ fprintf (stderr, "Fontconfig: Successfully opened file %s ", realfilename); + + do { + len = read (fd, buf, BUFSIZ); @@ -3488,23 +3488,6 @@ return FcConfigParseAndLoadFromMemoryInternal (config, (const FcChar8 *)"memory", buffer, complain, FcTrue); }
