You are not logged in.

#1 2009-12-17 09:34:36

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Change application font size in Thunderbird 3.

How can I change the font size in Thunderbird 3? The bold fonts are to bold and the general font size is to big I think.

thunderbird3.png

I have tested with creating a chrome folder in the default profile. The userChrome.css looks like this. But it didn't work.

/*
 * Edit this file and copy it as userChrome.css into your
 * profile-directory/chrome/
 */

/*
 * This file can be used to customize the look of Mozilla's user interface
 * You should consider using !important on rules which you want to
 * override default settings.
 */

/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */


/*
 * Some possible accessibility enhancements:
 */
/*
 * Make all the default font sizes 20 pt:
 *
 * * {
 *   font-size: 20pt !important
 * }
 */
/* Global UI font */
{
    font-size: 6pt !important;
}

EDIT: Seems like the bold font is a more global problem. This is from Firefox

firefox.png

I have installed the ubuntu patched fonts. My ~/.fonts.conf looks like this.

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
   <match target="font" >
      <test compare="more" name="weight">
         <const>medium</const>
      </test>
      <edit mode="assign" name="autohint">
         <bool>true</bool>
      </edit>
   </match>
    <match target="font">
        <test name="weight" compare="more">
            <const>medium</const>
        </test>
        <edit name="autohint" mode="assign">
            <bool>false</bool>
        </edit>
    </match>
</fontconfig>

Last edited by orjanp (2009-12-17 09:52:12)


Ørjan Pettersen

Offline

#2 2009-12-21 02:41:20

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Change application font size in Thunderbird 3.

orjanp wrote:

<bool>true</bool>

            <bool>false</bool>

Are you trying to confuse us? wink

Make your mind up as to whether to set it to true or false.

Maybe cairo is getting confused by that, especially if you're not using my magical cairo-respect-fontconfig.patch

Offline

#3 2009-12-21 17:36:38

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Change application font size in Thunderbird 3.

Maybe I am. smile

I just copied something from the wiki and added it. So it might have been something not being quite right. I didn't really check. I will change it and see what happens.

Oerjan


Ørjan Pettersen

Offline

#4 2009-12-22 08:36:06

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Change application font size in Thunderbird 3.

Cleaned up the .fonts.conf file, but no change.

The folder /etc/fonts/conf.avail/ contains the following files:

# ls /etc/fonts/conf.avail/
10-antialias.conf    11-lcd-filter-lcddefault.conf  53-monospace-lcd-filter.conf
10-hinting-full.conf    20-fix-globaladvance.conf      60-latin.conf
10-hinting-medium.conf    20-unhint-small-vera.conf      65-fonts-persian.conf
10-hinting-slight.conf    25-unhint-nonlatin.conf        65-khmer.conf
10-hinting.conf        29-replace-bitmap-fonts.conf   65-nonlatin.conf
10-lcd-filter.conf    30-metric-aliases.conf           69-unifont.conf
10-no-sub-pixel.conf    30-urw-aliases.conf           70-no-bitmaps.conf
10-sub-pixel-bgr.conf    40-nonlatin.conf           70-yes-bitmaps.conf
10-sub-pixel-rgb.conf    45-latin.conf               80-delicious.conf
10-sub-pixel-vbgr.conf    49-sansserif.conf           90-synthetic.conf
10-sub-pixel-vrgb.conf    50-user.conf
10-unhinted.conf    51-local.conf
#

Anything there that might be causing it the to bold fonts?

Last edited by orjanp (2009-12-22 08:36:17)


Ørjan Pettersen

Offline

#5 2009-12-22 08:46:52

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Change application font size in Thunderbird 3.

orjanp wrote:

conf.avail/

That's the wrong place to look. Look in /etc/fonts/conf.d/ to see your actual configuration, rather than the list of potential ("available" bits).

Offline

#6 2009-12-25 14:52:44

orjanp
Member
From: Tromsoe, Norway
Registered: 2004-07-03
Posts: 347

Re: Change application font size in Thunderbird 3.

Yes of course. My bad.

Here it is. Some of the entries don't have a corresponding entry in conf.avail. I accidentally deleted 10-autohint.conf from conf.avail when I meant to delete it in conf.d. Ho do I get it back?

Have tested lxappearance to change the font in GTK applications. Works, but the boldness is not looking very good yet.

[root@ArchT400 orjanp]# ls /etc/fonts/conf.d/
10-antialias.conf          45-latin.conf
10-autohint.conf          49-sansserif.conf
10-hinting.conf              50-user.conf
10-hinting-slight.conf          51-local.conf
10-lcd-filter.conf          53-monospace-lcd-filter.conf
11-lcd-filter-lcddefault.conf      60-latin.conf
20-fix-globaladvance.conf      64-ttf-arphic-uming.conf
20-unhint-small-vera.conf      64-ttf-thai-tlwg.conf
25-ttf-arphic-uming-render.conf   65-fonts-persian.conf
29-replace-bitmap-fonts.conf      65-nonlatin.conf
30-cjk-aliases.conf          69-unifont.conf
30-defoma.conf              80-delicious.conf
30-metric-aliases.conf          90-synthetic.conf
30-urw-aliases.conf          90-ttf-arphic-uming-embolden.conf
35-ttf-arphic-uming-aliases.conf  90-ttf-thai-tlwg-synthetic.conf
40-nonlatin.conf          README
41-ttf-arphic-uming.conf

Ørjan Pettersen

Offline

Board footer

Powered by FluxBB