The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
WP-31s/34s: font problem in Qt version
01-29-2016, 01:21 PM (This post was last modified: 01-29-2016 03:18 PM by fhub.)
Post: #1
WP-31s/34s: font problem in Qt version
By accident I've now switched off 'Use real fonts' in the 'Preferences' dialog, and suddenly the font in the alpha display is looking very strange (and ugly).
I don't know exactly since which version this has happened, at least the last 2 versions from this year (2016) are showing this strange font in both Qt GUIs (WP31s and WP34s) - but NOT in the normal (non-Qt) emulator.

I've attached the old and new display for comparison ...

Edit: analyzing the code I found the problem, it's the function 'ZN8QPainter13setRenderHintENS_10RenderHintEb' - after patching the emulator and skipping this function the usual font is back again.
In the source it's the line 'painter.setRenderHint(QPainter::Antialiasing);' in the module 'QtScreen.cpp' (once for the WP-31s, twice for the WP-34s), which has been introduced in SVN3871 for the 34s and SVN3873 for the 31s (and the complex 34s).

Franz


Attached File(s) Thumbnail(s)
       
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
WP-31s/34s: font problem in Qt version - fhub - 01-29-2016 01:21 PM



User(s) browsing this thread: 1 Guest(s)