libsbgn icon indicating copy to clipboard operation
libsbgn copied to clipboard

Proposal for text styles

Open cannin opened this issue 14 years ago • 2 comments

What we have not specified here is more information about alignment, font, and fontsize. So right now it would be left to the tool how to render the text inside the given bounding box. In the SBML Render Extension this is defined through styles for example:

<style idList="tGlyph_5"> <g stroke="Color_2" font-family="Arial" font-size="11" font-style="normal" font-weight="normal" text-anchor="middle" vtext-anchor="top"/> </style>

While I'd love to have this kind of information eventually I think for the time being we could live without it, and define that the text is to be rendered horizontally and vertically centered in a bounding box with a font that does not overspill. If we could agree on this we would be able to at least qualitatively reproduce maps.

Best Frank

Reported by: amarillion

cannin avatar Sep 08 '10 10:09 cannin