Google Groups

How can I improve PDF to SVG conversion for some SVG viewers?


Support Jun 1, 2011 2:53 PM
Posted in group: PDFTron PDF to SVG Converter
Q: We have tested some files using pdftron pdf2svg (http://
www.pdftron.com/pdf2svg/index.html) and  encountered a few files for
which text output isn't good.

Any ideas what we can do to improve the conversion?

------------

A: You may want to use the following option:


--individual_char_placement  Some viewers do not support the default
text
                              positioning correctly.  This option
works around
                              this issue to place text correctly, but
produces
                              verbose output.  This option will
override
                              --remove_char_placement.


which should fix the problem. The default option is:

 --remove_char_placement      Disable the output of character
positions.  This
                              will produce slightly smaller output
files than
                              the default setting, but many viewers do
not
                              support the output correctly.