Discussion:
[pscript] persistent font substitution
(too old to reply)
jvilar
2010-07-01 13:08:27 UTC
Permalink
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
jvilar
2010-07-01 14:04:50 UTC
Permalink
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()...
Post by jvilar
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
Any clue?
Thanks in advance
Loading...