XpsSerializationManager.SetFontSubsettingPolicy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the granularity at which font-subsetting is performed.
public:
void SetFontSubsettingPolicy(System::Windows::Xps::Serialization::FontSubsetterCommitPolicies policy);
public void SetFontSubsettingPolicy (System.Windows.Xps.Serialization.FontSubsetterCommitPolicies policy);
member this.SetFontSubsettingPolicy : System.Windows.Xps.Serialization.FontSubsetterCommitPolicies -> unit
Public Sub SetFontSubsettingPolicy (policy As FontSubsetterCommitPolicies)
Parameters
- policy
- FontSubsetterCommitPolicies
One of the enumeration values that specifies the font-subsetting policy.
Remarks
The default font-subsetting policy is CommitEntireSequence.
When font glyphs for text in an XPS document are saved in the document package, the document text displays identically on any computer or printer. If glyphs are not saved in document and the required font is not installed on the local computer or printer, the rendering device must substitute glyphs from another font. Substituting glyphs can change the appearance of the text when a different font is used.
SetFontSubsettingPolicy determines the granularity of font-subsetting.
CommitEntireSequence (default) is the most efficient and enables the pages of all documents in a document sequence to share one font-subset that contains only the glyphs that are actually used.
When creating interleaved documents, font-subsetting across a document sequence can require a large amount of memory to hold the complete document until the final font-subset can be determined. CommitPerPage or CommitPerDocument can be specified to reduce application memory requirements when you create interleaved documents.
When policy
is None, all the glyphs for all fonts that are used in the XPS document are saved, even glyphs for characters that not actually used in the text.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기