You are not logged in.

#1 2007-03-12 16:13:10

eduac
Member
Registered: 2006-03-17
Posts: 123

problem with font size on last upgrade (help!)

hi all

Today i do the upgrade with pacman -Syu and my fonts now are too small.

I have this line inside the Display section:

DisplaySize 210 157 # 96 DPI @ 800x600

and this is my pacman log:

[03/12/07 08:31] synchronizing package lists
[03/12/07 08:31] starting full system upgrade
[03/12/07 08:58] upgraded automake (1.9.6-1 -> 1.10-1)
[03/12/07 08:58] upgraded cairo (1.2.6-1 -> 1.4.0-1)
[03/12/07 08:58] upgraded cracklib (2.8.9-1 -> 2.8.10-2)
[03/12/07 08:58] upgraded libcups (1.2.7-1 -> 1.2.8-1)
[03/12/07 08:58] upgraded cups (1.2.7-1 -> 1.2.8-3)
[03/12/07 08:58] upgraded damageproto (1.0.3-1 -> 1.1.0-1)
[03/12/07 08:58] upgraded dbus-glib (0.72-2 -> 0.73-1)
[03/12/07 08:58] upgraded device-mapper (1.02.13-1 -> 1.02.18-1)
[03/12/07 08:58] upgraded ed (0.3-1 -> 0.4-1)
[03/12/07 08:58] upgraded esd (0.2.36-2 -> 0.2.37-2)
[03/12/07 08:58] upgraded exiv2 (0.12-1 -> 0.13-1)
[03/12/07 08:58] upgraded file (4.19-1 -> 4.20-1)
[03/12/07 08:58] upgraded findutils (4.2.29-1 -> 4.2.30-1)
[03/12/07 08:58] upgraded firefox (2.0.0.1-2 -> 2.0.0.2-1)
[03/12/07 08:58] upgraded freetype2 (2.2.1-4 -> 2.3.1-1)
[03/12/07 08:58] upgraded gcc (4.1.2-2 -> 4.1.2-3)
[03/12/07 08:58] upgraded glib2 (2.12.9-1 -> 2.12.10-1)
[03/12/07 08:58] upgraded kernel-headers (2.6.19.1-1 -> 2.6.20-1)
[03/12/07 08:58] upgraded glibc (2.5-3 -> 2.5-6)
[03/12/07 08:58] upgraded gnupg (1.4.6-1 -> 1.4.7-1)
[03/12/07 08:58] upgraded gpgme (1.1.3-1 -> 1.1.4-1)
[03/12/07 08:58] upgraded gstreamer0.10 (0.10.11-1 -> 0.10.12-1)
[03/12/07 08:58] upgraded pango (1.14.10-1 -> 1.16.0-2)
[03/12/07 08:58] upgraded randrproto (1.1.2-1 -> 1.2.1-1)
[03/12/07 08:58] upgraded libxrandr (1.1.2-1 -> 1.2.1-1)
[03/12/07 08:58] upgraded gtk2 (2.10.9-2 -> 2.10.9-3)
[03/12/07 08:58] upgraded gwenview (1.4.1-2 -> 1.4.1-3)
[03/12/07 08:58] upgraded hal (0.5.8.1-5 -> 0.5.8.1-6)
[03/12/07 08:58] upgraded imagemagick (6.3.1.3-1 -> 6.3.2.8-1)
[03/12/07 08:58] upgraded imap (2006c-3 -> 2006e-1)
[03/12/07 08:58] upgraded jasper (1.701.0-4 -> 1.701.0-5)
[03/12/07 08:58] upgraded libmpcdec (1.2.4-1 -> 1.2.5-1)
[03/12/07 08:58] installed libdvdread (0.9.7-1)
[03/12/07 08:58] upgraded k3b (0.12.17-2 -> 1.0rc6-1)
[03/12/07 08:58] upgraded kdeadmin (3.5.6-1 -> 3.5.6-2)
[03/12/07 08:58] upgraded kdebase (3.5.6-1 -> 3.5.6-3)
[03/12/07 08:59] warning: extracting /boot/kconfig26 as /boot/kconfig26.pacnew
[03/12/07 08:59] upgraded kernel26 (2.6.19.2-1 -> 2.6.20.2-1)
[03/12/07 08:59] upgraded klibc-udev (105-1 -> 106-1)
[03/12/07 08:59] upgraded libart-lgpl (2.3.17-2 -> 2.3.19-1)
[03/12/07 08:59] upgraded libgcrypt (1.2.3-1 -> 1.2.4-1)
[03/12/07 08:59] upgraded libgphoto2 (2.3.1-1 -> 2.3.1-2)
[03/12/07 08:59] upgraded libidl2 (0.8.7-1 -> 0.8.8-1)
[03/12/07 08:59] upgraded libmysqlclient (5.0.27-1 -> 5.0.37-1)
[03/12/07 08:59] upgraded libtasn1 (0.3.5-1 -> 0.3.9-1)
[03/12/07 08:59] upgraded libx11 (1.1-2 -> 1.1.1-3)
[03/12/07 08:59] upgraded libxdamage (1.0.4-1 -> 1.1-1)
[03/12/07 08:59] warning: extracting /etc/lilo.conf as /etc/lilo.conf.pacnew
[03/12/07 08:59] upgraded lilo (22.7.3-3 -> 22.8-1)
[03/12/07 08:59] upgraded mdadm (2.6-2 -> 2.6-3)
[03/12/07 08:59] upgraded mm (1.4.0-1 -> 1.4.2-1)
[03/12/07 08:59] upgraded nano (2.0.2-1 -> 2.0.3-1)
[03/12/07 08:59] upgraded nspr (4.6.4-1 -> 4.6.5-1)
[03/12/07 08:59] upgraded opencdk (0.5.8-1 -> 0.5.13-1)
[03/12/07 08:59] upgraded openssl (0.9.8d-1 -> 0.9.8e-1)
[03/12/07 08:59] upgraded qt (3.3.7-1 -> 3.3.8-1)
[03/12/07 08:59] upgraded udev (105-4 -> 106-1)
[03/12/07 08:59] upgraded xine-lib (1.1.3-1 -> 1.1.4-1)
[03/12/07 08:59] upgraded xorg-server (1.1.1-6 -> 1.2.0-3)
[03/12/07 08:59] upgraded xorg-server-utils (1.0.3-1 -> 1.0.3-2)

