## Printer Device Driver

[prev][next][parent][TOC]

### prda_DeviceQueryFonts

Copies the FONTMETRICS data for the requested font to the caller's buffer. If the given face name is null, the data for all fonts will be returned, buffer size permitting.

On return, pulNumFonts will have been changed from the maximum number of fonts the caller would like returned to the actual number of fonts returned in the caller's buffer. This will either be zero (an invalid font face name was given), one (a legitimate face name was given), or a larger number. The latter case would occur if the caller gave a null font face name. In that situation as many fonts would be returned as could be fit into the caller's buffer.

Warnings:

A request for more bytes of information than are contained in a FONTMETRICS structure will return an error.

Because the driver currently does not distinguish between public and private fonts, the options parameter is ignored.