[PyQt] PyQt5 + AppImage

Barry Scott barry at barrys-emacs.org
Wed Jul 12 10:22:42 BST 2017


> On 7 Jul 2017, at 20:14, Damon Lynch <damonlynch at gmail.com> wrote:
> 
> On Fri, Jul 7, 2017 at 5:58 AM, Kyle Altendorf <sda at fstab.net <mailto:sda at fstab.net>> wrote:
> On 2017-07-06 23:18, Damon Lynch wrote:
> 
> 
>> * The font may not be aliased.
>> * The font may be a serif font, instead of sans serif.
> 
> Those seem like reasonable things to vary per distribution, or even just by user settings.  Are you saying that they vary but do not actually match the distribution defaults?  Or, are you wanting to override all distribution and user settings and force your application to look 'consistent' with itself instead of fitting in?
> 
>  
> To clarify, the font problem is that when running as an AppImage, the fonts do not look the same as when the same application runs in the same distribution for the same user when that application is installed with pip. 
> 
> In other words, the pip installed version looks great, but the AppImage one can look awful and very much out of place. Here is a composite image (43 kB) that illustrates the problem on two different distros:
> 
> http://damonlynch.net/rapid/screenshots/beta/appimage-font-problem.png <http://damonlynch.net/rapid/screenshots/beta/appimage-font-problem.png>

What I think I see is that the font is not the same in each case.
Are you bundling the font to be used?
Maybe fontconfig is using a fallback to replace a missing font?

Barry

> 
> The image illustrates that with the first distro, the AppImage font changes to a serif font, which is wrong.
> 
> With respect to Simon's point about the legality of font aliasing, it's entirely possible I'm using the wrong terminology for what I thought was aliasing. Perhaps the correct term is hinting? In any case, as can be seen in the second pair of images, the hinting / aliasing is different in the AppImage. I suspect the first pair of images also have the same hinting / aliasing problem.
> 
> Although the distributions are different (Fedora and Ubuntu derived respectively), that's not the determining factor, as an AppImage in Kubuntu looks like it does in the Korora install.
> 
> Best,
> Damon
> -- 
> http://www.damonlynch.net <http://www.damonlynch.net/>_______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170712/7cd02026/attachment.html>


More information about the PyQt mailing list