Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > [pscript] persistent font substitution

Reply
Thread Tools Display Modes

[pscript] persistent font substitution

 
 
jvilar
Guest
Posts: n/a

 
      07-01-2010
Hi,

I'm extending the oemps sample driver included in the sdk with a full ui
replacement. When I try to modify the fonts substitution map by calling
IPrintCoreHelper[PS]::SetFontSubstitution() method, the changes seem to be
volatile and never reach the registry (I expected the table being persisted
in PrinterDriverData\@TTFontSubTable as a multi string)

Any clue?

Thanks in advance
 
Reply With Quote
 
 
 
 
jvilar
Guest
Posts: n/a

 
      07-01-2010
Solved, it seems a bug in the pscript driver: if there is any call to
IPrintCoreHelper[PS]::SetOptions() then ALL the font substitution table is
updated to the registry (if different than the default one). It seems that
the pscript maintains an internal "dirty" flag stating that there are changes
pending to save into the registry and that that flag is not properly set on
calling IPrintCoreHelper::SetFontSubstitution(), but calling SetOptions()...

"jvilar" wrote:

> Hi,
>
> I'm extending the oemps sample driver included in the sdk with a full ui
> replacement. When I try to modify the fonts substitution map by calling
> IPrintCoreHelper[PS]::SetFontSubstitution() method, the changes seem to be
> volatile and never reach the registry (I expected the table being persisted
> in PrinterDriverData\@TTFontSubTable as a multi string)
>
> Any clue?
>
> Thanks in advance

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Times New Roman font problem Tom Hall Windows Vista General Discussion 3 05-29-2010 04:39 PM
Outgoing mail font issue Jim Wood Windows Live Mail 12 05-15-2010 10:28 PM
Can't delete Font ... NOT Windows Fonts JennB213 Windows Vista File Management 10 03-30-2010 08:16 AM
Printer Font substitution (scale fonts) Rafael Ottmann Windows Vista Drivers 0 02-19-2010 04:48 PM
Vista Font Managing Issues K3estrel Windows Vista File Management 6 12-07-2007 02:47 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59