PANGO fonts



Hi all,
ok my problem described 7. Febraur is unresolved. I got some tips but no
solution. Other developer have the same proplem I have.
I debugged my test program and got following results.

1. Linux Redhat 8.0
	PangoFont "Courier 11""
	XFont	"-adobe-courier-medium-r-normal--11-80-100-100-m-60-iso8859-1"
	XCharStruct	width 6
2. Alpha Trio grafic card
	PangoFont "Courier 11"
	XFont	"-adobe-courier-medium-r-normal--18-180-75-75-m-110-iso8859-1"
	XCharStruct	width 11

now I call gtk_entry_set_width_chars(GTK_ENTRY(entry),3)

1. Linux place for 3 character
2. Alpha place for 5 character

Why pango found this font?
This fonts are installed :
-adobe-courier-medium-r-normal--10-100-75-75-m-60-iso8859-1
-adobe-courier-medium-r-normal--11-80-100-100-m-60-iso8859-1
-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1
-adobe-courier-medium-r-normal--14-100-100-100-m-90-iso8859-1
-adobe-courier-medium-r-normal--14-140-75-75-m-90-iso8859-1
-adobe-courier-medium-r-normal--17-120-100-100-m-100-iso8859-1
-adobe-courier-medium-r-normal--18-180-75-75-m-110-iso8859-1

and I look which xlsfonts in the bound for 
-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1- 
I get the same result on linux and alpha.
 - bounds      max                7     3     8    11     3  0x0000

Who can help to find why pango use 'this' font.
Btw why get I more then 1 result with 

	xlsfonts  -display sirius:0 -ll -fn
		-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1.
	on Linux 2 and on alpha 4 results.
Thanx Bernd
-- 
Bernd Demian <bdemian csc-dd de>
CSC Ploenzke




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]