Skip to content

Remove panicking assert #61

@acarl005

Description

@acarl005

Hello, there are several assert!s in font_family::FontFamily, eg:

assert!(hr == 0);

Unfortunately, these are crashing our app. Can this crate provide fallible versions of these which return a Result instead so that we can recover from this error in a non-panicking way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions