New Forum | Previous | Next | (P-PDF) Developers
Topic: Font Size
Conf: (P-PDF) Developers, Msg: 37346
Date: 3/26/2002 02:07 AM
When generating a PDF file directly from your code (no toolkits), how do you determine the width and height of a character? I looked at the PostScript Language Reference, and it talks about font dictionaries, but where do you get these values? And, how do you adjust for font size; meaning, if I set the font size to 10, how does that relate to actual font width or height? In the PostScript Language Reference, they mention glyth width. I should probably mention that I am only using type one fonts (/Subtype /Type1) with Win ANSI Encoding (/Encoding /WinAnsiEncoding). Any input would be greatly appreciated.