Re: PANGO fonts

2003-02-14 Thread Bernd Demian
Am Fre, 2003-02-14 um 12.14 schrieb Sven Neumann:

> I'd say it's because of different display resolutions.
> 
> 
Hi,
thanx for the tip, all alpha boxes are not configured for the
resolution, an explizip -dpi0 75 in the file Xservers brings the right
results.
Bernd
> -- 
> Bernd Demian <[EMAIL PROTECTED]>
> CSC Ploenzke

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: PANGO fonts

2003-02-14 Thread Sven Neumann
Hi,

Bernd Demian <[EMAIL PROTECTED]> writes:

> Sorry,
> but all displays have 1280x1024 pixel!

I said display resolution, not display size. You are specifying the
size in points which is a real-world unit like millimeters. In order
to calculate a pixel size from it, the screen dimensions are being
taken into account. It seems that one box is assuming a monitor
resolution of approx. 100dpi while the other uses approx. 75 dpi.


Salut, Sven
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: PANGO fonts

2003-02-14 Thread Bernd Demian
Am Fre, 2003-02-14 um 12.14 schrieb Sven Neumann:
> Hi,
> 
> Bernd Demian <[EMAIL PROTECTED]> writes:

> I'd say it's because of different display resolutions.
> 
> 
> Salut, Sven
Sorry,
but all displays have 1280x1024 pixel!
Bernd
> -- 
> Bernd Demian <[EMAIL PROTECTED]>
> CSC Ploenzke

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list



Re: PANGO fonts

2003-02-14 Thread Sven Neumann
Hi,

Bernd Demian <[EMAIL PROTECTED]> writes:

> 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?

I'd say it's because of different display resolutions.


Salut, Sven
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list