Printer fonts

Duane Clark dclark at akamail.com
Sat Jul 15 13:05:52 CDT 2006


Duane Clark wrote:
> It looks like, when printing via CUPS, if the PPD file for an installed 
> printer does not contain entries (usually at the end of the file) like:
> 
> *DefaultFont: Courier
> *Font AvantGarde-Book: Standard "(001.006S)" Standard ROM
> *Font AvantGarde-BookOblique: Standard "(001.006S)" Standard ROM
> ... (lots more)
> 
> ...
> It seems to me that Wine probably should work in this case. Would it be 
> acceptable to supply the defaults used in Wine's generic PPD file if 
> they are not in the one being used? I could take a shot at trying to 
> code that if it would be acceptable. Otherwise, I could change the error 
> message to perhaps better explain what the problem is.

Attached is a proposed patch that uses *Font entries from Wine's 
generic.ppd file if the printer PPD file does not have them. Would 
something along these lines be acceptable?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: psdrv_init02.diff
Type: text/x-patch
Size: 3989 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20060715/1a886655/psdrv_init02.diff


More information about the wine-devel mailing list