Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fonts, Fonts and more Fonts!!!!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Tue May 11, 2004 7:03 pm    Post subject: Fonts, Fonts and more Fonts!!!! Reply with quote

Okay. I have two machines. Both running NVidia. Both same USE flags. Same Xfree config. Same version of freetype and same version of Xfree. All intents and purposes they are the same.

However. Fonts look completely different on both systems. How can this be!!!!

Bindist flag is unset on both. I've tried it on System A and it does nothing.

Take for example Firefox. Fonts look big fat and ugly if I go to say go to Slashdot. However on system B if I go to the same website fonts are smaller and much nicer.

Having rebuilt a system from scratch as I could not resolve the issue first time round I'm near melting point with utter frustration. I think Linux is in dire need of good font management, random results like this is off putting.

I've posted before with this issue and had no joy. I'm really hoping somebody out there can help.

EDIT: Sorry I'm running Gnome 2.6 upgraded from 2.4 but same issue with Gnome 2.4 on same machine.
_________________
Linux user 327411. Go get counted!


Last edited by Angry Geek on Wed May 12, 2004 8:10 am; edited 2 times in total
Back to top
View user's profile Send private message
jkcunningham
l33t
l33t


Joined: 28 Apr 2003
Posts: 649
Location: 47.49N 121.79W

PostPosted: Tue May 11, 2004 7:54 pm    Post subject: Re: Fonts, Fonts and more Fonts!!!! Reply with quote

Angry Geek wrote:

<snip>
random results like this is off putting.
<snip>

'off putting'? Is that like miniature golf? ;-)

But really - there has to be a difference between the systems you aren't maybe aware of. For one thing, have you tried comparing the fonts listed in your "Files" section of /etc/X11/XF86Config? Here's one of mine:
    Section "Files"
    RgbPath "/usr/X11R6/lib/X11/rgb"
    ModulePath "/usr/X11R6/lib/modules"
    FontPath "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
    EndSection

Check it in both machines for a start. If those are the same, then compare the catalog entries listed in /usr/X11R6/lib/X11/fs/config. I'll bet your difference is in one place or the other. Another possibility is you don't have all the same fonts physically loaded on the crappy looking (font) machine.

-Jeff
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Tue May 11, 2004 8:06 pm    Post subject: Reply with quote

:-)

Machine B (Nice fonts)

USE Flags

Code:

USE="gtk gtk2 gnome kde qt -arts dvd motif ipv6 java doc 3dnow mmx tiff flac alsa gstreamer nptl gtkhtml gnomedb maildir mbox"


/usr/X11R6/lib/X11/fs/config
Code:

#
catalogue = /usr/X11R6/lib/X11/fonts/75dpi,
        /usr/X11R6/lib/X11/fonts/100dpi,
        /usr/X11R6/lib/X11/fonts/misc,
        /usr/X11R6/lib/X11/fonts/Type1,
        /usr/X11R6/lib/X11/fonts/Speedo,
        /usr/X11R6/lib/X11/fonts/CID,
        /usr/X11R6/lib/X11/fonts/util,
        /usr/X11R6/lib/X11/fonts/local,
        /usr/X11R6/lib/X11/fonts/Speedo,
        /usr/X11R6/lib/X11/fonts/truetype,
        /usr/X11R6/lib/X11/fonts/TTF,
        /usr/X11R6/lib/X11/fonts/cyrillic,
        /usr/X11R6/lib/X11/fonts/freefont,
        /usr/X11R6/lib/X11/fonts/sharefont,
        /usr/share/fonts/default/Type1,
        /usr/share/fonts/ttf/decoratives,
        /usr/share/fonts/ttf/western
                                                                                                                                                                                                     
# in 12 points, decipoints
default-point-size = 120
                                                                                                                                                                                                     
# 100 x 100 and 75 x 75
default-resolutions = 75,75,100,100
                                                                                                                                                                                                     
# how to log errors
use-syslog = on
                                                                                                                                                                                                     
# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70


/etc/X11/XF86config
Code:

    Load        "type1"
    Load        "speedo"
    Load        "freetype"
#  Load        "xtt"

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

_________________
Linux user 327411. Go get counted!


Last edited by Angry Geek on Tue May 11, 2004 8:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Tue May 11, 2004 8:10 pm    Post subject: Reply with quote

