Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/wpfPublic

Fixes rounding error while glyphrun serialization#6295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dipeshmsft merged 1 commit intomainfromglyphrun-issue
May 10, 2022

Conversation

@dipeshmsft
Copy link
Member

@dipeshmsftdipeshmsft commentedMar 22, 2022
edited
Loading

Fixes ##6525

Main PR

Description

When we serialize a GlyphRun to an XPS file, the advance widths for each glyph are rounded to an integer separately, thus producing a significant difference between the rendered output in the file and on the screen. This PR fixes the rounding, by taking into account the cumulative rounding error from the previous glyphs while rounding the current glyph.

Customer Impact

Affects the visual fidelity of WPF Applications.

Regression

No

Testing

Ad-Hoc testing. Tried with different sample apps.

Risk

Less

wstaelens, lindexi, and kronic reacted with thumbs up emoji
@dipeshmsftdipeshmsft requested a review froma team as acode ownerMarch 22, 2022 08:18
@ghostghost added the PRmetadata: Label to tag PRs, to facilitate with triage labelMar 22, 2022
@ghost ghost requested review fromSamBent andsinghashish-wpfMarch 22, 2022 08:19
@dipeshmsftdipeshmsft requested review fromanjaligupta-dev andsinghashish-wpf and removed request forsinghashish-wpfMarch 22, 2022 08:19
@ghost
Copy link

Hi@dipeshmsft. Please make sure you've updated the PR description to use theShiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge.

To learn more about how to prepare a servicing PRclick here.

@rbhandarbhanda added this to the6.0.6 milestoneMay 5, 2022
@dipeshmsftdipeshmsft merged commit2bcd1c6 intomainMay 10, 2022
@dipeshmsftdipeshmsft deleted the glyphrun-issue branchMay 10, 2022 06:22
@ghostghost locked asresolvedand limited conversation to collaboratorsJun 9, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@SamBentSamBentAwaiting requested review from SamBent

2 more reviewers

@singhashish-wpfsinghashish-wpfsinghashish-wpf approved these changes

@anjaligupta-devanjaligupta-devanjaligupta-dev approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

@dipeshmsftdipeshmsft

Labels

PRmetadata: Label to tag PRs, to facilitate with triageServicing-approved

Projects

None yet

Milestone

6.0.6

Development

Successfully merging this pull request may close these issues.

5 participants

@dipeshmsft@singhashish-wpf@anjaligupta-dev@rbhanda

[8]ページ先頭

©2009-2025 Movatter.jp