[问题]开次像素平滑后字体偏色,液晶的问题还是系统配置问题??

系统字体配置、中文显示和输入法问题
头像
hualang0929
帖子: 1226
注册时间: 2006-11-11 10:23
来自: Mars
联系:

#31

帖子 hualang0929 » 2007-11-19 17:14

fanhe 写了:你改改次像素顺序看看,在我这里如果微调不为轻微的话都会偏色的
不关顺序的事,那样只是 横着偏色或竖着偏色而已。
附件
2007-11-19-171801_1023x568_scrot.png
抬头望星空一片晴,我独行,夜已渐寒……
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#32

帖子 yysq009 » 2007-11-19 19:45

我感觉还是 libcairo2的版本问题。。
我用libcairo2-1.2.4就不偏色 用1.4.2高版本就偏色,其他配置都不动。
但是用1.2.4 一些程序不能运行,如beryl。

Do as you would be done by !
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#33

帖子 yysq009 » 2007-11-23 1:33

我发现,如果关闭rgba,就不会产生偏色现象了。

代码: 全选

 <match target="font">
 <edit mode="assign" name="rgba">
 <const>none</const>
</edit>
</match> 
我在fluxbox中关闭了rgba以后,字体正常,并使用最新的cairo,但是GNOME下,我不知道如何关闭次像素LCD的RGBA,请赐教!

Do as you would be done by !
头像
hualang0929
帖子: 1226
注册时间: 2006-11-11 10:23
来自: Mars
联系:

#34

帖子 hualang0929 » 2007-11-23 11:19

yysq009 写了:我发现,如果关闭rgba,就不会产生偏色现象了。

代码: 全选

 <match target="font">
 <edit mode="assign" name="rgba">
 <const>none</const>
</edit>
</match> 
我在fluxbox中关闭了rgba以后,字体正常,并使用最新的cairo,但是GNOME下,我不知道如何关闭次像素LCD的RGBA,请赐教!
rgba 用 none 就变成灰度平滑了,当然字体不会偏色。关键是关了次像素平滑字体会难看很多。

gnome 在字体渲染细节里面修改。
附件
2007-11-23-112526_539x173_scrot.png
抬头望星空一片晴,我独行,夜已渐寒……
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#35

帖子 yysq009 » 2007-11-23 19:37

但是打开了 次像素,始终是偏色,不知道怎么搞的。
关闭了RGBA 字体边缘稍微有一点模糊,不太明显。

Do as you would be done by !
头像
hualang0929
帖子: 1226
注册时间: 2006-11-11 10:23
来自: Mars
联系:

#36

帖子 hualang0929 » 2007-11-23 21:02

yysq009 写了:但是打开了 次像素,始终是偏色,不知道怎么搞的。
关闭了RGBA 字体边缘稍微有一点模糊,不太明显。
可不是一点,模糊好多 :twisted: :twisted:
抬头望星空一片晴,我独行,夜已渐寒……
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#37

帖子 yysq009 » 2007-11-23 21:50

那怎么搞? 开了 次像素,就偏色。。。我都找不到原因了。。。

看了下,的确模糊很多。开始不觉得。看着看着就觉得模糊很多了。。。。

Do as you would be done by !
头像
hualang0929
帖子: 1226
注册时间: 2006-11-11 10:23
来自: Mars
联系:

#38

帖子 hualang0929 » 2007-11-23 22:01

yysq009 写了:那怎么搞? 开了 次像素,就偏色。。。我都找不到原因了。。。

看了下,的确模糊很多。开始不觉得。看着看着就觉得模糊很多了。。。。
大家都一样,我看到开次像素的都偏色,不过有的不是很明显而已。
我现在就不是很明显。
自我安慰,我看不见 :twisted: :twisted:
抬头望星空一片晴,我独行,夜已渐寒……
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#39

帖子 yysq009 » 2007-11-23 22:06

用caior2_1.2.4-2 freetype6_2.2.1-3 xft2_2.1.8.2-9
用这3个版本的包,就不会偏色。。。

但是这3个包版本太低了。用新版本的就偏色。