Machine A (crap fonts)

USE Flags
Code:

USE="X gtk gtk2 gnome alsa -kde -qt java -arts 3dnow cdr dvd mmx doc aalib xml faad flac xine tcltk gnomedb libgda gtkhtml postgres odbc ldap kerberos samba gstreamer tiff opengl wmf xml2 oggvorbis msn truetype"


/usr/X11R6/lib/X11/fs/config
Code:

catalogue = /usr/X11R6/lib/X11/fonts/75dpi,
        /usr/X11R6/lib/X11/fonts/100dpi,
        /usr/X11R6/lib/X11/fonts/misc,
        /usr/X11R6/lib/X11/fonts/Type1,
        /usr/X11R6/lib/X11/fonts/Speedo,
        /usr/X11R6/lib/X11/fonts/CID,
        /usr/X11R6/lib/X11/fonts/util,
        /usr/X11R6/lib/X11/fonts/local,
        /usr/X11R6/lib/X11/fonts/Speedo,
        /usr/X11R6/lib/X11/fonts/truetype,
        /usr/X11R6/lib/X11/fonts/TTF,
        /usr/X11R6/lib/X11/fonts/cyrillic,
        /usr/X11R6/lib/X11/fonts/freefont,
        /usr/X11R6/lib/X11/fonts/sharefont,
        /usr/share/fonts/default/Type1,
        /usr/share/fonts/ttf/decoratives,
        /usr/share/fonts/ttf/western
                                                                                                                                                                                                     
# in 12 points, decipoints
default-point-size = 120
                                                                                                                                                                                                     
# 100 x 100 and 75 x 75
default-resolutions = 75,75,100,100
                                                                                                                                                                                                     
# how to log errors
use-syslog = on
                                                                                                                                                                                                     
# font cache control, specified in KB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70


/etc/X11/XF86Config
Code:

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
[/code]
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Tue May 11, 2004 11:08 pm    Post subject: Reply with quote

Maybe because machine A has the -kde and -qt use flags?
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
jwj
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 240

PostPosted: Tue May 11, 2004 11:37 pm    Post subject: Reply with quote

Take a look at

/etc/fonts/fonts.conf
/etc/fonts/local.conf

and rebuild the font cache (fc-cache -fv --system-only).
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Wed May 12, 2004 5:48 am    Post subject: Reply with quote

Are you running gnome (more specifically the gnome-settings-daemon)? This changes some font settings.
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Wed May 12, 2004 8:03 am    Post subject: Reply with quote

codergeek42 wrote:
Maybe because machine A has the -kde and -qt use flags?


Nah. Following the desktop guide. I don't use KDE or QT hence the reason for the use flags.
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Wed May 12, 2004 8:07 am    Post subject: Reply with quote

timmfin wrote:
Are you running gnome (more specifically the gnome-settings-daemon)? This changes some font settings.


Yes sorry. I did not mention this is my original post, so apologies for that.

I'm assuming this runs by default? This is a fresh install.
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Wed May 12, 2004 10:48 am    Post subject: Reply with quote

jwj wrote:
Take a look at

/etc/fonts/fonts.conf
/etc/fonts/local.conf

and rebuild the font cache (fc-cache -fv --system-only).


I've left this 'as is'. Both machines are identicle.

fc-cache -fv does nothing I can notice. I tried recompiling X and freetype with and without USE=bindist with no difference. Does this flag actaully enable the bytecode interpreter or not? There seems to be some confusion over this looking on the forums.

Within gnome I've setup the following.

I've followed this guide also.

Not sure about 'xdpyinfo | grep resolution'. Using the default 96dpi. As I'm running 1600x1200 I get 75dpi back. This looks far too small.

Also not sure about the bytecode bit.

etc/fonts/local.conf
Code:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
  Enable sub-pixel rendering
   <match target="font">
      <edit name="rgba" mode="assign"><const>rgb</const></edit>
   </match>
-->
</fontconfig>


/etc/fonts/fonts.conf
Code:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>

