Skip to contentSkip to conversation

wxwidgets: enable to use private fonts

PATCH New [email protected] 1 participant 1 message May 16, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 wxwidgets: enable to use private fonts

From: Kai Kang <[email protected]>

Enable option wxUSE_PRIVATE_FONTS of wxwidgets if build with gtk. It allows application to use the font from the given file even if it is not globally installed on the system.

---
 meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +1 -1
index 6b57cb54c..5565a289f 100644
@@ -54,7 +54,7 @@ PACKAGECONFIG:remove:class-native = "opengl"
 
 # Note on toolkit-PACKAGECONFIGs: select exactly one of 'no_gui' / 'gtk' / 'qt'
 PACKAGECONFIG[no_gui] = "-DwxUSE_GUI=OFF,,,,,qt gtk opengl"
-PACKAGECONFIG[gtk] = "-DwxBUILD_TOOLKIT=gtk3 -DwxUSE_GUI=ON,,gtk+3,,,no_gui qt"
+PACKAGECONFIG[gtk] = "-DwxBUILD_TOOLKIT=gtk3 -DwxUSE_GUI=ON -DwxUSE_PRIVATE_FONTS=ON,,gtk+3,,,no_gui qt"
 PACKAGECONFIG[qt] = "-DwxBUILD_TOOLKIT=qt  -DwxUSE_GUI=ON,,qtbase,,,no_gui gtk"
 python () {
     pkgconfig = d.getVar('PACKAGECONFIG')
Signature · 1 line
2.17.1