Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove vendored FreeType from Kiva Agg backend #553

Open
jwiggins opened this issue Jan 27, 2021 · 2 comments
Open

Remove vendored FreeType from Kiva Agg backend #553

jwiggins opened this issue Jan 27, 2021 · 2 comments

Comments

@jwiggins
Copy link
Member

Kiva's Agg backend includes FreeType 2.3.12 as a vendored dependency. This version is ~11 years old at this point.

Given the issues we've already had with symbol clashes from the vendored Agg code, it's probably a good idea to link FreeType as a shared library. This is already being done by EDM for matplotlib, so we could even use the same version.

#74 might be related

@jwiggins jwiggins changed the title Remove vendored FreeType from Kiva backend(s) Remove vendored FreeType from Kiva Agg backend Jan 28, 2021
@jwiggins
Copy link
Member Author

jwiggins commented Feb 1, 2021

See #556 for more details. Basically we'll need to do a bit of work to supply FreeType on Windows at build time if we want to remove it from kiva.

@jwiggins
Copy link
Member Author

jwiggins commented Mar 1, 2021

#556 was slightly misleading. I've since learned that Windows text rendering works fine, but there are issues with font engine caching in AGG which need to be worked around to get a correct result with respect to affine transformations. Celiagg was able to implement it in a way which works. (but it causes issue #643)

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

Successfully merging a pull request may close this issue.

1 participant