Skip to content

Invalid cast in DrawingParagraphRenderItem #2541

Description

@swmal

When the TextShaper returned from GetShaperForFont is a GenericFontTextMeasurer instead of a TextMeasurer an InvalidCastException is thrown. We should cast to ITextMeasurer instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions