fonts

Jelle de Jong jelledejong at powercraft.nl
Sun Dec 24 18:21:54 GMT 2006


You can calculate them:
                Your resolution is 1280x800
                width = 1280
                heigth = 800
                formula = pixelwidth/dpi*25.4 and pixelheight/dpi*25.4
                1280/96*25.4 and 800/96*25.4 =
		DisplaySize     338.67 211.67

I also send you a update version of the how to make sure you follow it
correct.

Let me know if it works.

Richard Nagle wrote:
> Yes, you are on to the problem, between thunderbird, gmail and firefox,
> and gedit and terminal the fonts (same font ) display different.
> 
> First: thanks for the help, my laptop monitor is not as high res as your
> monitor,
> its 1280 x 800
> 
> Next did one of those command
> rn at xub1:~$ sudo xdpyinfo |grep resolution
> Password:
>   resolution:    75x75 dots per inch
> 
> Next did that last command:
> rn at xub1:~$ sudo xdpyinfo |grep resolution
> Password:
>   resolution:    75x75 dots per inch
> rn at xub1:~$ xrdb -q |grep Xft
> Xft.antialias:  1
> Xft.dpi:        96
> Xft.hinting:    1
> Xft.hintstyle:  hintfull
> Xft.rgba:       none
> ---------------------------------------------------------------
> 
> Xorg:
> Section "Files"
>     FontPath    "/usr/share/X11/fonts/misc"
>     FontPath    "/usr/share/X11/fonts/cyrillic"
>     FontPath    "/usr/share/X11/fonts/100dpi/:unscaled"
>     FontPath    "/usr/share/X11/fonts/75dpi/:unscaled"
>     FontPath    "/usr/share/X11/fonts/Type1"
>     FontPath    "/usr/share/X11/fonts/100dpi"
>     FontPath    "/usr/share/X11/fonts/75dpi"
>     FontPath    "/usr/share/fonts/X11/misc"
>     # path to defoma fonts
>     FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection
> Section "Device"
>     Identifier    "ATI Technologies, Inc. M24 1P [Radeon Mobility X600]"
>     Driver        "ati"
>     BusID        "PCI:1:0:0"
> EndSection
> 
> Section "Monitor"
>     Identifier    "Generic Monitor"
>     Option        "DPMS"
> EndSection
> 
> Section "Screen"
>     Identifier    "Default Screen"
>     Device        "ATI Technologies, Inc. M24 1P [Radeon Mobility X600]"
>     Monitor        "Generic Monitor"
>     DefaultDepth    24
>     SubSection "Display"
>         Depth        1
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        4
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        8
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        15
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        16
>         Modes        "1280x800"
>     EndSubSection
>     SubSection "Display"
>         Depth        24
>         Modes        "1280x800"
>     EndSubSection
> EndSection
> ============================================
> 
> I like using mono type fonts, ( reading if you know what I mean....)
> where my glasses...<grin>
> 
> 
> As you can see, there is something weird going on.. it happen durning
> a update a week or two ago...
> 
> Rich
> So, what would be the numbers to entering into xorg..etc using my 1280 x
> 800 res.
> 
> Thank YOU...
> 
> 
> 
> 
> 
>     23-12-2006
>     Jelle de Jong
> 
>     problem different font look between xfce, firefox, openoffice.
> 
>     xdpyinfo |grep resolution
>             resolution:    95x96 dots per inch
> 
>     xrdb -q |grep Xft
>             Xft.antialias:  1
>             Xft.hinting:    1
>             Xft.hintstyle:  hintfull
>             Xft.rgba:       rgb
> 
>     --------------------------------
> 
>     1 - Remove old config file's:
>     rm ~/.config/xfce4/Xft*
> 
>     2 - Create new settings:
>     Menu -> Settings -> User Interface Preferences
>     Font Rendering:
>     RECHECK all checkboxen with these settings:
>     Use anti-aliasing for fonts
>     Use hinting: Full
>     Use sub-pixel hinting: RGB
> 
>     3 - Go to
>     mousepad ~/.config/xfce4/Xft.xrdb
>     And paste in the last line:
>     Xft.dpi: 96
>     (always leave a emty line)
> 
>     Looks now like this:
>     Xft.antialias: 1
>     Xft.hinting: 1
>     Xft.hintstyle: hintfull
>     Xft.rgba: rgb
>     Xft.dpi: 100
> 
>     Save and exit the Xft.xrdb file
> 
>     4 - Edit xorg
>     sudo mousepad /etc/X11/xorg.conf
>     And paste in under Section "Files" (if it's not there alread):
>     FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
>     FontPath "/usr/share/X11/fonts/100dpi"
> 
>     Looks now like this:
>     Section "Files"
>             FontPath        "/usr/share/X11/fonts/misc"
>             FontPath        "/usr/share/X11/fonts/cyrillic"
>             FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
>             FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
>             FontPath        "/usr/share/X11/fonts/Type1"
>             FontPath        "/usr/share/X11/fonts/100dpi"
>             FontPath        "/usr/share/X11/fonts/75dpi"
>             FontPath        "/usr/share/fonts/X11/misc"
>             # path to defoma fonts
>             FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
>     EndSection
> 
>     5 - Edit xorg add the DisplaySize property to the Monitor Section
>             sudo mousepad /etc/X11/xorg.conf
>             Go to Section "Monitor"
>             Calculate the wanted DisplaySize:
>                     My resolution is 1440x900
>                     width = 1440
>                     heigth = 900
>                     formula = pixelwidth/dpi* 25.4 and pixelheight/dpi*25.4
>                     1440/96*25.4 and 900/96*25.4 =
>             DisplaySize     381 238.125
>             Put this line in the Section "Monitor"
> 
>     Mine now looks like this:
>     Section "Monitor"
>             Identifier      "Generic Monitor"
>             Option          "DPMS"
>             Modeline        "1440x900" 106.50 1440 1520 1672 1904 900
>     903 909 934 -Hsync +Vsync
>             DisplaySize     381 238.125
>             HorizSync       30-81
>             VertRefresh     56-75
>     EndSection
> 
>     Save and exit the xorg.conf file
> 
>     Restart the system.
> 
>     Tips:
>     1 - You can also test to use 100 dpi everywere
>     2 - If openoffice gives you a hard time remove (removes al you
>     openoffice settings)
>             rm ~/.openoffice.org2
>     3- Use these commands to see your settings
>             xdpyinfo |grep resolution
>             xrdb -q |grep Xft
> 
> 
>     --
>     xubuntu-devel mailing list
>     xubuntu-devel at lists.ubuntu.com <mailto:xubuntu-devel at lists.ubuntu.com>
>     https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel
>     <https://lists.ubuntu.com/mailman/listinfo/xubuntu-devel>
> 
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: font problem xfce.txt
Url: https://lists.ubuntu.com/archives/xubuntu-devel/attachments/20061224/21abc8a0/attachment.txt 


More information about the xubuntu-devel mailing list