FS#68899 - [poppler] poppler-data shouldn't be optional (or maybe split)
Attached to Project:
Arch Linux
Opened by drws (drws) - Tuesday, 08 December 2020, 20:17 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 23 December 2020, 08:21 GMT
Opened by drws (drws) - Tuesday, 08 December 2020, 20:17 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 23 December 2020, 08:21 GMT
|
Details
The package poppler-data is described as "Encoding data for
the poppler PDF rendering library". Currently the main
package poppler considers it optional while describing it as
"encoding data to display PDF documents containing CJK
characters", which is unfortunately not the whole story. A
practical example would be the following file, which doesn't
render completely without poppler-data (with partially
missing text in the first page):
https://www.espressif.com/sites/default/files/1a-esp32_pin_list_en-v0.1.pdf Since poppler-data includes not only the CJK encoding data, it could be made required by poppler or even split into requred poppler-data and optional poppler-data-cjk or something like that. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Wednesday, 23 December 2020, 08:21 GMT
Reason for closing: Fixed
Additional comments about closing: pushed more clear optdepends suggestion to svn trunk for future builds.
Wednesday, 23 December 2020, 08:21 GMT
Reason for closing: Fixed
Additional comments about closing: pushed more clear optdepends suggestion to svn trunk for future builds.
Debian based distributions "recommend"(we call it optdepend) poppler-data for enconding.
I've confirmed your pdf file to fail to render without poppler-data and its not including anything CJK and Cyrillic related characters on that 1st page it seems.
I suggest you file an upstream bug to the poppler main tracker at https://gitlab.freedesktop.org/poppler/poppler/-/issues and ask if this is a valid poppler rendering bug or if the https://gitlab.freedesktop.org/poppler/poppler-data/-/blob/master/README is misleading about CJK/CYRILLIC.