你Xorg 的 Module 加载了啥???我的如下。。。 不知道XFF会不会比freetype好。看的说freetype比xff高级。。。

代码: 全选

Section "Module"
    Load           "dri"
    Load           "i2c"
    Load           "bitmap"
    Load           "dbe"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "GLcore"
    Load           "glx"
    Load           "int10"
    Load           "record"
    Load           "speedo"
    Load           "type1"
    Load           "vbe"
#   Load           "xtt"
EndSection

Do as you would be done by !
头像
hualang0929
帖子: 1226
注册时间: 2006-11-11 10:23
来自: Mars
联系:

#40

帖子 hualang0929 » 2007-11-23 22:22

代码: 全选

☎  cat xorg.conf
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizEdgeScroll"       "0"
        Option          "TouchpadOff"           "1"
        Option          "SHMConfig"             "on"
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "stylus"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "stylus"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "eraser"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "eraser"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "cursor"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "cursor"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "Device"
        Identifier      "ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
        Driver          "ati"
        BusID           "PCI:1:0:0"
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "通用显示器"
        Option          "DPMS"
        DisplaySize     287     215     # 1024x768  90dpi
        HorizSync       28-51
        VertRefresh     43-60
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
        Monitor         "通用显示器"
        DefaultDepth    24
        SubSection "Display"
                Modes           "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"

# Uncomment if you have a wacom tablet
#       InputDevice     "stylus"        "SendCoreEvents"
#       InputDevice     "cursor"        "SendCoreEvents"
#       InputDevice     "eraser"        "SendCoreEvents"
        InputDevice     "Synaptics Touchpad"
EndSection

代码: 全选

☎  cat xorg.conf.old 
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
        FontPath        "/usr/share/fonts/wenquanyi/wqy-bitmapfont/"
        FontPath        "/home/hualang/.fonts/"
EndSection

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "vbe"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "stylus"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "stylus"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "eraser"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "eraser"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "cursor"
        Option          "Device"        "/dev/input/wacom"
        Option          "Type"          "cursor"
        Option          "ForceDevice"   "ISDV4"         # Tablet PC ONLY
EndSection

Section "Device"
        Identifier      "ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]"
        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 Radeon Mobility M7 LW [Radeon Mobility 7500]"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "stylus"        "SendCoreEvents"
        InputDevice     "cursor"        "SendCoreEvents"
        InputDevice     "eraser"        "SendCoreEvents"
        InputDevice     "Synaptics Touchpad"
EndSection

Section "DRI"
        Mode    0666
EndSection
前几天 sudo dpkg-reconfigure xserver-xorg 了一次,新旧 xorg.conf 都在上面了
抬头望星空一片晴,我独行,夜已渐寒……
头像
dogfox
论坛版主
帖子: 5311
注册时间: 2006-09-02 14:18
来自: 汉桑城
联系:

#41

帖子 dogfox » 2007-11-23 22:32

和xorg无关吧
主要是看/etc/fonts/conf.d和/etc/fonts/conf.avail里有无支持LCD的
全世界linux爱好者联合起来 !
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#42

帖子 yysq009 » 2007-11-23 22:42

怎么看? 狐狸

详细点说咯。。。。

Do as you would be done by !
头像
hualang0929
帖子: 1226
注册时间: 2006-11-11 10:23
来自: Mars
联系:

#43

帖子 hualang0929 » 2007-11-23 22:48

yysq009 写了:怎么看? 狐狸

详细点说咯。。。。
他说的就是 rgb,他用纯平的,别听他的 :lol:
抬头望星空一片晴,我独行,夜已渐寒……
头像
dogfox
论坛版主
帖子: 5311
注册时间: 2006-09-02 14:18
来自: 汉桑城
联系:

#44

帖子 dogfox » 2007-11-23 22:52

不用LCD
纯属个人观点
全世界linux爱好者联合起来 !
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#45

帖子 yysq009 » 2007-11-24 9:35

俄,还是CRT好。!!!!!

难道就找不到解决办法??? 我都查遍了资料了。。。哎!!!!

Do as you would be done by !
回复