You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I'd appreciate a PR that turns the function (and maybe any other function that currently takes Blob) into a multi with an additional candidate that accepts CArray. You could also investigate if it would work to just constrain it to, for example, Positional[int8] and if that makes it work immediately with my int8 \@foo, Buf[int8].new(1, 2, 3), Blob[int8].new(2, 3, 4), as well as a CArray
@Xliff. No sure if it helps, but have you noticed the FreeType example in doc/examples, which shares the underlying native FreeType face object with Cario.
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.
The text was updated successfully, but these errors were encountered: