Skip to content

WPF Characters render differently in XPS document and on screen ( VisualContainer ) in WPF Application #6525

@dipeshmsft

Description

@dipeshmsft
  • .NET Core Version: (e.g. 3.0 Preview1, or daily build number, use dotnet --info) : Any ( 5.0 , 6.0 )
  • Windows version: (winver) Any
  • Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
  • Is this bug related specifically to tooling in Visual Studio (e.g. XAML Designer, Code editing, etc...)? If yes, please file the issue via the instructions here No
  • Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.

Output on Screen :
on-screen

Output in XPS File :
on-xps

Problem description:
When we render WPF characters as an XPS document, the output is incorrectly rendered as compared to that on the screen, thus affecting the visual fidelity of the applications.

Actual behavior:
Incorrectly sized outputs when XPS document is created.

Expected behavior:
The output on both screen and XPS document is similar.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions