-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable exporting plot directly into PPT #1527
Comments
@aashish24 just a question.. What renderer does |
there is a module for GL2PS in vtk. @dlonie would know more about that. @dlonie can you point @durack1 to the source code? |
@aashish24 thanks, will await hints from @dlonie For what it's worth, as a UV-CDAT user I would never use an option to directly export to a It would be interesting to me to investigate the ability to export to Here are some relevant links: |
Text in VCS vector graphics is exported as a set of paths (that is, the characters are drawn as shapes in the file, rather than encoded as strings). This is to work around a number of export and portability issues regarding alignment, viewer font availability, portable regression testing, etc. If you'd like to modify them, you'll need to erase the path objects and replace them with a new text object using a post-processing editor. |
@dlonie ok, I was under the impression that
Rather than the alternate.. Is there a way of labeling the shapes as text objects, so that an import to vector editing software (e.g. Adobe Illustrator) will know about it being text? It would certainly aid the ability to tweak figures after exporting.. |
We had it like that, but changed it to use paths as not all of the vector formats support things like text alignment/rotation, and fonts vary greatly from platform to platform. These issues leading to portability problems and bad-looking outputs. It should be possible to add an option to the export methods in VCS to toggle between text objects and path exports. Check with @doutriaux1 about it, as it would require some API changes in the VCS library. |
@dlonie great, exposing the ability to write text as What do you need to be done from the |
@aashish24 @dlonie should this be morphed into another issue - it seems I hijacked the original one.. |
Yes, this should be a separate issue. There's nothing needed for this on the VTK side of things, there is an option on vtkGL2PSExporter to toggle between the two text styles. The VCS folks would need to add option to their library to switch between the modes. |
@doutriaux1 done #1537 - I would like both options exposed, maybe through an additional keyword argument? |
The text was updated successfully, but these errors were encountered: