Re: [LAD] rosegarden doesn't use system qt5 font

2018-03-11 Thread Nikita Zlobin
Problem appears only when gtk2 style is set. For kvantum it is ok.

In Sun, 11 Mar 2018 20:21:10 +
Rui Nuno Capela  wrote:

> On 03/11/2018 07:04 PM, Nikita Zlobin wrote:
> > About qtractor, if Rui Nuno Capella reads, there are few places,
> > where, where sans is forced:
> > - clock on toolbar,
> > - files list and track list use sans italic.
> > I don't know, is it sideback of setting to italic, but track list
> > ruler uses regular sans. But still, BPM display, near of clock,
> > followes system font.  
> 
> i'm here and to me all seems be point to qt5ct and not to
> qtractor--none of qtractor widgets are forced into any font style in
> particular, besides the one you can configure explicitly eg. View >
> Options... > Display > Messages.
> 
> i really don't have a clue why it's using italics anywhere in
> qtractor: whatever does, it is not in the upstream code.
> 
> byee
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] rosegarden doesn't use system qt5 font

2018-03-11 Thread Nikita Zlobin
Ok, thanks. Will look better.

In Sun, 11 Mar 2018 20:21:10 +
Rui Nuno Capela  wrote:

> On 03/11/2018 07:04 PM, Nikita Zlobin wrote:
> > About qtractor, if Rui Nuno Capella reads, there are few places,
> > where, where sans is forced:
> > - clock on toolbar,
> > - files list and track list use sans italic.
> > I don't know, is it sideback of setting to italic, but track list
> > ruler uses regular sans. But still, BPM display, near of clock,
> > followes system font.  
> 
> i'm here and to me all seems be point to qt5ct and not to
> qtractor--none of qtractor widgets are forced into any font style in
> particular, besides the one you can configure explicitly eg. View >
> Options... > Display > Messages.
> 
> i really don't have a clue why it's using italics anywhere in
> qtractor: whatever does, it is not in the upstream code.
> 
> byee
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] rosegarden doesn't use system qt5 font

2018-03-11 Thread Nikita Zlobin
Unexpected solution. Reason was gtk2 theme, selected in qt5ct. I could
not change font for gtk2 for long time, and it was Droid Sans - just
because some other systme gtkrc was loaded, where font was defined in
another class, which doesn't match with xfce settings.

After i wrote it in ~/.gtkrc-2.0, font applied to gtk2, and as result -
rosegarden was affected. By some reason, rosegarden doesn't use
qt5ct-selected font, if gtk2 style selected, but ises one from gtk2 :)
Other qt5 stuff is not affected.

After i change style to other (kvantum, cleanlooks), font from qt5ct is
used. I can see it, because qt5ct uses CMU Serif Upright Italic, while
gtk2 - concrete (by some reason it showes previous font as italic,
though it is such only by name).

In Sun, 11 Mar 2018 20:45:21 +0100
Ralf Mardorf  wrote:

> On Mon, 12 Mar 2018 00:04:31 +0500, Nikita Zlobin wrote:
> >For qt5 config i use qt5ct.  
> 
> Oops ;), I missed that :D. Yes, it's a PITA :).
> ___
> Linux-audio-dev mailing list
> Linux-audio-dev@lists.linuxaudio.org
> https://lists.linuxaudio.org/listinfo/linux-audio-dev
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] rosegarden doesn't use system qt5 font

2018-03-11 Thread Rui Nuno Capela
On 03/11/2018 07:04 PM, Nikita Zlobin wrote:
> About qtractor, if Rui Nuno Capella reads, there are few places,
> where, where sans is forced:
> - clock on toolbar,
> - files list and track list use sans italic.
> I don't know, is it sideback of setting to italic, but track list ruler
> uses regular sans. But still, BPM display, near of clock,
> followes system font.

i'm here and to me all seems be point to qt5ct and not to qtractor--none
of qtractor widgets are forced into any font style in particular,
besides the one you can configure explicitly eg. View > Options... >
Display > Messages.

i really don't have a clue why it's using italics anywhere in qtractor:
whatever does, it is not in the upstream code.

byee
-- 
rncbc aka. Rui Nuno Capela
rn...@rncbc.org
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] rosegarden doesn't use system qt5 font

2018-03-11 Thread Ralf Mardorf
On Mon, 12 Mar 2018 00:04:31 +0500, Nikita Zlobin wrote:
>For qt5 config i use qt5ct.

Oops ;), I missed that :D. Yes, it's a PITA :).
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] rosegarden doesn't use system qt5 font

2018-03-11 Thread Ralf Mardorf
Take a look at https://wiki.archlinux.org/index.php/qt one way is using
the plugin [1], that not necessarily does a good job, but, hey, that is
nowadays Linux, it's absolutely inconsistent.

[1]
No Rosegarden here, but Rui's apps are based upon Qt, too:

[rocketmouse@archlinux ~]$ qjackctl
qt5ct: using qt5ct plugin
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


[LAD] rosegarden doesn't use system qt5 font

2018-03-11 Thread Nikita Zlobin
It seems, that rosegarden forces gui font to be Sans. On my system
default sans seems to be droid. In qt5, with russian locale, russian
bold letters are drawen by some kind of Courier New. Regular font is
still Sans, and this bug seems to affect all qt5 stuff - i noticed it
first time in Converseen.
After i changed to Deja Vu, and yet later began to search for more
interesting fonts (up to tomorrow i had Exo), problem disappeared. For
qt5 config i use qt5ct.

Today i assidentally discovered font pair, which imho looks awesome
with programs like MuseScore and Rosegarden. I don't know, is it
intended to force some specific font... so i want to propose as variant
to use any Serif font. Last time i tried CMU fonts:
http://cm-unicode.sourceforge.net/

CMU has very interesting (imho) serif variants (though simple sans
style also presents). Especially i want to note:
- Contrete - as easy to read as any Serif, but more interesting, than
  its own CMU Serif - i.e., it looks much sharper.
- Pair of two fonts:
- - CMU Serif Upright Italic: regular ornamental font
- - CMU Classical Serif: former's italic kind (both have bold kinds)

And i would note, there is some mess in names. Thus, upright italic is
not really italic (just looks ornamental), while simple classical looks
like "CMU Serif Upright Italic" Italic :). Would be better for them, of
course to be in one "CMU Classical" font, providing as usually - 4
kinds.

This of course, is for aesthetes :)
Screenshot with musescore, with CMU Classical font:
https://musescore.org/sites/musescore.org/files/2018-03/musescore_2018-03-11_14-33-06.png

I guess (it is still my imho+taste), all these Serif/Concrete/Classical
fonts would look much better in rosegarden. Can't tell about other (even
musical) software, but for now i made "CMU Serif Upright Italic"
default font - in qt5ct, desktop appearance settings (xfce), and now
trying to get for qt4. It exactly works with qjackctl and musescore.

About qtractor, if Rui Nuno Capella reads, there are few places,
where, where sans is forced:
- clock on toolbar,
- files list and track list use sans italic.
I don't know, is it sideback of setting to italic, but track list ruler
uses regular sans. But still, BPM display, near of clock,
followes system font.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev