enable
enable copied to clipboard
Enable: low-level drawing and interaction
Warming up the Kiva font cache is a very expensive operation (several seconds). Most code will only trigger it when drawing text, which is generally gives a bad user experience....
Kiva fonts have an `underline` attribute, but `underline` is not a property of the underlying fonts that we query through `kiva.fonttools`, nor is it typically handled by the underlying backend...
Most backends and fonts understand three font "styles": normal, italic and oblique. Kiva currently only understands the first two. Adding support for this would require adding - the appropriate additional...
(Reporting traceback from someone's else platform) Upon creation of the kiva font cache on a Linux platform, one encounters the following logged error message ``` Could not parse font file...
The Kiva blend2d backend is still in a very alpha-quality state. Here's what we know is missing: - [ ] Some of the graphics state needs to be tracked by...
https://github.com/enthought/enable/blob/master/enable/examples/demo/enable/constraints_demo.enaml
https://github.com/enthought/enable/blob/588cde79a0e7099e2c0368d3e8e2e3664a296e61/kiva/agg/src/x11/plat_support.i#L114-L116 https://github.com/enthought/enable/blob/685038503500ecf8ffc30f3da68c7e848ae02e6f/kiva/cairo.py#L97-L99 First reported by @fred4ets in https://github.com/enthought/chaco/issues/531#issuecomment-740546173
https://github.com/enthought/enable/blob/20ef5793dc342ea7fc79f6cc64b1a20926bd31d9/kiva/agg/src/win32/plat_support.i#L130 ``` c:\users\rporuri\work\github\ets\enable\kiva\agg\plat_support.py:188: wxPyDeprecationWarning: Call to deprecated item. Use GetHandle instead. self.draw(window_dc.GetHDC(), x, y, width, height) ``` The above warning was observed when running the `examples\demo\basic\scatter.py` example on windows with...
https://github.com/enthought/enable/blob/3d138a235547240c98ed8aba1046a3f1c016d42b/kiva/abstract_graphics_context.py#L515-L523 `AbstractGraphicsContext.get_full_text_extent` has been deprecated in favor of `AbstractGraphicsContext.get_text_extent` but the deprecation is just on paper because we don't actually raise any warnings. We also haven't removed any uses of...
dev-python/enable $ find /mnt/gen2/TmpDir/portage/dev-python/enable-4.2.0/ -name freetype2 yields /mnt/gen2/TmpDir/portage/dev-python/enable-4.2.0/work/enable-4.2.0/kiva/agg/freetype2 What are the difficulties in using a system installed freetype2? Could you consider switching the build to use the system installed freetype2?