Anyone knows how to solve this? because seems the line DisplaySize on xorg.conf doesnt any effect on my font size.

Last edited by eduac (2007-03-12 19:44:06)


Arch - newbie

Offline

#2 2007-03-12 16:15:12

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: problem with font size on last upgrade (help!)

Try setting the DPI directly:

Option       "DPI" "96 x 96"

/path/to/Truth

Offline

#3 2007-03-12 16:19:19

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

McQueen wrote:

Try setting the DPI directly:

Option       "DPI" "96 x 96"

inside the Monitor section?

ps: the fonts are too small only inside gtk app

Last edited by eduac (2007-03-12 16:26:33)


Arch - newbie

Offline

#4 2007-03-12 17:31:17

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

anyone please?


Arch - newbie

Offline

#5 2007-03-12 18:00:24

Wikimig
Developer
From: France
Registered: 2004-12-10
Posts: 77
Website

Re: problem with font size on last upgrade (help!)

The same thing happened to me last week. The only difference is that font got big.

Well I only changed them on the "GTK Style and Font" tab of the KDE Control Panel. They are now at 10 to look nice. I don't know if 10 is supposed to be an average size...

Hope it helps...

Offline

#6 2007-03-12 18:02:58

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

Wikimig wrote:

The same thing happened to me last week. The only difference is that font got big.

Well I only changed them on the "GTK Style and Font" tab of the KDE Control Panel. They are now at 10 to look nice. I don't know if 10 is supposed to be an average size...

Hope it helps...

