Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
4.8.x
-
None
-
Embedded Linux
Description
1. qpf2 Fonts is created from size to 12 to 179 using the following command
makeqpf /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf 174 -v | tee makeqpf174
2. They are used in a GUI as follows
qApp->setStyleSheet("QPushButton { font-family: 'DejaVu Sans' ;font-size : 173px ;}"); QWidget widget; QVBoxLayout layout; widget.setLayout(&layout); QPushButton button1; button1.setMinimumSize(600,300); button1.setText("012345678910"); button1.show(); QPushButton button2; button2.setText("Test"); QLabel label; label.setText("Test"); layout.addWidget(&label); layout.addWidget(&button1); layout.addWidget(&button2); widget.show(); widget.resize(1050,850);
3If this application is run on the qvfb tool the result is distorted as the images attached.
This is also tested on the device
Setting : pandaboard, angstrom Linux, Qt 4.8.3/2