Hello,
I'm trying to understand fontconfig use in LO for tdf#108243 (semicolon separated fonts substitution not working (bug in Linux FontConfig integration code)
On gdb, I got this:
(gdb) p pPattern
$1 = (FcPattern *) 0x55555c030800
(gdb) p *pPattern
$2 = <incomplete type>
whereas I rebuilt fontconfig after having done:
1) adding --without-system-fontconfig in autogen.input
2) using this:
diff --git
a/external/fontconfig/ExternalProject_fontconfig.mk
b/external/fontconfig/ExternalProject_fontconfig.mk
index 0d899ef129bd..7ecd8353c154 100644
--- a/external/fontconfig/ExternalProject_fontconfig.mk
+++ b/external/fontconfig/ExternalProject_fontconfig.mk
@@ -31,6 +31,7 @@ $(call
gb_ExternalProject_get_state_target,fontconfig,build) :
$(if $(filter
EMSCRIPTEN,$(OS)),-pthread)" \
$(if $(filter
ANDROID,$(OS)),LIBS="-lm") \
$(if $(filter
EMSCRIPTEN,$(OS)),LIBXML2_CFLAGS="$(LIBXML_CFLAGS)"
LIBXML2_LIBS="$(LIBXML_LIBS)") \
+ $(if $(filter
TRUE,$(ENABLE_DBGUTIL)),debug=true) \
$(gb_RUN_CONFIGURE) ./configure \
--disable-silent-rules \
--with-pic \
What should I do to teach gdb to display fontconfig objs?
Julien