enthought / enthought/enable

Gaps/bugs in enable.savage implementation

Open
#525 1 comment 0 reactions 0 assignees View on GitHub
difficulty: advanced type: enhancement
Dominant language
C
Stars
97
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Kiva/Renderer Tasks
----------------------

* Line Dashing. [not sure if this is being parsed...]
* gradients
* blending
* Font lookup isn't very good. It seems to fail a lot.
* Correct handling of viewBox and x,y,width,height of , et al.
* Relative units (em, ex, %)
* Markers and symbols

Parsing/Document
---------------------

* Strike-through and underline. [do we or does the font handle this?]
* Text alignment/anchoring handled [ this will likely require more parsing]
* Add lines from svg to the compiled path in one call using lines instead of line_to.
* Line dash styles.

App
-----

* Adding kiva.agg and kiva.quartz versions in same UI to get timing and quality comparisons.
* Test using Image comparisons
* Cleaning up code so that both wx and kiva backends can use the same Document code.

Architecture
--------------

* Sepearation of rendering from document. - I *think* the Document should just build a tree that represents the SVG scene. We then write renderers (wx, kiva, whatever) that walk the tree and render it appropriately. This should simplify the separation of the code and improve the modularity of the various pieces.

* It would be interesting if the SVG backend to *kiva* actually used this same Document as its internal representation before writing out to text.

Kiva Bugs
-----------

* Mac requires ints for string styles and weights on fonts. I think it should take strings like 'bold', 'italic', etc.

Questions
-----------

* Should text color be the stroke or fill color? Note that the svg library is using fill color and Kiva uses stroke color.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.