Closed cmrqs closed 7 years ago
I cannot confirm this. Here everything looks normal with latest Manjaro packages.
Do you by any chance still have qt5ct installed? If so, remove it and verify that the output of
echo $QT_QPA_PLATFORMTHEME
returns empty.
After the last update the font is thicker(like it is bold) in text editors. Both in gedit and Atom:
The font in terminal is also thicker
I'm sorry, I cannot reproduce. Seems to be your settings. Here everything looks fine:
hmm under "Font" what is Monospaced Font options supposed to do? It's currently set to DejaVu Sans Mono but changing it doesn't seem to change anything? Maybe that's related?
ok echo $QT_QPA_PLATFORMTHEME
returns qt5ct but I don't have it installed. That must be it
That variable should not be set manually. Is that something set by Manjaro or yourself?
I haven't done anything to set it so I am guessing it's Manjaro maybe? are there other applications that set that variable?
I have this line in ~/.profile:
[[ "$XDG_CURRENT_DESKTOP" == "KDE" ]] || [[ "$XDG_CURRENT_DESKTOP" == "GNOME" ]] || export QT_QPA_PLATFORMTHEME="qt5ct"
Is this supposed to be there? I don't know how it got there.
A similar line without the 'GNOME' part is also in /etc/skel/.profile
Right, I know it shouldn't be set, but I just realize that our build tools configure it in ~/.profile automatically for any environment except KDE 😉 Please remove the line there! Thanks.
Thanks. I removed the line and rebooted. Now the variable returns empty but the font is still thicker. Changing the Monospaced Font option still doesn't do anything.
Also is com/deepin/wrap/gnome/desktop/interface/monospace-font-name supposed to do anything? I tried changing that to 'Monospace 15' instead of 'Monospace 11' with dconf to see if it makes any difference but it doesn't(after reboot)
@jouyouyun
After the monospace font changed, please paste the outputs of command fc-match mono
.
$fc-match mono
Fontconfig error: "/home/ageorgiou/.config/fontconfig/conf.d/99-deepin.conf", line 1: Unsupported version '2.0'
VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman"
Please update the file /home/ageorgiou/.config/fontconfig/conf.d/99-deepin.conf
, thanks!
What's the version of fontconfig
and freetype
?
@ag14774 Try modified <?xml version="2.0"?>
to <?xml version="1.0"?>
after font changed by edited the file /home/ageorgiou/.config/fontconfig/conf.d/99-deepin.conf
.
There is a same bug, please see: https://bbs.deepin.org/forum.php?mod=viewthread&tid=44705
I could find these packages:
freetype2
: 2.8.1-1
fontconfig
: 2.12.6-1
Your trick with the xml version change works for all the other fonts. But DejaVuSansMono defaults to the bold one:
$fc-match mono
DejaVuSansMono-Bold.ttf: "DejaVu Sans Mono" "Bold"
In the control center I have selected DejaVu Sans Mono. How can I remove the "bold" part?
@oberon2007 Could you tell me what version of freetype2
and fontconfig
should I have?
Also can you tell me what is your output of fc-match mono
? Is it also DejaVuSansMono-Bold.ttf
?
Paste the outputs of fc-list |grep 'DejaVu Sans Mono'
Fixed the bug of font xml version, see: https://github.com/linuxdeepin/dde-daemon/commit/7ed2035634cf296b6966c6abade65b48795721dd
This is the output:
$ fc-list |grep 'DejaVu Sans Mono'
/usr/share/fonts/TTF/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique
/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique
@ag14774 Your 'DejaVu Sans Mono' only bold style, so it's DejaVuSansMono-Bold.ttf, no fault.
May I ask what is the default monospace font of Deepin? Cause I've never changed it and I am sure that the font is thicker now.
And what about DejaVuSansMono.ttf? I am not choosing bold though:
I have the normal DejaVuSansMono selected. There is no bold option in the control center. The font definitely doesn't look like the preview in the control center. Also look at the screenshot posted by @oberon2007 above. The font seems much more thin in that picture.
Now the default monospace is 'Noto Mono', the deepin control-center unsupport font style settings.
Ok I switched to Noto Mono and changed the xml version to 1.0. The font is better now. Thanks @Carl-Marx You can close this now if you want :p Sorry I hijacked your issue
Hello,
I've noticed a bug after Manjaro's 08/18 update. I think it's caused by dtksettings. Desktop icons are invisible, the font is bigger, the dock is bugged... please help.