Bug 66135 - pdftohtml - Colour and precision fixes
Summary: pdftohtml - Colour and precision fixes
Status: RESOLVED INVALID
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-24 20:30 UTC by Ryan Fox
Modified: 2014-02-18 23:30 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Add the ability to create a string from a double. (1.36 KB, patch)
2013-06-24 20:30 UTC, Ryan Fox
Details | Splinter Review
Fix the scale calculation for normalizing rotation matrices. (868 bytes, patch)
2013-06-24 20:31 UTC, Ryan Fox
Details | Splinter Review
Add support for stroke and fill colours in pdftohtml, as well as transparency in the colour. (9.05 KB, text/plain)
2013-06-24 20:31 UTC, Ryan Fox
Details
Change some int values to double where the values are coming from doubles upstream. (4.31 KB, patch)
2013-06-24 20:32 UTC, Ryan Fox
Details | Splinter Review
Add support for stroke and fill colours in pdftohtml, as well as transparency in the colour. (9.05 KB, patch)
2013-06-24 20:33 UTC, Ryan Fox
Details | Splinter Review

Description Ryan Fox 2013-06-24 20:30:18 UTC
I've had to make a few changes to the pdftohtml code to suit my purposes. These include:

  * correcting the rotation matrix normalization
  * including the transparency value in colours
  * outputting both stroke and fill colours
  * undoing the truncation of double values into integer values

The attached patches are based on the code from the 0.23.2 release.
Comment 1 Ryan Fox 2013-06-24 20:30:46 UTC
Created attachment 81364 [details] [review]
Add the ability to create a string from a double.
Comment 2 Ryan Fox 2013-06-24 20:31:04 UTC
Created attachment 81365 [details] [review]
Fix the scale calculation for normalizing rotation matrices.
Comment 3 Ryan Fox 2013-06-24 20:31:23 UTC
Created attachment 81366 [details]
Add support for stroke and fill colours in pdftohtml, as well as transparency in the colour.
Comment 4 Ryan Fox 2013-06-24 20:32:21 UTC
Created attachment 81367 [details] [review]
Change some int values to double where the values are coming from doubles upstream.
Comment 5 Ryan Fox 2013-06-24 20:33:46 UTC
Created attachment 81368 [details] [review]
Add support for stroke and fill colours in pdftohtml, as well as transparency in the colour.
Comment 6 Albert Astals Cid 2013-06-30 21:50:06 UTC
Hi Ryan, thanks a lot for the aptches, could you please attach some html files where we can see the improvements provided by these patches?
Comment 7 Albert Astals Cid 2014-02-18 23:30:45 UTC
Reporter did not follow up


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.