bill@polygen.uucp (Bill Poitras) (04/30/91)
I am trying to query a font size of an X font structure that I have. On the X11/NeWS server V2.000, XGetFontProperty fails because the Sun X11/NeWS server doesn't store the POINT_SIZE font property. I am trying to use the metrics stored in the font structure. According to the definition of type size, adding the maximum accent and maximum decent of the entire font and converting pixels to points I should be able to do this. It doesn't seem to work. I suspect this is because the OpenWindows X11/NeWS server returns a differnet milimeter width of the screen then the X11R4 server. I use the width of the screen in milimeters to convert pixels to points. Could anyone give me some HELP!!! Thank you. +-----------------+---------------------------+-----------------------------+ | Bill Poitras | Polygen Corporation | {princeton mit-eddie | | (bill) | Waltham, MA USA | bu sunne}!polygen!bill | | | FAX (617)890-8694 | bill@polygen.com | +-----------------+---------------------------+-----------------------------+