Printer Font substitution (scale fonts)

Discussion in 'Windows Vista Drivers' started by Rafael Ottmann, Feb 19, 2010.

  1. Hello,
    I am currently working in a render pluging that will replace a specific true
    type font for a device (printer) resident font.
    I have created my printer fonts (ufm files), compile them into a resource
    dll file and prepared the gpd file accordingly. My implementations of
    IPrintOemUni2::OutputCharStr and IPrintOemUni2::SendFontCmd are called
    correctly. But I am unable to handle scale fonts. For instance, I want an
    original Arial 20 text to printed in a larger resident font than a text using
    Arial 8, but when I activate the font substitution IPrintOemUni2::SendFontCmd
    does not inform any thing about the original truetype text metrics, so I am
    unable to change select the correct font for this situation.
    Is this possible to be done?

    Rafael Ottmann, Feb 19, 2010
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.