Hello.
I use zyGrib on several computers and I have a problem on some of them: letters merge into a heap (see picture). I installed zyGrib from the package (OS Linux) in all cases, so it assembled equally. I tried to compare sets of fonts and I have not found differences. Any ideas ? I use zyGrib since 5.0.6 and this problem was always. B.t.w., I have not found how to change the font in "date" bar...
Regards, Sergey.
[Linux] А problem with "date" bar
Moderator: jza
Forum rules
Ici on parle français ou anglais, comme on veut, comme on peut, mais on n'oublie jamais que l'on discute entre humains.
Il ne faut surtout pas oublier les mots magiques: bonjour, salut, merci, etc.
Les messages impolis sont rejetés et restent sans réponse.
Il faut souvent être patient, car il y a plein d'autres activités encore plus passionantes dans notre vie.
Here we speak french or english, as we want, as we can, but we never forget that we discuss between humans.
Do not forget the magic words: hello, hi, thank you, etc.
Rude messages are rejected and remain unanswered.
It is often necessary to be patient because there are many other activities even more exciting in our life.
Ici on parle français ou anglais, comme on veut, comme on peut, mais on n'oublie jamais que l'on discute entre humains.
Il ne faut surtout pas oublier les mots magiques: bonjour, salut, merci, etc.
Les messages impolis sont rejetés et restent sans réponse.
Il faut souvent être patient, car il y a plein d'autres activités encore plus passionantes dans notre vie.
Here we speak french or english, as we want, as we can, but we never forget that we discuss between humans.
Do not forget the magic words: hello, hi, thank you, etc.
Rude messages are rejected and remain unanswered.
It is often necessary to be patient because there are many other activities even more exciting in our life.
-
- Posts: 6
- Joined: 08 May 2012 10:59
[Linux] А problem with "date" bar
- Attachments
-
- date-bar.jpg (5.44 KiB) Viewed 10302 times
Regards, Sergey.
-
- Site Admin
- Posts: 601
- Joined: 19 Jan 2009 00:22
Re: [Linux] А problem with "date" bar
Hello,
I never see this problem on ubuntu or mint.
Sorry, I have no idea.
Perhaps a QT version too old ?
I never see this problem on ubuntu or mint.
Sorry, I have no idea.
Perhaps a QT version too old ?
A+
Jacques
Jacques
-
- Posts: 6
- Joined: 08 May 2012 10:59
Re: [Linux] А problem with "date" bar
No. All zyGrib versions worked with 4.6.3 (i586). Now I have two almost identical installation of Linux (ALT Linux; branch 6.0; qt 4.8.4). The architecture is different only: i586 and x86_64. The problem exist on i586 only. But it seems to me that the reason should not be in the architecture...jza wrote:Perhaps a QT version too old ?
What about font for this bar ? Can I change it ?
Regards, Sergey.
-
- Site Admin
- Posts: 601
- Joined: 19 Jan 2009 00:22
Re: [Linux] А problem with "date" bar
Hi,
I still do not understand.
The bar is painted by the fonction DateChooser::paintEvent in the file DateChooser.cpp, from line 181 to 287
Dafault font : QFont("Liberation Sans", 8, QFont::Bold, true)
Horizontal positions of the objects are computed using these QT functions :
QStyle::sliderPositionFromValue
QFontMetrics::boundingRect
Perhaps you have to investigate that.
Information : zyGrib 6.3.2 was developped with QT 4.8.6 on a Linux Mint OS.
Warning: future versions will use QT5 and probably will not be usable with QT4.
I still do not understand.
The bar is painted by the fonction DateChooser::paintEvent in the file DateChooser.cpp, from line 181 to 287
Dafault font : QFont("Liberation Sans", 8, QFont::Bold, true)
Horizontal positions of the objects are computed using these QT functions :
QStyle::sliderPositionFromValue
QFontMetrics::boundingRect
Perhaps you have to investigate that.
Information : zyGrib 6.3.2 was developped with QT 4.8.6 on a Linux Mint OS.
Warning: future versions will use QT5 and probably will not be usable with QT4.
A+
Jacques
Jacques
-
- Posts: 6
- Joined: 08 May 2012 10:59
Re: [Linux] А problem with "date" bar
This is a problem with "Plastique" widget of qt4. I use TDE (which uses qt3) and qt4 selects "Plastique" by default. ZyGrib works fine with "Cleanlooks" widget (for example). It can be changed by qtconfig-qt4.
Regards, Sergey.
Who is online
Users browsing this forum: No registered users and 1 guest