Board index FlightGear Support Tools ATC-pie

[Linux] Labels on radar are cutoff, unable to read  Topic is solved

ATC-pie is a radar air traffic control simulation program for the FlightGear multi-player network.

[Linux] Labels on radar are cutoff, unable to read

Postby Progman » Sun Dec 17, 2017 7:36 pm

When I open the radar, some names are not readable, they are cut in half. I have to guess what the correct label of the node is.

Image

As you see in the screenshot the labels "MNW" and "MSW" are readable, but the other labels aren't. The same goes for gate names.

Image

However the taxi names can be read.

System informations:
Code: Select all
progman@l4x ~ $ emerge --info
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 4.1.12-gentoo x86_64)
=================================================================
System uname: Linux-4.1.12-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.4.1
KiB Mem:     6110800 total,   1511828 free
KiB Swap:   11984484 total,  11910496 free
Timestamp of repository gentoo: Sun, 17 Dec 2017 08:30:01 +0000
Head commit of repository gentoo: c8e8f7a32483d356984120d0ed3b593a84c5c341
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac acpi activities alsa amd64 berkdb bindist branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm iconv ipv6 jpeg kipi lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt3support readline sdl seccomp session spell sqlite sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Installed packages:
Code: Select all
progman@l4x ~ $ equery l "*" | grep python
app-eselect/eselect-python-20160516
dev-lang/python-2.7.14-r1
dev-lang/python-3.4.5-r1
dev-lang/python-3.5.4-r1
dev-lang/python-exec-2.4.5
dev-python/PyQt5-5.7.1
dev-python/appdirs-1.4.3
dev-python/certifi-2017.4.17
dev-python/dbus-python-1.2.4
dev-python/docutils-0.13.1
dev-python/m2crypto-0.24.0
dev-python/packaging-16.8
dev-python/pillow-3.4.2-r1
dev-python/ply-3.9
dev-python/pyblake2-1.1.0
dev-python/pycairo-1.15.3
dev-python/pygments-2.1.1
dev-python/pygobject-3.22.0
dev-python/pyparsing-2.2.0
dev-python/pyxattr-0.5.5
dev-python/setuptools-34.0.2-r1
dev-python/sip-4.19.3
dev-python/six-1.10.0

Code: Select all
progman@l4x ~ $ equery l "*" | grep qt
app-eselect/eselect-qtgraphicssystem-1.1.1
dev-libs/libdbusmenu-qt-0.9.3_pre20160218-r1
dev-qt/designer-4.8.7
dev-qt/designer-5.7.1
dev-qt/linguist-tools-5.7.1
dev-qt/qdbus-5.7.1
dev-qt/qt3support-4.8.7
dev-qt/qtchooser-0_p20151008
dev-qt/qtconcurrent-5.7.1
dev-qt/qtcore-4.8.7-r3
dev-qt/qtcore-5.7.1-r3
dev-qt/qtdbus-4.8.7
dev-qt/qtdbus-5.7.1
dev-qt/qtdeclarative-4.8.7
dev-qt/qtdeclarative-5.7.1-r1
dev-qt/qtgraphicaleffects-5.7.1
dev-qt/qtgui-4.8.7
dev-qt/qtgui-5.7.1-r1
dev-qt/qtimageformats-5.7.1
dev-qt/qtmultimedia-5.7.1
dev-qt/qtnetwork-5.7.1
dev-qt/qtopengl-4.8.7
dev-qt/qtopengl-5.7.1
dev-qt/qtpaths-5.7.1
dev-qt/qtprintsupport-5.7.1
dev-qt/qtquickcontrols-5.7.1
dev-qt/qtquickcontrols2-5.7.1
dev-qt/qtscript-4.8.7
dev-qt/qtscript-5.7.1
dev-qt/qtsql-4.8.7-r1
dev-qt/qtsql-5.7.1-r1
dev-qt/qtsvg-4.8.7
dev-qt/qtsvg-5.7.1
dev-qt/qttest-4.8.7
dev-qt/qttest-5.7.1
dev-qt/qttranslations-4.8.7
dev-qt/qtwayland-5.7.1
dev-qt/qtwebchannel-5.7.1
dev-qt/qtwebengine-5.7.1-r2
dev-qt/qtwebkit-4.8.7
dev-qt/qtwebkit-5.7.1
dev-qt/qtwidgets-5.7.1
dev-qt/qtx11extras-5.7.1
dev-qt/qtxml-5.7.1
dev-qt/qtxmlpatterns-4.8.7
dev-qt/qtxmlpatterns-5.7.1
kde-frameworks/bluez-qt-5.40.0
kde-frameworks/networkmanager-qt-5.40.0
sys-auth/polkit-qt-0.112.0_p20160416-r1
Progman
 
Posts: 11
Joined: Sun Dec 17, 2017 7:12 pm

Re: [Linux] Labels on radar are cutoff, unable to read

Postby mickybadia » Wed Dec 20, 2017 11:17 am

Hi,
Thanks for the post. This problem has actually been around for a while, but not everywhere. In fact it depends on the chosen (or default) Qt style configured. Though limited if you know about stylesheets, I grant you that the discontinuing of the Qt config tool makes this more of a problem.
I solved it for the radar tags so should be able to correct this one too, but you may still want to reduce your font as huge labels are not necessarily what you want in the end.
mickybadia
 
Posts: 397
Joined: Tue Sep 24, 2013 9:12 am

Re: [Linux] Labels on radar are cutoff, unable to read  

Postby mickybadia » Sun Apr 22, 2018 2:40 pm

Back to this issue,
I reckon I have solved the problem but would like confirmation from any dev tester with such problematic font config.
Upcoming update will include the change.
mickybadia
 
Posts: 397
Joined: Tue Sep 24, 2013 9:12 am

Re: [Linux] Labels on radar are cutoff, unable to read

Postby Progman » Sun Apr 22, 2018 3:55 pm

I have tested the new version. The labels are now readable.
Progman
 
Posts: 11
Joined: Sun Dec 17, 2017 7:12 pm

Re: [Linux] Labels on radar are cutoff, unable to read

Postby mickybadia » Mon Apr 23, 2018 9:25 pm

Thank you for the quick test. So I will merge the change to the next stable.
mickybadia
 
Posts: 397
Joined: Tue Sep 24, 2013 9:12 am

Re: [Linux] Labels on radar are cutoff, unable to read

Postby mickybadia » Mon Apr 23, 2018 9:29 pm

You may mark this topic as solved, as well as the couple of other ones you initiated that have been addressed (if you confirm the problems are cleared). Thank you for all the valuable feedback.
mickybadia
 
Posts: 397
Joined: Tue Sep 24, 2013 9:12 am


Return to ATC-pie

Who is online

Users browsing this forum: No registered users and 1 guest