my problem is with font size on the webpages (firefox) and the text inside the editor (eclipse).


Arch - newbie

Offline

#7 2007-03-12 22:07:48

_alexmyself
Member
From: france
Registered: 2005-09-18
Posts: 89

Re: problem with font size on last upgrade (help!)

change for this in /usr/bin/startx:
defaultserverargs="-dpi 75 -nolisten tcp"
it's the only way wich works for me and for everything
the -no listen tcp is only if you don't use any network features of x

Offline

#8 2007-03-12 22:37:11

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: problem with font size on last upgrade (help!)

eduac wrote:

inside the Monitor section?

Yes, the "Monitor" section. Also, you can try appending this to ~/.Xdefaults:
Xft.dpi:96


/path/to/Truth

Offline

#9 2007-03-12 22:51:59

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

McQueen wrote:
eduac wrote:

inside the Monitor section?

Yes, the "Monitor" section. Also, you can try appending this to ~/.Xdefaults:
Xft.dpi:96

...doesnt work sad


Arch - newbie

Offline

#10 2007-03-12 23:07:25

McQueen
Member
From: Arizona
Registered: 2006-03-20
Posts: 387

Re: problem with font size on last upgrade (help!)

Can you add this to your ~/.fonts.conf & restart X:

<!-- Square the DPI -->

<match>
    <edit>
            <double>96</double>
    </edit>
</match>

/path/to/Truth

Offline

#11 2007-03-13 08:45:51

Wikimig
Developer
From: France
Registered: 2004-12-10
Posts: 77
Website

Re: problem with font size on last upgrade (help!)

eduac wrote:

my problem is with font size on the webpages (firefox) and the text inside the editor (eclipse).

Oops! Sorry.

For that I set a "minimum font size" on FF (Edit/View/Preference/Content/Fonts&Colors/Advanced) to 12.

Offline

#12 2007-03-13 19:04:37

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

doesnt work again sad


Arch - newbie

Offline

#13 2007-03-13 19:55:05

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

i think this is a bug with xorg, because, before the upgrade, everything is fine


Arch - newbie

Offline

#14 2007-03-14 15:07:39

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

why the arch maintainers dont test the pkgs before to publish?


Arch - newbie

Offline

#15 2007-03-14 15:09:33

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

how can i downgrade the xorg pkgs? is this possible?


Arch - newbie

Offline

#16 2007-03-14 16:29:15

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: problem with font size on last upgrade (help!)

copy

Xft*dpi:                96

to your .Xdefaults


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#17 2007-03-14 16:31:10

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

dolby wrote:

copy

Xft*dpi:                96

to your .Xdefaults

nothing yeat...


Arch - newbie

Offline

#18 2007-03-14 18:08:35

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

these are my screenshots...take a look on the font size the firefox and eclipse:

http://img474.imageshack.us/my.php?imag … ot9op0.png

http://img464.imageshack.us/my.php?imag … t10eo4.png

Last edited by eduac (2007-03-14 18:09:04)


Arch - newbie

Offline

#19 2007-03-16 06:04:05

no4
Member
From: Germany
Registered: 2005-09-10
Posts: 83

Re: problem with font size on last upgrade (help!)

I have exactly the same problem. Nothing mentioned works and I don't see any related error in /var/log/Xorg.0.log . A workaround is to downgrade xorg-server, xorg-server-utils and xf86-video-i810. The problem appears when xorg-server-1.2.0-3.pkg.tar.gz, xorg-server-utils-1.0.3-2.pkg.tar.gz and xf86-video-i810-1.7.4-2.pkg.tar.gz are installed. A strange thing is that everything is ok in Gnome (but just in Gnome, not in gdm nor openbox).




btw

eduac wrote:

why the arch maintainers dont test the pkgs before to publish?

Arch is a community linux distribution, so you can fix it as well. I guess nobody here is your slave.


Thank you free software developers for sharing your work.

Offline

#20 2007-03-16 09:58:34

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

my problem is solved, thx for all help.

