Hi everybody,
I use QLC+ on my Windows computer for editing purposes, and I'd like to use Massimo's QLC+ RPi image for the shows, but the font size is too big there, I cannot even read every button description.
How can I use a smaller font size on the RPi?
Thanks for your help!
Andreas
change font size
- mcallegari
- Posts: 4885
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Hi Andreas, I'm not sure you can.
Maybe you can try to play with the EGLFS specific parameters like QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT
http://doc.qt.io/qt-5/embedded-linux.html
But I'm not sure of the results...
Maybe you can try to play with the EGLFS specific parameters like QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT
http://doc.qt.io/qt-5/embedded-linux.html
But I'm not sure of the results...
- mcallegari
- Posts: 4885
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
In any case, if we're talking only about the Virtual Console, you can adjust the font size of each widget to look good on the RPi.
I think (but again not sure) the Pi uses a Serif font by default.
Otherwise there should be a way to use the same font you used on your PC but I've never done that before.
I guess Google is your friend in this case.
I think (but again not sure) the Pi uses a Serif font by default.
Otherwise there should be a way to use the same font you used on your PC but I've never done that before.
I guess Google is your friend in this case.
- lemon
- Posts: 51
- Joined: Mon Apr 13, 2015 6:04 am
- Location: BZ, Italy
- Real Name: Andreas H
Hi Massimo,
thanks for the advice. It's "DejaVu Sans", 12pt, and it's not only in the virtual console but everywhere. Could you give me a hint for what I have to look on Google? Maybe "Qt font"?
On Windows I have "MS Shell Dlg 2", 8pt, as default.
Maybe it would be enough changing font size, but how? Do I have to compile from source?
Thank you very much
Andreas
thanks for the advice. It's "DejaVu Sans", 12pt, and it's not only in the virtual console but everywhere. Could you give me a hint for what I have to look on Google? Maybe "Qt font"?
On Windows I have "MS Shell Dlg 2", 8pt, as default.
Maybe it would be enough changing font size, but how? Do I have to compile from source?
Thank you very much
Andreas
- lemon
- Posts: 51
- Joined: Mon Apr 13, 2015 6:04 am
- Location: BZ, Italy
- Real Name: Andreas H
Hi Massimo,
tried today with a RPi with Debian Wheezy and LXDE desktop installed. QLC+ uses "Sans Serif 9pt" there, just 1pt more than Windows but enough to make the descriptions on the Virtual Console to big. How would QLC+ on Linux choose its font? My idea is to install the same font on both systems so I could evaluate on Windows and make the shows on the RPi.
Thank you very much
Andreas
tried today with a RPi with Debian Wheezy and LXDE desktop installed. QLC+ uses "Sans Serif 9pt" there, just 1pt more than Windows but enough to make the descriptions on the Virtual Console to big. How would QLC+ on Linux choose its font? My idea is to install the same font on both systems so I could evaluate on Windows and make the shows on the RPi.
Thank you very much
Andreas
- mcallegari
- Posts: 4885
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Andreas, Linux and Windows are different. Don't expect to find the same fonts on both
If you search this topic with Google you will find this: https://wiki.debian.org/Fonts/#Adding_fonts
I just tried and I simply needed to copy new .ttf files into
QLC+ detects them right away (maybe after a restart/reboot)
If you search this topic with Google you will find this: https://wiki.debian.org/Fonts/#Adding_fonts
I just tried and I simply needed to copy new .ttf files into
Code: Select all
/usr/share/fonts/truetype
- lemon
- Posts: 51
- Joined: Mon Apr 13, 2015 6:04 am
- Location: BZ, Italy
- Real Name: Andreas H
Hi Massimo,
you are right, and I know very well the difference between the systems, also I know how to add fonts on both of them, anyway thank you for the links.
But my question was not this one.
What I want to know is if QLC+ uses the same fonts on both systems if they are available, so that I could create my projects on Windows and use them on Linux without having different font types and sizes.
I have a hundred widgets on my virtual console and don't want to have to change the font every time I copy a WIndows project to the RPi.
Thank you very much
Andreas
you are right, and I know very well the difference between the systems, also I know how to add fonts on both of them, anyway thank you for the links.
But my question was not this one.
What I want to know is if QLC+ uses the same fonts on both systems if they are available, so that I could create my projects on Windows and use them on Linux without having different font types and sizes.
I have a hundred widgets on my virtual console and don't want to have to change the font every time I copy a WIndows project to the RPi.
Thank you very much
Andreas
- mcallegari
- Posts: 4885
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
QLC+ doesn't pick a specific font, but the default font provided by Qt (which I believe is the default font provided by the OS)
Most likely, the default font differs from OS to OS, that's why you see differences between Windows and Linux.
I guess you need to set a custom font in your VC to resolve the differences.
[EDIT] To know more: http://doc.qt.io/qt-4.8/qwidget.html#font-prop
Most likely, the default font differs from OS to OS, that's why you see differences between Windows and Linux.
I guess you need to set a custom font in your VC to resolve the differences.
[EDIT] To know more: http://doc.qt.io/qt-4.8/qwidget.html#font-prop
- lemon
- Posts: 51
- Joined: Mon Apr 13, 2015 6:04 am
- Location: BZ, Italy
- Real Name: Andreas H
Sorry if I reactivate this old topic of mine, but I have another question regarding the font size.
I have installed an new Debian Jessie with QLC+ on SD-Card 1 and the Massimo's last QLC+ image on SD-Card 2. Both of them use the Full-HD resolution of my screen, but on Massimo's QLC+ image the font sizes of the program, p.e. the section descriptions on the bottom or the universe configurations are much bigger than on my Debian Jessie image. Any idea how to change that?
Thank you very much
Andreas
I have installed an new Debian Jessie with QLC+ on SD-Card 1 and the Massimo's last QLC+ image on SD-Card 2. Both of them use the Full-HD resolution of my screen, but on Massimo's QLC+ image the font sizes of the program, p.e. the section descriptions on the bottom or the universe configurations are much bigger than on my Debian Jessie image. Any idea how to change that?
Thank you very much
Andreas