Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the FontImageSource for Windows Unpackaged #22646

Merged
merged 6 commits into from
May 30, 2024
Merged

Conversation

mattleibow
Copy link
Member

Description of Change

This PR fixes the case where using the Uri for URI processing results in the fragment being URI encoded. Win2D does not accept encoded URIs, so we need to capture the fragment before processing.

Issues Fixed

Fixes #21993

@mattleibow mattleibow requested a review from a team as a code owner May 24, 2024 17:21
@mattleibow mattleibow requested review from Eilon and rmarinho May 24, 2024 17:21
@mattleibow mattleibow force-pushed the dev/font-image-source branch 2 times, most recently from 17d8b3f to daa770b Compare May 24, 2024 19:15
<FontImageSource Glyph="A" Color="Black" FontFamily="OpenSansRegular"/>
<FontImageSource Glyph="&#xf133;" Color="Black" FontFamily="FA"/>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing this because this test also had an issue with the font because it has a space. However, it was not noticeable since the fonts are close.

@PureWeen PureWeen requested review from Foda and removed request for Eilon May 24, 2024 22:06
Foda
Foda previously approved these changes May 24, 2024
jfversluis
jfversluis previously approved these changes May 27, 2024
@jsuarezruiz jsuarezruiz added platform/windows 🪟 area-fonts Custom fonts and Font related API's labels May 27, 2024
@mattleibow mattleibow dismissed stale reviews from jfversluis and Foda via 7942d6a May 27, 2024 11:56
@mattleibow
Copy link
Member Author

/rebase

Foda
Foda previously approved these changes May 28, 2024
@mattleibow mattleibow merged commit ec3c495 into main May 30, 2024
49 checks passed
@mattleibow mattleibow deleted the dev/font-image-source branch May 30, 2024 12:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Windows] Some icon fonts not working in unpacked apps
6 participants