<!--
   DO NOT EDIT THIS FILE.
   IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
   LOCAL CHANGES BELONG IN 'local.conf'.

   The intent of this standard configuration file is to be adequate for
   most environments.  If you have a reasonably normal environment and
   have found problems with this configuration, they are probably
   things that others will also want fixed.  Please submit any
   problems to the fontconfig bugzilla system located at fontconfig.org

   Note that the normal 'make install' procedure for fontconfig is to
   replace any existing fonts.conf file with the new version.  Place
   any local customizations in local.conf which this file references.

   Keith Packard
-->

<!-- Font directory list configured on  -->

   <dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
    <dir>/usr/X11R6/lib/X11/fonts/Type1</dir> <dir>/usr/X11R6/lib/X11/fonts/truetype</dir>
   <dir>/usr/share/fonts</dir>
   <dir>/usr/local/share/fonts</dir>
   <dir>/usr/X11R6/lib/X11/fonts/75dpi</dir>
   <dir>/usr/X11R6/lib/X11/fonts/100dpi</dir>
   <dir>~/.fonts</dir>

<!--
  Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
   <match target="pattern">
      <test qual="any" name="family">
         <string>mono</string>
      </test>
      <edit name="family" mode="assign">
         <string>monospace</string>
      </edit>
   </match>

<!--
  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
   <match target="pattern">
      <test qual="any" name="family">
         <string>sans serif</string>
      </test>
      <edit name="family" mode="assign">
         <string>sans-serif</string>
      </edit>
   </match>

<!--
  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
   <match target="pattern">
      <test qual="any" name="family">
         <string>sans</string>
      </test>
      <edit name="family" mode="assign">
         <string>sans-serif</string>
      </edit>
   </match>

<!--
  Mark common families with their generics so we'll get
  something reasonable
-->

<!--
  Serif faces
 -->
   <alias>
      <family>Bitstream Vera Serif</family>
      <family>Times</family>
      <family>Times New Roman</family>
      <family>Nimbus Roman No9 L</family>
      <family>Luxi Serif</family>
      <family>Kochi Mincho</family>
      <family>AR PL SungtiL GB</family>
      <family>AR PL Mingti2L Big5</family>
      <family>Baekmuk Batang</family>         
      <default><family>serif</family></default>
   </alias>
<!--
  Sans-serif faces
 -->
   <alias>
      <family>Bitstream Vera Sans</family>
      <family>Helvetica</family>
      <family>Arial</family>
      <family>Verdana</family>
      <family>Nimbus Sans L</family>
      <family>Luxi Sans</family>
      <family>Kochi Gothic</family>
      <family>AR PL KaitiM GB</family>
      <family>AR PL KaitiM Big5</family>
      <family>Baekmuk Dotum</family>
      <family>SimSun</family>
      <default><family>sans-serif</family></default>
   </alias>
<!--
  Monospace faces
 -->
    <alias>
      <family>Bitstream Vera Sans Mono</family>
      <family>Courier</family>
      <family>Courier New</family>
      <family>Andale Mono</family>
      <family>Luxi Mono</family>
      <family>Nimbus Mono L</family>
      <family>NSimSun</family>
      <default><family>monospace</family></default>
   </alias>
<!--
  If the font still has no generic name, add sans-serif
 -->
   <match target="pattern">
      <test qual="all" name="family" compare="not_eq">
         <string>sans-serif</string>
      </test>
      <test qual="all" name="family" compare="not_eq">
         <string>serif</string>
      </test>
      <test qual="all" name="family" compare="not_eq">
         <string>monospace</string>
      </test>
      <edit name="family" mode="append_last">
         <string>sans-serif</string>
      </edit>
   </match>
   
<!--
  Some Asian fonts misadvertise themselves as monospaced when
  in fact they are dual-spaced (half and full).  This makes
  FreeType very confused as it forces all widths to match.
  Undo this magic by disabling the width forcing code -->
   <match target="font">
      <test name="family"><string>GulimChe</string></test>
      <edit name="globaladvance"><bool>false</bool></edit>
   </match>
   
   <match target="font">
      <test name="family"><string>DotumChe</string></test>
      <edit name="globaladvance"><bool>false</bool></edit>
   </match>

   <match target="font">
      <test name="family"><string>BatangChe</string></test>
      <edit name="globaladvance"><bool>false</bool></edit>
   </match>

   <match target="font">
      <test name="family"><string>GungsuhChe</string></test>
      <edit name="globaladvance"><bool>false</bool></edit>
   </match>

