Cairo.jl icon indicating copy to clipboard operation
Cairo.jl copied to clipboard

Allow to use FreeTypeAbstraction fonts and render glyph by index

Open Kolaru opened this issue 2 years ago • 6 comments

These are small features that I am porting from CairoMakie so that they will be available to Luxor as well, to allow support for MathTeXEngine v0.5.

I do not know if I should add tests for those or what those tests should look like.

Kolaru avatar Oct 03 '22 16:10 Kolaru

@lobingera How does this look to you?

cormullion avatar Oct 07 '22 08:10 cormullion

Hmm, I lost track how we do things in julia today. Code looks reasonable and i think i have a local branch that does more or less the same, but i never saw libfreetext working correctly on all platforms.

Testing - just calling all functions - would be nice. Having a standard font available that loads in all platforms is a plus. Doing an example is the highest i can ask for.

lobingera avatar Oct 07 '22 17:10 lobingera

This PR is greatly appreciated!

davibarreira avatar Oct 25 '22 12:10 davibarreira

Please let me know if this should be merged? Also happy to give access to a couple of more folks to maintain the package.

ViralBShah avatar Aug 12 '24 18:08 ViralBShah

Please let me know if this should be merged? Also happy to give access to a couple of more folks to maintain the package.

It would be great if Cairo.jl has occasional maintainers - it's pretty stable and unchanging generally.

I think Cairo.jl is still fairly central to the Julia ecosystem - probably needs releases and updates occasionally.

This PR probably needs some tests...

cormullion avatar Aug 13 '24 15:08 cormullion

Good point. Maybe we should see if any of the folks who have made a couple of PRs to Cairo.jl are interested in stepping up for light maintenance.

ViralBShah avatar Aug 13 '24 16:08 ViralBShah