Last modified: 2014-10-22 21:42:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74378, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72378 - Several SVG images are skipped as too big
Several SVG images are skipped as too big
Status: UNCONFIRMED
Product: OCG
Classification: Unclassified
PDF renderer (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Nobody - You can work on this!
https://it.wikipedia.org/w/index.php?...
:
Depends on:
Blocks: 72372
  Show dependency treegraph
 
Reported: 2014-10-22 19:45 UTC by Nemo
Modified: 2014-10-22 21:42 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
"154.14 Altri progetti" section from PDF (107.07 KB, application/pdf)
2014-10-22 21:11 UTC, Nemo
Details

Description Nemo 2014-10-22 19:45:58 UTC
While producing the PDF in URL, status messages often say that a certain SVG was skipped for being too big. We should be able to downscale, or whatever, as needed; after all we downscale even 780 Mpx JPGs.
Comment 1 C. Scott Ananian 2014-10-22 19:47:30 UTC
Yes, but "downscaling" SVGs means taking out detail (somehow).  We'd have to figure out which line segments to skip.

Maybe we can hack around this by rendering them as a bitmap of a reasonable size.  Do you have a test case I could experiment with?
Comment 2 Nemo 2014-10-22 21:11:28 UTC
Created attachment 16849 [details]
"154.14 Altri progetti" section from PDF

I'll pay more attention next time I generate the PDF and pick a test case. However, I think the attachment shows a likely consequence/example of the bug, where the "altri progetti" section has logos for Wikiquote and Commons but not Wikisource, Wiktionary and Wikivoyage.
Comment 3 Nemo 2014-10-22 21:42:28 UTC
I suspect the test case was destroyed by the fix for bug 72377: now that the space isn't taken by unreasonably huge images, I didn't see a single one skipped.
Will need to try with bigger books or bigger SVGs perhaps. Or if that's expected, close this bug for now.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links