PDF to HTML5 conversion – Line width

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.

Related Posts:

The following two tabs change content below.
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).
Chika Okereke

About 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).

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>