Chika Okereke

Chika has written much of the JavaFX converter and also helps with the HTML5 converter. When not experimenting with the new features of JavaFX, he is a keen basketball player (he is the tall guy you might see at Devoxx).

PDF to HTML5 conversion – Line width

34 sec read

Who would have thought that line width affects colour appearance? Debugging a file today led to an interesting discovery. The file in question seemed to have its lines missing when opened in firefox and appears to be a murky grey in Google chrome as opposed to black.

On first glance it seemed as though the line was not being printed out at all as I opened it in Firefox. However, after analysing the html out put the command to draw the line was clearly printed. After making sure that the RGB colour was in fact set to black the only other thing to consider was the line width which suprisingly showed a massive difference when increased. In chrome it became a more predominant black while it firefox it actually made an appearance.

I am sure we will find some additional cases which we have not currently covered. So try the latest version and let us know what you think.

Chika Okereke

Chika has written much of the JavaFX converter and also helps with the HTML5 converter. When not experimenting with the new features of JavaFX, he is a keen basketball player (he is the tall guy you might see at Devoxx).

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
3 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

How HTML5 Javadocs in Java 9 will make your…

Here at IDRsolutions we are very excited about Java 9 and have written a series of articles explaining some of the main features. In...
Rob
1 min read

Leave a Reply

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