Antony Lee
Antony Lee
The install is broken; the extension module _mplcairo.dll is missing.
Released mplcairo 0.6 with wheels for Python up to 3.13, so you should be able to just install from PyPI.
A difficulty that I've not really handled with mplcairo but warrants at least discussion is what you want to do with subranges. Harfbuzz supports toggling a feature only for some...
Also, looking at this again, I wonder how well this will interact with font fallback: it seems not unreasonable that two entries in the font fallback list would want to...
The comments at https://github.com/matplotlib/matplotlib/pull/29794#issuecomment-2745256783 also apply, but because this PR doesn't actually touch the rendering API, I guess it's fine.
Even if we don't explicitly support sub-ranges, we still need to decide what happens if someone writes e.g. `fontfeatures=["+kern[3:5]"]` (where the whole syntax gets interpreted by harfbuzz). It's probably fine...
Looking at this in relation to #30282, I wonder (sorry for opening again a potential can of worms) whether associating the font features (and likewise the language) with the *Text*...
> This would break interaction between parts of text that use different features, e.g. "AV" string and user wants to enable a feature on "V" glyph, if this results in...
Actually that's a limitation of FT2Font. I couldn't get my hands on Apple Color Emoji.ttc, but at least with Apple Color Emoji.ttf, things work if you use the mplcairo backend...
There are some instructions at https://github.com/anntzer/mplcairo#building. Can you let me know what specific issues you are having with the build?