<div dir="ltr">It works ! Thanks you !<div><div>Antoine</div></div></div><br><div class="gmail_quote"><div dir="ltr">Le jeu. 15 nov. 2018 à 12:16, Kevin Funk <<a href="mailto:kfunk@kde.org">kfunk@kde.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Friday, 2 November 2018 21:19:46 CET Friedrich W. H. Kossebau wrote:<br>
> Am Freitag, 2. November 2018, 20:23:13 CET schrieb Friedrich W. H. Kossebau:<br>
> > Am Freitag, 2. November 2018, 19:46:17 CET schrieb Antoine Hoarau:<br>
> > > I'm using AppImage yes.<br>
> > > In the Appimage Kdev5, if I change the font to anything else it works<br>
> > > fine,<br>
> > > except the build windows that seems stick with monospace.<br>
> > > Is there any way to change the build windows font ?<br>
> > <br>
> > No, the font in the build windows is currently hardcoded to use the<br>
> > system's fixed font (QFontDatabase::systemFont(QFontDatabase::FixedFont),<br>
> > which is queried from the platform thene integration plugin.<br>
> > Which might be something based on QGenericUnixTheme, which sets a QFont<br>
> > initialized with the family "monospace" (&<br>
> > setStyleHint(QFont::TypeWriter);).<br>
> > <br>
> > See<br>
> > <a href="https://code.woboq.org/qt5/qtbase/src/platformsupport/themes/genericunix/" rel="noreferrer" target="_blank">https://code.woboq.org/qt5/qtbase/src/platformsupport/themes/genericunix/</a><br>
> > qgenericunixthemes.cpp.html<br>
> > <br>
> > Not sure if that theme is really in use, but it might be. Also unsure how<br>
> > the resolution then happens, if that string is passed 1:1 to fontconfig.<br>
> > <br>
> > Can you tell what the result of "fc-match monospace" is on the normal<br>
> > commandline and what in the embedded shell/konsole of KDevelop?<br>
> <br>
> Another possible reason found meanwhile is that possibly the libfontconfig<br>
> (2.8 as from centos 6) as used for the appimage and linked by the qt qpa<br>
> plugin used in the appimage is not able to read some newer format of the<br>
> font config files as supported by fontconfig >= 2.11 (as used on ubuntu<br>
> 16.04).<br>
<br>
That's a good explanation I think.<br>
<br>
@Antoine, could you try the following:<br>
<br>
./KDevelop-5.3.0-x86_64.AppImage --appimage-extract<br>
cd squashfs-root<br>
rm rm usr/lib/libfontconfig.so.1<br>
./AppRun<br>
<br>
I've already filed a patch [1], but if you can confirm that works for you <br>
that'd be great.<br>
<br>
Regards,<br>
Kevin<br>
<br>
<br>
[1] <a href="https://phabricator.kde.org/D16893" rel="noreferrer" target="_blank">https://phabricator.kde.org/D16893</a><br>
<br>
<br>
> A possible solution might be not to use the stock libfontconfig from centos<br>
> 6 for the appimage build, but also provide sources from a recent version of<br>
> libfonrconfig which also supports reading the old config format, so both<br>
> old and the new non-backward compatible font config file formats are<br>
> supported. Cmp. e.g. <a href="https://github.com/OpenShot/openshot-qt/issues/1775" rel="noreferrer" target="_blank">https://github.com/OpenShot/openshot-qt/issues/1775</a><br>
> <br>
> Superficially researched by reading other bug reports on a quick web search,<br>
> just dumping here to sync with what was said on irc.<br>
> <br>
> Cheers<br>
> Friedrich<br>
<br>
<br>
-- <br>
Kevin Funk | <a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a> | <a href="http://kfunk.org" rel="noreferrer" target="_blank">http://kfunk.org</a></blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Antoine Hoarau<div>Robotics Engineer</div></div></div>