Skip to content

Conversation

@PrithisIyyappan
Copy link
Contributor

Root Cause of the Issue

The issue originates from the DrawText method in the CanvasExtensions.Windows.cs class, which does not return the correct string path value when the application is in an unpacked state.

Description of Change

Added the GetFontFamily static method to return the font family based on whether the application is in an unpacked or packed state. The application state is determined by the newly added IsPackaged static method from the PackagedAppHelper static class.

Issues Fixed

Fixes #12

Screenshots

Before:

image

After:

image

@PaulAndersonS
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PaulAndersonS
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PaulAndersonS PaulAndersonS merged commit 6c32983 into syncfusion:main Nov 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Throws an exception when assigning a value to the FontFamily property of the SfChip control

3 participants