Страница 1 из 1

Глюки шрифтов в Gtk

Добавлено: 10 мар 2006, 23:41
azog
Изображение
Появилось недавно, если окошко ресайзать или просто мышкой провести над надписью, текст нормально отрисуется.
Сглаживание выключено, hinting - medium. Пробовал другие варианты - тоже самое.
Глючит тоько в gtk приложениях.
Шрифты Tahoma, дистр - ubuntu 5.10

Добавлено: 11 мар 2006, 11:51
Gnida
Какие именно варианты вы пробывали?

Добавлено: 11 мар 2006, 19:49
azog
Ну там smoothing - none, hinting - none итд

Добавлено: 11 мар 2006, 21:25
Gnida
Это вапще какой gtk? gtk1 gtk2 ?
Напишите все поподробнее

Добавлено: 11 мар 2006, 23:13
azog
Это synaptic те gtk2 вроде. Такая же бяка ещё в xchat, интерфейсе гнома(менюшках) в наутилусах всяких, в фаерфоксе вроде нету.

Добавлено: 12 мар 2006, 16:17
Gnida
Это походу глюк в x.org с прозрачностью , по крайней мере в первых версиях с ней было такое.
Убери
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection

из /etc/X11/x.org
Если не разберешся , кинь сюда свой конфиг иксовый

Добавлено: 12 мар 2006, 21:21
azog

Код: Выделить всё

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
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/CID"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us,ru"
	Option		"XkbOptions"	"grp:alt_shift_toggle,grp_led:scroll"
#	Option		"XkbOptions"    "grp:ctrl_shift_toggle,grp_led:scroll" 
EndSection

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

Section "Device"
	Identifier	"NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
	Driver		"nvidia"
	BusID		"PCI:2:0:0"
	Option		"nologo"
	Option		"RenderAccel"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024"
	EndSubSection
EndSection

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

Section "DRI"
	Mode	0666
EndSection