I build wxWidgets and/or my application using:
On Linux, when building wxQt, the configure script does not honor --enable-privatefonts.
Edit the "configure" script:
if test "$wxUSE_PRIVATE_FONTS" = "yes"; then line:if test "$wxUSE_GTK" = 1; thenif test "$wxUSE_GTK" = 1 -o "$wxUSE_QT" = 1; thenEdit "include/wx/chkconf.h":
# if !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXOSX__)# if !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__WXQT__) && !defined(__WXOSX__)I've tested a build with the above changes and it complete without error. However, its missing all the Pango hookups present in wxGtk:
so the calls are undefined in wxQt.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
The wxQt arch should likely directly use:
QFontDatabase.addApplicationFont(const QString &)
as a call in its to be created wxFontBase::AddPrivateFont(const wxString &) wrapper.
This mitigates replicating the wxGtk code using Pango.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Support for this is indeed not implemented in wxQt, please consider making a PR if you know how to implement it.
TIA!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Yes, I'm looking into doing a PR.
I'm also looking into other Font method parity with wxGtk as well. The Enumeration code is giving me a head loop me at the moment. Some wxQt methods in the Font related code look like they are missing. I plan on ordering them similarly so they compare well and documenting differences, etc.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()