[Poppler-bugs] [Bug 32340] pdftohtml renders images vertically flipped
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Mar 12 03:44:02 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=32340
--- Comment #9 from Ihar Filipau <thephilips at gmail.com> 2012-03-12 03:44:02 PDT ---
Feedback from calibre https://bugs.launchpad.net/calibre/+bug/952646 :
> A hint in the html/css is fine for calibre's purposes. Note that calibre's next
> gen PDF engine handles image rotation automatically using ImageMagick (you
> might want to use that code for a simpler patch). See pdf/images.cpp. Of
> course, that means poppler will have to depend on imagemagick, which may be a
> problem for them.
So for HTML output CSS it is.
I will try to make a patch for that.
--
I guess that's the way to do it in CSS:
http://stackoverflow.com/questions/1309055/cross-browser-way-to-flip-html-image-via-javascript-css
Unfortunately the CSS is bit too heavy for an inline style attribute.
Albert, would you prefer CSS being added to every HTML page (that would be
simpler) or an extra CSS file generated?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Poppler-bugs
mailing list