Last edited by eduac (2007-03-16 10:04:27)


Arch - newbie

Offline

#21 2007-03-16 10:18:13

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: problem with font size on last upgrade (help!)

i dont know, i turn on the computer in this morning, and everything seems fine to me.


Arch - newbie

Offline

#22 2007-03-16 12:26:05

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: problem with font size on last upgrade (help!)

BTW: workaround for this problem for nvidia and i810 drivers is here
Unless it's already fixed in the xorg packages...

Last edited by lanrat (2007-03-16 12:26:28)

Offline

#23 2007-04-09 17:47:30

TheGrudge
Member
Registered: 2006-06-15
Posts: 206
Website

Re: problem with font size on last upgrade (help!)

I also had problems with my DPI settings, but I found a solution:

Say you have a laptop and you want to run X with 1024x768@75 DPI, all you need to do is set the DisplaySize variable in your xorg.conf following this formula:

1024x25.4 / 75 = 346,79 = 347
768x25.4 / 75 = 260

Place these values in your Monitor-Section:

Section "Monitor"
        Identifier "Monitor0"
        Option "DPMS" "true"
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
        DisplaySize 347 260

... and fonts should look normal again...

Further reading:
http://gentoo-wiki.com/HOWTO_Xorg_and_F … Fxorg.conf


digiKam developer - www.digikam.org

Offline

#24 2007-04-09 19:51:49

TheGrudge
Member
Registered: 2006-06-15
Posts: 206
Website

Re: problem with font size on last upgrade (help!)

Hmmm I have the feeling that X is somewhat slower than before... and the fonts don't look that smooth anymore.
So I checked the logs

grep -e EE -e WW /var/log/Xorg.0.log

and found some warnings about misconfigured font dirs. I commented them out and added one folder I found under "/usr/share/fonts/TTF" so this is my actual xorg.conf:

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
        InputDevice    "USB Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
   
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    #FontPath     "/usr/share/fonts/75dpi:unscaled"
    #FontPath     "/usr/share/fonts/75dpi"
    #FontPath     "/usr/share/fonts/100dpi:unscaled"
    #FontPath     "/usr/share/fonts/100dpi"
    #FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    #FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
    #FontPath     "/usr/share/fonts/ttf/western"
    #FontPath     "/usr/share/fonts/ttf/decoratives"
    #FontPath     "/usr/share/fonts/truetype"
    #FontPath     "/usr/share/fonts/truetype/openoffice"
    #FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    #FontPath     "/usr/share/fonts/latex-ttf-fonts"
    #FontPath     "/usr/share/fonts/defoma/CID"
    #FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "de"
    Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS" "true"
    #HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    #VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
    DisplaySize 346 260
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "Card0"
    Driver      "vesa"
    VendorName  "All"
    BoardName   "All"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     16
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Searching the logs for errors and warnings results in:

Current Operating System: Linux laptop 2.6.20-ARCH #1 SMP PREEMPT Mon Apr 9 16:29:54 CEST 2007 i686
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) Loading extension MIT-SCREEN-SAVER
(WW) VESA(0): Bad V_BIOS checksum
(WW) VESA(0): Bad V_BIOS checksum
(EE) AIGLX: Screen 0 is not DRI capable
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

but this is OK because my unichrome video card is not yet supported and so I'm just running X with the vesa driver.

So my actual question:
1. Do you find some settings in my conf that could be responsible for the slowdown of X?
2. I changed the font paths in the conf, do I have to run a tool to generate new font settings (like fontinst or something like that)


digiKam developer - www.digikam.org

Offline

#25 2007-04-09 20:22:20

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: problem with font size on last upgrade (help!)

vesa driver is your problem, it's a driver that basically works, but it doesn't support any acceleration method your hardware would provide.

Could you post the output of "lspci -nn" and give the line for your unichrome videocard? I could look for a driver update that adds support for your unichrome to one of the 3 videodriver packages available for those cards.

Offline

Board footer

Powered by FluxBB