2.4 blocky text on Retina MacBook Pro

108 views
Skip to first unread message

Dan Schmidt

unread,
Dec 25, 2016, 8:30:25 PM12/25/16
to mnemosyne-proj-users
OS X 10.11.6 (El Capitan), Retina MacBook Pro.

As of 2.4, all of the text in the app is rather blocky, as if it thinks that the display resolution were half of what it is. An example is at http://imgur.com/a/dMKnl. (The chessboard image looks blocky too, but that is the resolution of the image, and looks the same as 2.3.6). In 2.3.6 all text was very sharp; I can upload a sample image from that version if necessary.

I tried running the program with "Mnemosyne --high-dpi-scaling" and observed no change.

In case it's relevant, I also get the following errors and warnings when starting up the program. None of the .pak files that it complains about exist in the given directory, although there is one called qtwebengine_resources.pak.

Thanks,
Dan

~$ Mnemosyne
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[1225/202746:ERROR:resource_bundle.cc(720)] Failed to load /Applications/Mnemosyne.app/Contents/Resources/qtwebengine_resources_100p.pak
Some features may not be available.
[1225/202746:ERROR:resource_bundle.cc(720)] Failed to load /Applications/Mnemosyne.app/Contents/Resources/qtwebengine_resources_200p.pak
Some features may not be available.
[1225/202746:ERROR:resource_bundle.cc(720)] Failed to load /Applications/Mnemosyne.app/Contents/Resources/qtwebengine_devtools_resources.pak
Some features may not be available.
[1225/202746:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale
QIODevice::write (QProcess): device not open
[1225/202746:ERROR:resource_bundle.cc(720)] Failed to load /Applications/Mnemosyne.app/Contents/Resources/qtwebengine_resources_100p.pak
Some features may not be available.
[1225/202746:ERROR:resource_bundle.cc(720)] Failed to load /Applications/Mnemosyne.app/Contents/Resources/qtwebengine_resources_200p.pak
Some features may not be available.
[1225/202746:ERROR:resource_bundle.cc(720)] Failed to load /Applications/Mnemosyne.app/Contents/Resources/qtwebengine_devtools_resources.pak
Some features may not be available.
[1225/202746:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale
[1225/202746:ERROR:resource_bundle.cc(720)] Failed to load /Applications/Mnemosyne.app/Contents/Resources/qtwebengine_resources_100p.pak
Some features may not be available.
[1225/202746:ERROR:resource_bundle.cc(720)] Failed to load /Applications/Mnemosyne.app/Contents/Resources/qtwebengine_resources_200p.pak
Some features may not be available.
[1225/202746:ERROR:resource_bundle.cc(720)] Failed to load /Applications/Mnemosyne.app/Contents/Resources/qtwebengine_devtools_resources.pak
Some features may not be available.
[1225/202746:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale

Peter Bienstman

unread,
Dec 26, 2016, 3:09:11 AM12/26/16
to mnemosyne-...@googlegroups.com, Devin Howard

Hi,

 

Yes, it’s very likely that these missing file errors contribute to this. I put Devin, our Mac packager, in CC so that he can look into this.

 

Cheers,

 

Peter

 

From: mnemosyne-...@googlegroups.com [mailto:mnemosyne-...@googlegroups.com] On Behalf Of Dan Schmidt
Sent: 26 December 2016 02:30
To: mnemosyne-proj-users <mnemosyne-...@googlegroups.com>
Subject: [mnemosyne-proj-users] 2.4 blocky text on Retina MacBook Pro

 

[          ]OS X 10.11.6 (El Capitan), Retina MacBook Pro.

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To post to this group, send email to mnemosyne-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/9e7e979f-a12d-4cdb-a965-a9f21f4f1384%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Devin Howard

unread,
Dec 26, 2016, 9:06:10 AM12/26/16
to Peter Bienstman, mnemosyne-...@googlegroups.com
I'll take a look and try to repackage this week

Devin Howard

unread,
Dec 27, 2016, 2:35:26 PM12/27/16
to mnemosyne-proj-users
Thanks again for the detailed report, Dan. I've uploaded a new version that includes the missing files. I hope it works!

Dan Schmidt

unread,
Dec 31, 2016, 12:13:12 PM12/31/16
to mnemosyne-proj-users
Thanks, Devin. I downloaded the new version and the previously missing files now exist, but I still get the same blocky text behavior, both with and without the --high-dpi-scaling command-line option. I no longer get the "Failed to load" messages, but do still get these, if it's at all relevant:

[1231/120812:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale
[1231/120812:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale
[1231/120812:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale


Dan

Devin Howard

unread,
Dec 31, 2016, 12:25:15 PM12/31/16
to mnemosyne-...@googlegroups.com
This might be beyond my pay grade to fix. I don't have a retina display, which makea it hard to debug.

2.4 began using qt5 instead of qt4, and switched from py2app to pyinstaller to package the code for macOS. It could be either of those moves  (or some other error I've made) that's causing the problem. 

I can do some searching to see if anything jumps out but I cant make any promises that I can fix the blocky text, sorry 😔

--
You received this message because you are subscribed to a topic in the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mnemosyne-proj-users/NuNXyCHIL2w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mnemosyne-proj-u...@googlegroups.com.

To post to this group, send email to mnemosyne-...@googlegroups.com.

Peter Bienstman

unread,
Jan 1, 2017, 3:32:54 AM1/1/17
to mnemosyne-...@googlegroups.com

Hi,

 

There have been some reports on font problems under Windows as well, so I think the best option we have is upgrading to the very latest PyQt version for the next release and hoping that will fix things…

 

Cheers,

 

Peter

 

--

You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.


To post to this group, send email to mnemosyne-...@googlegroups.com.

thew...@gmail.com

unread,
Feb 14, 2017, 3:54:38 AM2/14/17
to mnemosyne-proj-users
On Monday, December 26, 2016 at 9:30:25 AM UTC+8, Dan Schmidt wrote:
> OS X 10.11.6 (El Capitan), Retina MacBook Pro.
>
> As of 2.4, all of the text in the app is rather blocky, as if it thinks that the display resolution were half of what it is. An example is at http://imgur.com/a/dMKnl. (The chessboard image looks blocky too, but that is the resolution of the image, and looks the same as 2.3.6). In 2.3.6 all text was very sharp; I can upload a sample image from that version if necessary.
>
> I tried running the program with "Mnemosyne --high-dpi-scaling" and observed no change.
>


As noted from Qt5 documentation about [high DPI](http://doc.qt.io/qt-5/highdpi.html):

> Note: On macOS, high-DPI support is enabled by settings in the Info.plist file. Make sure they are present.

>> <key>NSPrincipalClass</key>
>> <string>NSApplication</string>
>> <key>NSHighResolutionCapable</key>
>> <string>True</string>

So add these to Info.plist should be enough.
Reply all
Reply to author
Forward
0 new messages