<!--
   The Bitstream Vera fonts have GASP entries suggesting that hinting be
   disabled below 8 ppem, but FreeType ignores those, preferring to use
   the data found in the instructed hints.  The initial Vera release
   didn't include the right instructions in the 'prep' table. Fix this
   by disabling hinting manually at smaller sizes (< 8ppem)
 -->
   
   <match target="font">
      <test name="family">
         <string>Bitstream Vera Sans</string>
      </test>
      <test name="pixelsize" compare="less">
         <double>7.5</double>
      </test>
      <edit name="hinting">
         <bool>false</bool>
      </edit>
   </match>
   
   <match target="font">
      <test name="family">
         <string>Bitstream Vera Serif</string>
      </test>
      <test name="pixelsize" compare="less">
         <double>7.5</double>
      </test>
      <edit name="hinting">
         <bool>false</bool>
      </edit>
   </match>
   
   <match target="font">
      <test name="family">
         <string>Bitstream Vera Sans Mono</string>
      </test>
      <test name="pixelsize" compare="less">
         <double>7.5</double>
      </test>
      <edit name="hinting">
         <bool>false</bool>
      </edit>
   </match>
   
<!--
  Load per-user customization file
-->
   <include ignore_missing="yes">~/.fonts.conf</include>

<!--
  Load local system customization file
-->
   <include ignore_missing="yes">local.conf</include>

<!--
  Alias well known font names to available TrueType fonts
-->
   <alias>
      <family>Times</family>
      <accept><family>Times New Roman</family></accept>
   </alias>
   <alias>
      <family>Helvetica</family>
      <accept><family>Verdana</family></accept>
   </alias>
   <alias>
      <family>Arial</family>
      <accept><family>Verdana</family></accept>
   </alias>
   <alias>
      <family>Courier</family>
      <accept><family>Courier New</family></accept>
   </alias>

<!--
 Check user preference to avoid bitmap fonts and replace
 bitmap face names with equivalent scalable fonts
 -->

   <match target="pattern">
           <test name="prefer_outline">
                   <bool>true</bool>
           </test>
           <test name="family">
                   <string>Helvetica</string>
           </test>
           <edit name="family" mode="prepend" binding="same">
                   <string>Arial</string>
           </edit>
   </match>

   <match target="pattern">
           <test name="prefer_outline">
                   <bool>true</bool>
           </test>
           <test name="family">
                   <string>Times</string>
           </test>
           <edit name="family" mode="prepend" binding="same">
                   <string>Times New Roman</string>
           </edit>
   </match>
<!--
  Provide required aliases for standard names
-->
   <alias>
      <family>serif</family>
      <prefer>
         <family>Bitstream Vera Serif</family>
         <family>Times New Roman</family>
         <family>Nimbus Roman No9 L</family>
         <family>Luxi Serif</family>
         <family>Times</family>
         <family>Kochi Mincho</family>
         <family>AR PL SungtiL GB</family>
         <family>AR PL Mingti2L Big5</family>
         <family>Baekmuk Batang</family>         
      </prefer>
   </alias>
   <alias>
      <family>sans-serif</family>
      <prefer>
         <family>Bitstream Vera Sans</family>
         <family>Verdana</family>
         <family>Nimbus Sans L</family>
         <family>Luxi Sans</family>
         <family>Arial</family>
         <family>Helvetica</family>
         <family>Kochi Gothic</family>
         <family>AR PL KaitiM GB</family>
         <family>AR PL KaitiM Big5</family>
         <family>Baekmuk Dotum</family>
         <family>SimSun</family>
      </prefer>
   </alias>
   <alias>
      <family>monospace</family>
      <prefer>
         <family>Bitstream Vera Sans Mono</family>
         <family>Andale Mono</family>
         <family>Courier New</family>
         <family>Luxi Mono</family>
         <family>Nimbus Mono L</family>
         <family>Kochi Gothic</family>
         <family>AR PL KaitiM GB</family>
         <family>Baekmuk Dotum</family>
      </prefer>
   </alias>

