On 13 Jan 2002, Havoc Pennington wrote:

> 
> Dennis Bjorklund <[EMAIL PROTECTED]> writes: 
> > The doc of pango_font_description_set_size () says
> > 
> > size : the size for the font description in pango units. (PANGO_SCALE 
> > pango units equals one point)
> 
> PANGO_SCALE pango units equals one "device unit" which for the screen
> is pixels and for printed output would probably be points. The docs
> there are broken, yeah. I'll fix them.

No. This is wrong. All Pango units are in points, but scaled by 
PANGO_SCALE (1024) in order to support fractional values in an integer 
type.

There is no way to specify the pixel size of a font in pango.

/ Alex

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

Reply via email to