bug-ghostscript
[Top][All Lists]
Advanced

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

Font Attributes


From: Lesley Northam
Subject: Font Attributes
Date: Wed, 1 Jun 2005 09:21:50 -0400

Hello,

I have a couple questions about finding font attributes in Ghostscript.

Suppose I have a PS file "A" that was written by hand.  It contains a line
of text in Roman size 12.  Suppose I have a second PS file "B" that was
generated by OpenOffice (or any other program for that matter) that
contains the same line of text in Roman size 12 (according to OpenOffice).

When both PS files are printed, they look identical.

>From what I've been able to determine, FontMatrix.xx * 1000 yields the
size of the font.  This formula appears to work for the first PS file
("A"), but not for the second one ("B").

My first question is:  Where is the actual size of the font stored?
My second question is: Is the appearance (ie. bold, italic) stored?  If
                       so, where?

Thanks :)
Lesley.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]