<!--
 Artificial oblique for fonts without an italic or oblique version
 -->
 
   <match target="font">
      <!-- check to see if the font is roman -->
      <test name="slant">
         <const>roman</const>
      </test>
      <!-- check to see if the pattern requested non-roman -->
      <test target="pattern" name="slant" compare="not_eq">
         <const>roman</const>
      </test>
      <!-- multiply the matrix to slant the font -->
      <edit name="matrix" mode="assign">
         <times>
            <name>matrix</name>
            <matrix><double>1</double><double>0.2</double>
               <double>0</double><double>1</double>
            </matrix>
         </times>
      </edit>
      <!-- pretend the font is oblique now -->
      <edit name="slant" mode="assign">
         <const>oblique</const>
      </edit>
   </match>

   <config>
<!--
  These are the default Unicode chars that are expected to be blank
  in fonts.  All other blank chars are assumed to be broken and
  won't appear in the resulting charsets
 -->
      <blank>
         <int>0x0020</int>   <!-- SPACE -->
         <int>0x00a0</int>   <!-- NO-BREAK SPACE -->
         <int>0x00ad</int>   <!-- SOFT HYPHEN -->
         <int>0x115f</int>   <!-- HANGUL CHOSEONG FILLER -->
         <int>0x1160</int>   <!-- HANGUL JUNGSEONG FILLER -->
         <int>0x1680</int>   <!-- OGHAM SPACE MARK -->
         <int>0x2000</int>   <!-- EN QUAD -->
         <int>0x2001</int>   <!-- EM QUAD -->
         <int>0x2002</int>   <!-- EN SPACE -->
         <int>0x2003</int>   <!-- EM SPACE -->
         <int>0x2004</int>   <!-- THREE-PER-EM SPACE -->
         <int>0x2005</int>   <!-- FOUR-PER-EM SPACE -->
         <int>0x2006</int>   <!-- SIX-PER-EM SPACE -->
         <int>0x2007</int>   <!-- FIGURE SPACE -->
         <int>0x2008</int>   <!-- PUNCTUATION SPACE -->
         <int>0x2009</int>   <!-- THIN SPACE -->
         <int>0x200a</int>   <!-- HAIR SPACE -->
         <int>0x200b</int>   <!-- ZERO WIDTH SPACE -->
         <int>0x200c</int>   <!-- ZERO WIDTH NON-JOINER -->
         <int>0x200d</int>   <!-- ZERO WIDTH JOINER -->
         <int>0x200e</int>   <!-- LEFT-TO-RIGHT MARK -->
         <int>0x200f</int>   <!-- RIGHT-TO-LEFT MARK -->
         <int>0x2028</int>   <!-- LINE SEPARATOR -->
         <int>0x2029</int>   <!-- PARAGRAPH SEPARATOR -->
         <int>0x202a</int>   <!-- LEFT-TO-RIGHT EMBEDDING -->
         <int>0x202b</int>   <!-- RIGHT-TO-LEFT EMBEDDING -->
         <int>0x202c</int>   <!-- POP DIRECTIONAL FORMATTING -->
         <int>0x202d</int>   <!-- LEFT-TO-RIGHT OVERRIDE -->
         <int>0x202e</int>   <!-- RIGHT-TO-LEFT OVERRIDE -->
         <int>0x202f</int>   <!-- NARROW NO-BREAK SPACE -->
         <int>0x205f</int>   <!-- MEDIUM MATHEMATICAL SPACE -->
         <int>0x2060</int>   <!-- WORD JOINER -->
         <int>0x2061</int>   <!-- FUNCTION APPLICATION -->
         <int>0x2062</int>   <!-- INVISIBLE TIMES -->
         <int>0x2063</int>   <!-- INVISIBLE SEPARATOR -->
         <int>0x206A</int>   <!-- INHIBIT SYMMETRIC SWAPPING -->
         <int>0x206B</int>   <!-- ACTIVATE SYMMETRIC SWAPPING -->
         <int>0x206C</int>   <!-- INHIBIT ARABIC FORM SHAPING -->
         <int>0x206D</int>   <!-- ACTIVATE ARABIC FORM SHAPING -->
         <int>0x206E</int>   <!-- NATIONAL DIGIT SHAPES -->
         <int>0x206F</int>   <!-- NOMINAL DIGIT SHAPES -->
         <int>0x3000</int>   <!-- IDEOGRAPHIC SPACE -->
         <int>0x3164</int>   <!-- HANGUL FILLER -->
         <int>0xfeff</int>   <!-- ZERO WIDTH NO-BREAK SPACE -->
         <int>0xffa0</int>   <!-- HALFWIDTH HANGUL FILLER -->
         <int>0xfff9</int>   <!-- INTERLINEAR ANNOTATION ANCHOR -->
         <int>0xfffa</int>   <!-- INTERLINEAR ANNOTATION SEPARATOR -->
         <int>0xfffb</int>   <!-- INTERLINEAR ANNOTATION TERMINATOR -->
      </blank>
