Skip to content

<text> maybe better against <path> for expressing String information #6076

Answered by greglandrum
ShangChien asked this question in Ideas
Discussion options

You must be logged in to vote

@ShangChien A path is used by default because we're using freetype to get the best text quality in the output.
If you want to disable this, you can use the noFreetype optional argument:

In [5]: d2d = Draw.MolDraw2DSVG(-1,-1,noFreetype=True)

Then the SVG will contain text elements instead of paths

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@ShangChien
Comment options

@ShangChien
Comment options

Answer selected by ShangChien
Comment options

You must be logged in to vote
2 replies
@greglandrum
Comment options

@ShangChien
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants