RE: [LIBART] pixels per inch



John,

Libart doesn't have a concept of "inch"  Only pixels.  It is just putting
pixels into a memory buffer.  If you want to display that buffer at 72 DPI
or 1500 DPI, that is your business :-)

BQ


> -----Original Message-----
> From: libart-admin gnome org [mailto:libart-admin gnome org]On Behalf Of
> John Hunter
> Sent: Wednesday, February 04, 2004 12:22 PM
> To: libart gnome org
> Subject: [LIBART] pixels per inch
>
>
>
> I am trying to make my fonts scale with dpi in am image library that
> uses freetype and libart as it's renderer.
>
> Does libart make some assumptions about how many pixels constitute and
> inch -- eg, 72 points per inch in postscript, 96 pixels per inch in
> gd?
>
> Thanks,
> John Hunter
> _______________________________________________
> Libart mailing list
> Libart gnome org
> http://mail.gnome.org/mailman/listinfo/libart
>
>




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