<!--
  Rescan configuration every 30 seconds when FcFontSetList is called
 -->
      <rescan>
         <int>30</int>
      </rescan>
   </config>

</fontconfig>


TIA.
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Wed May 12, 2004 11:15 am    Post subject: Reply with quote

Most interesting - you have posted your fontserver config, /usr/X11R6/lib/X11/fs/config, but nowhere in your X11 config Files section is the font server mentioned so it will not be used at all.


Håkan
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Wed May 12, 2004 11:19 am    Post subject: Reply with quote

hw-tph wrote:
Most interesting - you have posted your fontserver config, /usr/X11R6/lib/X11/fs/config, but nowhere in your X11 config Files section is the font server mentioned so it will not be used at all.


Håkan


Why would I want a font server like XFS? I do not wish to share my fonts with any other X clients. I thought It was depreciated these days? Besides I do not have XFS running on the good machine.
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Wed May 12, 2004 4:00 pm    Post subject: Reply with quote

Bump (please)
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
timmfin
Guru
Guru


Joined: 04 Sep 2002
Posts: 336
Location: Maryland, USA

PostPosted: Wed May 12, 2004 5:17 pm    Post subject: Reply with quote

Have you tried messing around the gnome font settings if you are running gnome?
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Wed May 12, 2004 5:51 pm    Post subject: Reply with quote

Yes. They are the same as the other box. First thing I checked.

Here are some screens of Firefox Here and here .

If I use Epiphany instead of Firefox, yet again the Fonts look different!!!!

C'mon Gentoo people. There must be a definitive guide out there!
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
soda_popstar
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 177

PostPosted: Wed May 12, 2004 6:14 pm    Post subject: Reply with quote

Maybe there's something wrong with your DPI settings.
Back to top
View user's profile Send private message
jkcunningham
l33t
l33t


Joined: 28 Apr 2003
Posts: 649
Location: 47.49N 121.79W

PostPosted: Wed May 12, 2004 10:32 pm    Post subject: Reply with quote

My next step would be to turn on xfs - just to see if it makes a difference. I always thought it was necessary for some apps - but I don't know which ones.

I just took a look at your to Firefox png's. I hate to say it, but they look the same quality to me. One is the gentoo site which is using a sans-serif font, the other is slashdot which is using a serif font. Are you saying they are supposed to be the same font? Why not compare the same url?
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Thu May 13, 2004 7:26 am    Post subject: Reply with quote

jkcunningham wrote:
My next step would be to turn on xfs - just to see if it makes a difference. I always thought it was necessary for some apps - but I don't know which ones.

I just took a look at your to Firefox png's. I hate to say it, but they look the same quality to me. One is the gentoo site which is using a sans-serif font, the other is slashdot which is using a serif font. Are you saying they are supposed to be the same font? Why not compare the same url?


The png's are both from firefox. The point I was trying to make was that even though I select the same fonts for both Firefox and Epiphany the page is displayed, or the font rendering etc is different within each.

I can't see that XFS is the solution. I don't run XFS on the other box and the same apps that I run on the shite box appaer just fine.

I followed the Font Deuglification Guide and this seems to have made a bit of a difference ont he desktop but not within Firefox etc.

Can anyone answer my original questions about xdpyinfo/DPI and the bytecode interpreter please. I need clarification on this.

I guess Linux fonts just ain't ready for mainstream use.
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
jkcunningham
l33t
l33t


Joined: 28 Apr 2003
Posts: 649
Location: 47.49N 121.79W

PostPosted: Fri May 14, 2004 1:15 am    Post subject: Reply with quote

