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.
Latest posts by Chika Okereke (see all)
- PDF to JavaFX conversion – Applying Slide Transitions in JavaFX - August 7, 2012
- PDF to JavaFX conversion – Applying Fade-In Transitions in JavaFX - July 30, 2012
- PDF to JavaFx conversion – Applying Transform matrix to Text - June 20, 2012
- PDF to HTML5 conversion – Text rotation - June 18, 2012
- PDF to FXML conversion – Creating a FXML application with NetBeans: Adding images - May 8, 2012