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…

Did you know...

IDRsolutions offers a whole range of online file converters to convert PDF and Microsoft Excel, Word and Office Documents to HTML5, SVG or image formats?

It is free to use for single file conversions and also includes Developer links if you want to use our commercial software for bulk conversions. Find out more on this page

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

Favourite resources from our HTML development team

As the web progresses and grows, so do the technologies that come along with it. Trying to keep on top of everything you need...
Ovidijus Okinskas
1 min read

Leave a Reply

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

IDRsolutions Ltd 2020. All rights reserved.