Skip to content

Export text as paths in vector exports.#1013

Merged
doutriaux1 merged 1 commit intomasterfrom
vector-text-paths
Feb 11, 2015
Merged

Export text as paths in vector exports.#1013
doutriaux1 merged 1 commit intomasterfrom
vector-text-paths

Conversation

@alliepiper
Copy link
Copy Markdown
Contributor

The text alignment flags aren't handled consistently across GL2PS
backends (e.g. PDF has no concept of alignment), so exporting the text
as a series of Bezier curves will ensure that the resulting export is
consistent, regardless of format and/or viewer.

This fixes #503. Note that I had to fix an issue with VTK for this to handle the custom fonts properly -- make sure CDAT/VTK@9760973 is in your VTK tree when testing (VTK/uvcdat-master has already been updated).

The text alignment flags aren't handled consistently across GL2PS
backends (e.g. PDF has no concept of alignment), so exporting the text
as a series of Bezier curves will ensure that the resulting export is
consistent, regardless of format and/or viewer.
@aashish24
Copy link
Copy Markdown
Contributor

LGTM @doutriaux1 can you get this merged soon?

@aashish24
Copy link
Copy Markdown
Contributor

@doutriaux1 we really need this fix. Can we get it merged?

doutriaux1 added a commit that referenced this pull request Feb 11, 2015
Export text as paths in vector exports.
@doutriaux1 doutriaux1 merged commit e90bb34 into master Feb 11, 2015
@doutriaux1
Copy link
Copy Markdown
Contributor

@aashish24 I trust it didn't break any test case ;) otherwise please push the baseline as soon as possible.

@aashish24
Copy link
Copy Markdown
Contributor

thanks @doutriaux1 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

text rotation in VTK different from vcs way

3 participants