Skip to content

Avoid closing stream by OpenFontReader.ReadPreview #216

@acaly

Description

@acaly

When using OpenFontReader to read a font collection, it would be really helpful to keep the stream open such that ReadPreview and Read can be called on the same stream instance. If the stream is seekable, this simplifies the logic a lot, because otherwise we either need to manually make a copy (probably to MemoryStream) or open the file again.

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