[SOLVED] fluxbox and xfce font settings (opera browser)

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

[SOLVED] fluxbox and xfce font settings (opera browser)

Post by Flemur »

I've been having the typical problems making fonts look right in the opera browser - turns out the settings are working in Xfce4, but not in fluxbox.

Starting opera with:
$ opera -debugfont
Shows incorrect or undefined settings running opera in fluxbox:
...

Code: Select all

opera: Xft baseline settings:
opera: antialias: yes
opera: hinting: yes
opera: autohint: no
opera: hintstyle: full             <------- wrong
opera: rgba: not specified  <------- wrong
opera: lcdfilter: legacy          <----- ???

opera: Toolkit font render settings:
opera: antialias: yes
opera: hinting: yes
opera: autohint: not specified  <----- wrong
opera: hintstyle: full   <--------- wrong
opera: rgba: not specified  <----- wrong
opera: lcdfilter: not specified  <------- ???

opera: Final settings adjusted by fontconfig:
opera: antialias: yes
opera: hinting: yes
opera: autohint: no
opera: hintstyle: full   <--------- wrong
opera: rgba: not specified  <--------- wrong
opera: lcdfilter: default  <---------- ???
In both lxappearance and xfce4-appearance-settings I've set:
autohint = OFF
hintstyle = SLIGHT
rgba = NONE
the same as in the ~/.fonts.conf file and ~/.Xdefaults

My ~/.fonts.conf (settings to suppsedly make all fonts anti-aliased at all sizes):

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign"> <bool>true</bool>         </edit>
<edit name="autohint"  mode="assign"> <bool>false</bool>        </edit>
<edit name="hinting"   mode="assign"> <bool>true</bool>         </edit>
<edit name="hintstyle" mode="assign"> <const>hintslight</const> </edit>
<edit name="rgba"      mode="assign"> <const>none</const>       </edit>
</match>
</fontconfig>
.Xdefaults:

Code: Select all

# To fix opera fonts:
Xft.antialias:  1
Xft.autohint:   0
Xft.hinting:    1
Xft.hintstyle:  hintslight
Xft.rgba:       none
# End opera 'fix'

What can I do to trick opera into using the correct settings in fluxbox?assign
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: fluxbox and xfce font settings (opera browser)

Post by Flemur »

Solved: when starting fluxbox, run "gnome-settings-daemon"
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Locked

Return to “Software & Applications”