I wasn't proposing XFS as a solution, merely a diagnostic. You can always turn it off again. The idea is to try to determine which side of the app your problem is on: Firefox or the system. If for whatever reason XFS fixes your problem on the ugly machine, it tells you something. I'm not sure what, but it tells you Firefox is probably not your problem. If, on the other hand, it makes no difference, then I'd start looking for Firefox configuration differences. Have you tried dirdiff'ing the firefox config directories?
Back to top
View user's profile Send private message
djs
Tux's lil' helper
Tux's lil' helper


Joined: 13 Dec 2002
Posts: 96
Location: CA

PostPosted: Fri May 14, 2004 4:42 am    Post subject: Vera Reply with quote

The problem is that one the machine with the big chunky font on Slashdot, you have media-fonts/ttf-bitstream-vera installed and on the other machine, you don't.

Probably you have the nice MS true type fonts installed and the makers of the /etc/fonts/fonts.conf have seen fit to put vera and other less desirable fonts higher in the prefer list for serif and sans-serif family substitutions and other silly things like accepting Verdana for Helvetica instead of for Arial...

I changed mine to look like this:

Code:
<!--
  Provide required aliases for standard names
-->
        <alias>
                <family>serif</family>
                <prefer>
                        <family>Times New Roman</family>
                        <family>Nimbus Roman No9 L</family>
                        <family>Bitstream Vera Serif</family>
                        <family>Luxi Serif</family>
                        <family>Times</family>
                        <family>Kochi Mincho</family>
                        <family>AR PL SungtiL GB</family>
                        <family>AR PL Mingti2L Big5</family>
                        <family>Baekmuk Batang</family>
                </prefer>
        </alias>
        <alias>
                <family>sans-serif</family>
                <prefer>
                        <family>Arial</family>
                        <family>Verdana</family>
                        <family>Bitstream Vera Sans</family>
                        <family>Nimbus Sans L</family>
                        <family>Luxi Sans</family>
                        <family>Helvetica</family>
                        <family>Kochi Gothic</family>
                        <family>AR PL KaitiM GB</family>
                        <family>AR PL KaitiM Big5</family>
                        <family>Baekmuk Dotum</family>
                        <family>SimSun</family>
                </prefer>
        </alias>
        <alias>
                <family>monospace</family>
                <prefer>
                        <family>Andale Mono</family>
                        <family>Courier New</family>
                        <family>Bitstream Vera Sans Mono</family>
                        <family>Luxi Mono</family>
                        <family>Nimbus Mono L</family>
                        <family>Kochi Gothic</family>
                        <family>AR PL KaitiM GB</family>
                        <family>Baekmuk Dotum</family>
                </prefer>
        </alias>
 


But it's all what you prefer.

/djs
Back to top
View user's profile Send private message
hw-tph
l33t
l33t


Joined: 08 Jan 2004
Posts: 768
Location: Uppsala, Sweden

PostPosted: Sat May 15, 2004 10:31 am    Post subject: Reply with quote

Angry Geek wrote:
Why would I want a font server like XFS? I do not wish to share my fonts with any other X clients. I thought It was depreciated these days? Besides I do not have XFS running on the good machine.


Then I don't quite see the point of you posting your fontserver configuration...?


Håkan
Back to top
View user's profile Send private message
Angry Geek
Apprentice
Apprentice


Joined: 23 Apr 2003
Posts: 162
Location: .uk

PostPosted: Sat May 15, 2004 10:42 am    Post subject: Reply with quote

hw-tph wrote:
Angry Geek wrote:
Why would I want a font server like XFS? I do not wish to share my fonts with any other X clients. I thought It was depreciated these days? Besides I do not have XFS running on the good machine.


Then I don't quite see the point of you posting your fontserver configuration...?


Håkan


It was asked for and therefore I posted it! Not really up on fonts hence the post.

I've got everything how I like it now anyway. Thanks to all for advice.
_________________
Linux user 327411. Go get counted!
Back to top
View user's profile Send private message
jkcunningham
l33t
l33t


Joined: 28 Apr 2003
Posts: 649
Location: 47.49N 121.79W

PostPosted: Sat May 15, 2004 4:47 pm    Post subject: Reply with quote

What did you have to do? Post it so others can learn.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum