Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

PDF to HTML5 conversion – CharSpacing and WordSpacing

24 sec read

In a previous article, I wrote about adjusting text postions in HTML5 to try to get the best fit for the text compared to its PDF layout.

One of the huge benefits of holidays is that you get away from the keyboard and your brain get a chance to rest and think about things from a fresh angle. So you will find there is a new release out today which makes use of both to improve the HTML5 appearance. As usual you can enable/disable it in your code

/**
* use word spacing and line spacing to improve positioining
*/HTMLoutput.setBooleanValue(HTMLDisplay.UseCharSpacing, true);
HTMLoutput.setBooleanValue(HTMLDisplay.UseWordSpacing,true);

So let us know what you think…



Converting PDF/ Office Documents to HTML?

Convert PDF to HTML Find out why our customers use BuildVu for HTML conversion

Mark Stephens Mark has been working with Java and PDF since 1999 and is a big NetBeans fan. He enjoys speaking at conferences. He has an MA in Medieval History and a passion for reading.

Converting your PDF files to HTML5 with BuildVu 

Recently we announced our updated product range for 2018 and are rebranding some existing products, like JPDF2HTML5 which has been renamed to BuildVu. It...
Georgia Ingham
2 min read

Leave a Reply

Your email address will not be published. Required fields are marked *

IDRsolutions Ltd 2021. All rights reserved.