Skip to content

Cairo::Image.cairo_image_surface_create_for_data() limits its use due to Blob parameter #21

Description

@Xliff

I've been trying to link Font::FreeType to Cairo for a few days and have run into a problem. It appears that use of the function in the subject is limited to Blob's. Unfortunately, I want to have cairo write direcly to a buffer that has already been allocated in C .

What would be the best way to link this to Cairo, via the above function, so that I don't have to have more than one buffer?

If this is not directly possible with the current implementation, can I attempt to correct the issue with a PR?

Thanks.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions