poppler issues
https://gitlab.freedesktop.org/poppler/poppler/-/issues
2021-10-30T19:43:01Z
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1168
pdftotext for quotations generates double closure marks
2021-10-30T19:43:01Z
Adam Reviczky
pdftotext for quotations generates double closure marks
When creating a PDF with quotations (delimited text), the text extract with poppler (and evince) creates double quotation marks at the end.
Rendering it with evince does not show the marks twice.
Example PDF (GNOME Document Viewer 40.4)...
When creating a PDF with quotations (delimited text), the text extract with poppler (and evince) creates double quotation marks at the end.
Rendering it with evince does not show the marks twice.
Example PDF (GNOME Document Viewer 40.4):
[quotation.pdf](/uploads/e0e2f52b5a1fb2e5b1c9266015d43069/quotation.pdf)
`“Hello world!”`
Extracted text with pdftotext version 21.06.1 (showing double quotes):
[quotation.txt](/uploads/2f36e25e61d6ec6793771bbe13238252/quotation.txt)
`“Hello world!””`
Extracted text with mupdf 1.17.0 (no double quotes):
[mupdf.txt](/uploads/af6f4874520b6547b5763d46a7ef29f8/mupdf.txt)
`“Hello world!”`
I am not sure whether this could also be an issue with the generated PDF, which can be reproduced with:
> \starttext
> \startquotation
> Hello world!
> \stopquotation
> \stoptext
at https://live.contextgarden.net/
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1167
Squiggly highlight lines appear above text line; should be below
2021-10-29T10:22:37Z
rgreen5
Squiggly highlight lines appear above text line; should be below
I direct you to https://github.com/linuxmint/xreader/issues/347 for a description of the issue in Xreader.
When squiggly highlight is applied to text, it appears ABOVE the text line when it should be UNDER the line.
I direct you to https://github.com/linuxmint/xreader/issues/347 for a description of the issue in Xreader.
When squiggly highlight is applied to text, it appears ABOVE the text line when it should be UNDER the line.
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1166
Incorrect top value for special symbols like © and ® in generated XML
2021-10-26T19:57:12Z
Nikhil Ranka
Incorrect top value for special symbols like © and ® in generated XML
For special symbols like © and ® the top value generated in the XML is incorrect and off by 1.
XML [data.xml](/poppler/poppler/uploads/96f697045140c19206ab042916e88ee8/data.xml) generated from this PDF [input.pdf](/poppler/poppler/upload...
For special symbols like © and ® the top value generated in the XML is incorrect and off by 1.
XML [data.xml](/poppler/poppler/uploads/96f697045140c19206ab042916e88ee8/data.xml) generated from this PDF [input.pdf](/poppler/poppler/uploads/2e69ddeb249d0b06f5dbf7f43e1e1989/input.pdf).
```xml
<text top="1941" left="201" width="5" height="9" font="15">©</text>
<text top="1940" left="206" width="189" height="15" font="2">2021 Medicine Su Masters Company. </text>
```
Or, is there a different way to interpret the generated XML?
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1165
Static lib problem
2021-10-26T19:56:49Z
Lukasz Kowol
Static lib problem
I build new poppler with msvc. When i try to link it to my project I have this problems. Could I build poppler with MT flag?
![image](/uploads/3f565478a34160177159a6bee8a78f4e/image.png)
I build new poppler with msvc. When i try to link it to my project I have this problems. Could I build poppler with MT flag?
![image](/uploads/3f565478a34160177159a6bee8a78f4e/image.png)
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1164
Out of bounds read in JBIG2Bitmap::combine(JBIG2Bitmap*, int, int, unsigned int)
2021-10-29T11:54:54Z
Samuel Anttila
Out of bounds read in JBIG2Bitmap::combine(JBIG2Bitmap*, int, int, unsigned int)
Hi friends! I've been doing some fuzzing and found an out-of-bounds read in JBIG2Bitmap::combine(JBIG2Bitmap*, int, int, unsigned int) through ASAN.
Full stack trace:
```
AddressSanitizer:DEADLYSIGNAL
=================================...
Hi friends! I've been doing some fuzzing and found an out-of-bounds read in JBIG2Bitmap::combine(JBIG2Bitmap*, int, int, unsigned int) through ASAN.
Full stack trace:
```
AddressSanitizer:DEADLYSIGNAL
=================================================================
==104077==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000a8c0 (pc 0x000000a8ae17 bp 0x7fff01a8a970 sp 0x7fff01a8a500 T0)
==104077==The signal is caused by a READ memory access.
#0 0xa8ae17 in JBIG2Bitmap::combine(JBIG2Bitmap*, int, int, unsigned int) /home/xen/Fuzz/poppler-21.09.0/poppler/JBIG2Stream.cc:819:24
#1 0xa993c9 in JBIG2Stream::readTextRegionSeg(unsigned int, bool, bool, unsigned int, unsigned int*, unsigned int) /home/xen/Fuzz/poppler-21.09.0/poppler/JBIG2Stream.cc:2188:25
#2 0xa8f6ff in JBIG2Stream::readSegments() /home/xen/Fuzz/poppler-21.09.0/poppler/JBIG2Stream.cc:1352:13
#3 0xa8e3a5 in JBIG2Stream::reset() /home/xen/Fuzz/poppler-21.09.0/poppler/JBIG2Stream.cc:1177:5
#4 0x774269 in ImageStream::reset() /home/xen/Fuzz/poppler-21.09.0/poppler/Stream.cc:616:10
#5 0x882b0c in SplashOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int const*, bool) /home/xen/Fuzz/poppler-21.09.0/poppler/SplashOutputDev.cc:3259:21
#6 0x5ce42e in Gfx::doImage(Object*, Stream*, bool) /home/xen/Fuzz/poppler-21.09.0/poppler/Gfx.cc:4563:22
#7 0x58eaca in Gfx::opXObject(Object*, int) /home/xen/Fuzz/poppler-21.09.0/poppler/Gfx.cc:4105:13
#8 0x5a4cf9 in Gfx::execOp(Object*, Object*, int) /home/xen/Fuzz/poppler-21.09.0/poppler/Gfx.cc:804:5
#9 0x5a3b88 in Gfx::go(bool) /home/xen/Fuzz/poppler-21.09.0/poppler/Gfx.cc:681:13
#10 0x5a3479 in Gfx::display(Object*, bool) /home/xen/Fuzz/poppler-21.09.0/poppler/Gfx.cc:642:5
#11 0x6cdadf in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/xen/Fuzz/poppler-21.09.0/poppler/Page.cc:576:14
#12 0x6e1fa6 in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/xen/Fuzz/poppler-21.09.0/poppler/PDFDoc.cc:662:24
#13 0x512d2e in poppler::page_renderer::render_page(poppler::page const*, double, double, int, int, int, int, poppler::rotation_enum) const /home/xen/Fuzz/poppler-21.09.0/cpp/poppler-page-renderer.cpp:280:13
#14 0x4d33fc in main /home/xen/Fuzz/poppler-21.09.0/cpp/utils/pdffuzz_verify.cc:121:24
#15 0x7f4a65e360b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16
#16 0x4234cd in _start (/home/xen/Fuzz/poppler-21.09.0/fuzz/pdffuzz_verify+0x4234cd)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/xen/Fuzz/poppler-21.09.0/poppler/JBIG2Stream.cc:819:24 in JBIG2Bitmap::combine(JBIG2Bitmap*, int, int, unsigned int)
==104077==ABORTING
```
Attached is the [PDF file](/uploads/a627b521df2bab243343ad336a5238cb/id_000056_sig_11_src_000030_time_1956434_op_havoc_rep_16) which generates the issue along with the [source](/uploads/ac5e6fbeec7f0d0ac27c49b47765b76a/pdffuzz_verify.cc) of the test program I used to generate above ASAN stacktrace.
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1162
pdfseparate + pdfunite produce new file with size different of the file original
2021-10-26T19:58:02Z
Aline Duarte
pdfseparate + pdfunite produce new file with size different of the file original
File example: [exampleFile.pdf](/uploads/fd0aa179afab12a0993b4831783809d0/exampleFile.pdf) with `54.8KB`
The problem is when executes the commands:
```
pdfseparate -f 1 exampleFile.pdf %d.pdf
pdfunite 2.pdf 3.pdf 4.pdf 5.pdf 6.pdf 7.pd...
File example: [exampleFile.pdf](/uploads/fd0aa179afab12a0993b4831783809d0/exampleFile.pdf) with `54.8KB`
The problem is when executes the commands:
```
pdfseparate -f 1 exampleFile.pdf %d.pdf
pdfunite 2.pdf 3.pdf 4.pdf 5.pdf 6.pdf 7.pdf 8.pdf 9.pdf 10.pdf exampleFile1.pdf
pdfunite 1.pdf exampleFile1.pdf finalExample.pdf
```
The final files size for exampleFile1.pdf and finalExample.pdf files are `155.5KB` and `162.6KB`, respectively.
As our system saves the last file (`finalExample.pdf`) for other editions, this increase in file size after using the commands (`pdfseparate` and `pdfunite`) caused a performance issue in the `pdfseparate` command itself, due to the file size getting in MB(megabytes).
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1161
Qt API: Document::page(const QString &label) not working in some documents
2021-12-09T06:25:31Z
Valentin Bruch
Qt API: Document::page(const QString &label) not working in some documents
When using the Qt 5/6 API of poppler, for some documents pages cannot be found by their label.
Given an affected PDF document this means that for any Poppler::Page* page in the document:
```c++
document->page(page->label()) == NULL
```
a...
When using the Qt 5/6 API of poppler, for some documents pages cannot be found by their label.
Given an affected PDF document this means that for any Poppler::Page* page in the document:
```c++
document->page(page->label()) == NULL
```
although the pages do have valid labels.
A code snipplet to test this issue and two test documents (one which shows the bug and one which doesn't) are attached:
[poppler_pagelabels.tar.gz](/uploads/b6f1ad8ed3d3fb6ac57a2dd7be4cbda2/poppler_pagelabels.tar.gz)
The problem is found in the qt5 and qt6 API of poppler 21.10.0, but also in older versions at least since 21.07.0.
This might be related to the way how page labels are defined in the PDF. In the attached `baddocment.pdf` all page labels are defined entirely via the prefix (`/P`) of the page label and the page label object does not include a numbering style (`/S`).
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1160
How to install poppler 0.73.0 and pdftools in Debian?
2021-10-22T21:01:15Z
Andres Mora-Gomez
How to install poppler 0.73.0 and pdftools in Debian?
Hello to all.
I apoligize in advance if this isnt the right place to post. I have been tirelessly trying to install a more recent version of poppler on my Debian (9.13 stretch) machine. Even though im able to compile it, for some reaso...
Hello to all.
I apoligize in advance if this isnt the right place to post. I have been tirelessly trying to install a more recent version of poppler on my Debian (9.13 stretch) machine. Even though im able to compile it, for some reason installing pdftools package in R ends with errors. I will appreciate any help given.
running `sudo apt-get install libpoppler-cpp-dev` will install version 0.48.0 on my system
Here is what i have done so far, according to [these ](https://askubuntu.com/a/1112947/1493271) instructions
```
sudo apt purge libpoppler-cpp-dev
sudo apt-get install libopenjp2-7-dev libgdk-pixbuf2.0-dev cmake checkinstall
sudo apt-get build-dep libpoppler-cpp-dev
cd
wget https://poppler.freedesktop.org/poppler-0.73.0.tar.xz
tar -xf poppler-0.73.0.tar.xz
cd poppler-0.73.0
mkdir build
cd build
cmake ..
sudo checkinstall make install
```
the above returns
```
Done. The new package has been installed and saved to
/home/admonda/poppler-0.73.0/build/poppler_0.73.0-1_amd64.deb
You can remove it from your system anytime using:
dpkg -r poppler
```
then i execute
`echo "export R_LD_LIBRARY_PATH=\$R_LD_LIBRARY_PATH:/usr/local/lib" >> .bashrc`
which returns nothing
then i go to my R console and run the pdftools package installation which fails
```
> install.packages("pdftools")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
probando la URL 'https://cloud.r-project.org/src/contrib/pdftools_3.0.1.tar.gz'
Content type 'application/x-gzip' length 935692 bytes (913 KB)
==================================================
downloaded 913 KB
* installing *source* package ‘pdftools’ ...
** package ‘pdftools’ successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=-I/usr/local/include/poppler/cpp -I/usr/local/include/poppler
Using PKG_LIBS=-L/usr/local/lib -lpoppler-cpp
** libs
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/local/include/poppler/cpp -I/usr/local/include/poppler -I"/usr/local/lib/R/site-library/Rcpp/include" -fvisibility=hidden -fpic -g -O2 -fdebug-prefix-map=/home/jranke/git/r-backports/stretch/r-base-3.6.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/local/include/poppler/cpp -I/usr/local/include/poppler -I"/usr/local/lib/R/site-library/Rcpp/include" -fvisibility=hidden -fpic -g -O2 -fdebug-prefix-map=/home/jranke/git/r-backports/stretch/r-base-3.6.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c bindings.cpp -o bindings.o
g++ -std=gnu++11 -shared -L/usr/lib/R/lib -Wl,-z,relro -o pdftools.so RcppExports.o bindings.o -L/usr/local/lib -lpoppler-cpp -L/usr/lib/R/lib -lR
installing to /usr/local/lib/R/site-library/00LOCK-pdftools/00new/pdftools/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘pdftools’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/local/lib/R/site-library/00LOCK-pdftools/00new/pdftools/libs/pdftools.so':
libpoppler-cpp.so.0: cannot open shared object file: No such file or directory
Error: loading failed
Ejecución interrumpida
ERROR: loading failed
* removing ‘/usr/local/lib/R/site-library/pdftools’
The downloaded source packages are in
‘/tmp/RtmpAXvNGB/downloaded_packages’
Warning message:
In install.packages("pdftools") :
installation of package ‘pdftools’ had non-zero exit status
```
My R session info
```
> sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)
Matrix products: default
BLAS: /usr/lib/libblas/libblas.so.3.7.0
LAPACK: /usr/lib/lapack/liblapack.so.3.7.0
locale:
[1] LC_CTYPE=es_CO.UTF-8 LC_NUMERIC=C LC_TIME=es_CO.UTF-8 LC_COLLATE=es_CO.UTF-8 LC_MONETARY=es_CO.UTF-8
[6] LC_MESSAGES=es_CO.UTF-8 LC_PAPER=es_CO.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=es_CO.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.3 tools_3.6.3 Rcpp_1.0.6 tinytex_0.32 qpdf_1.1 xfun_0.23 askpass_1.1
```
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1159
poppler-cpp build by cmake problem
2021-10-22T11:47:40Z
Lukasz Kowol
poppler-cpp build by cmake problem
I build poppler 0.68 with BUILD_SHARED_LIBS = OFF and ENABLE_CPP = ON. The poppler-cpp.lib isn't build ok. Where is the problem? I have errors (look at attached file). When I set BUILD_SHARED_LIBS = ON then is all OK. But I want static l...
I build poppler 0.68 with BUILD_SHARED_LIBS = OFF and ENABLE_CPP = ON. The poppler-cpp.lib isn't build ok. Where is the problem? I have errors (look at attached file). When I set BUILD_SHARED_LIBS = ON then is all OK. But I want static lib.
![image](/uploads/08e85d6b74d382beb435abec40da46c4/image.png)
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1158
poppler-cpp as static?
2021-10-22T09:35:36Z
Lukasz Kowol
poppler-cpp as static?
I build poppler-cpp (ver. 0.68) by msvc 2013. Is there any way to build poppler-cpp.lib as fully static? Because now my project need to work a poppler-cpp.dll and jpeg.dll files.
I build poppler-cpp (ver. 0.68) by msvc 2013. Is there any way to build poppler-cpp.lib as fully static? Because now my project need to work a poppler-cpp.dll and jpeg.dll files.
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1157
Problem with broken jpeg on /cpp/test/poppler-render.exe
2021-10-22T10:16:11Z
Lukasz Kowol
Problem with broken jpeg on /cpp/test/poppler-render.exe
I have problem. I compile jpglib, freetype and iconv with msvc2013. Then I compile poppler with this libs. pdftoppm working OK but /cpp/test/poppler-render.exe generate a broken jpg like in attach file. I have pdf with text. Could someon...
I have problem. I compile jpglib, freetype and iconv with msvc2013. Then I compile poppler with this libs. pdftoppm working OK but /cpp/test/poppler-render.exe generate a broken jpg like in attach file. I have pdf with text. Could someone help me? I compile poppler 0.50![0](/uploads/bce5fc628673340016778e2ada78aff6/0.jpg)
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1156
pdftoppm generate jpg, png files size 0 KB
2021-10-22T10:15:58Z
Lukasz Kowol
pdftoppm generate jpg, png files size 0 KB
I compile poppler with msvc. All utils worked. But I have problem with pdftoppm. When I convert to ppm is OK. But when I convert pdf to jpg or png the file is 0 KB (without errors in shell). When I convert to tiff I have "-: Error writin...
I compile poppler with msvc. All utils worked. But I have problem with pdftoppm. When I convert to ppm is OK. But when I convert pdf to jpg or png the file is 0 KB (without errors in shell). When I convert to tiff I have "-: Error writing TIFF header." What is wrong? I try this to 5 pdf files. I use poppler 0.50
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1155
Poppler licence purchase
2021-10-20T20:14:27Z
Ashutosh kumar
Poppler licence purchase
Hi,
We are evaluating poppler for purchasing its commercial licence for our product.
Would really appreciate if someone can please provide relevant contact point/sales team email address.
I was looking for sales team information but c...
Hi,
We are evaluating poppler for purchasing its commercial licence for our product.
Would really appreciate if someone can please provide relevant contact point/sales team email address.
I was looking for sales team information but could not find so far.
Thanks,
Ashutosh Kumar
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1154
Can we consider using code from PDFium or pdf.js to have xfa support?
2021-10-19T20:28:50Z
Johnny Week
Can we consider using code from PDFium or pdf.js to have xfa support?
Both PDFium (https://pdfium.googlesource.com/pdfium/) and pdf.js (https://github.com/mozilla/pdf.js) have basic support for xfa forms which is going to get better as time goes on. No other open source libraries can open xfa forms other t...
Both PDFium (https://pdfium.googlesource.com/pdfium/) and pdf.js (https://github.com/mozilla/pdf.js) have basic support for xfa forms which is going to get better as time goes on. No other open source libraries can open xfa forms other than these two. Can there be a possibility of using code from either one of these projects to allow poppler to support xfa forms natively?
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1153
Static library for C++ build with msvc 2013
2021-10-22T09:35:36Z
Lukasz Kowol
Static library for C++ build with msvc 2013
Hello. I need some help. I have to compile poppler with Visual Studio 2013. Can somebody help me? I must have poppler-cpp as static lib.
I tried propably everything. But nothing work.
Hello. I need some help. I have to compile poppler with Visual Studio 2013. Can somebody help me? I must have poppler-cpp as static lib.
I tried propably everything. But nothing work.
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1152
Non-embedded monospaced font replaced with normal font
2022-02-08T07:22:27Z
Christian Weiske
Non-embedded monospaced font replaced with normal font
German bank "Volksbank" generate PDFs that use fonts "RFont0" (up to "RFont8"), but which are not embedded in the PDF.
Some of those fonts are fixed-width (monospace) fonts and have the correct bit 1 set in their flags ("/Flags 33"), whi...
German bank "Volksbank" generate PDFs that use fonts "RFont0" (up to "RFont8"), but which are not embedded in the PDF.
Some of those fonts are fixed-width (monospace) fonts and have the correct bit 1 set in their flags ("/Flags 33"), which indicates that the font is monospaced.
Unfortunately they get replaced with normal dynamic-width fonts, which makes the text very hard to read - the letters have different widths, but are spaced with fixed widths.
Test file: [infobogen-1.pdf](/uploads/d87dbe9f9ba74cfb502319d9dc15fdd4/infobogen-1.pdf)
This happens on Ubuntu 20.04 with Evince 3.36.10 and:
- libpoppler-glib8/focal,now 0.86.1-0ubuntu1
- libpoppler-qt5-1/focal,now 0.86.1-0ubuntu1
- libpoppler97/focal,now 0.86.1-0ubuntu1
- poppler-data/focal,focal,now 0.4.9-2
- poppler-utils/focal,now 0.86.1-0ubuntu1
----
`pdffonts` shows that all fonts are replaced with normal fonts:
```
$ pdffonts -subst infobogen-1.pdf
name object ID substitute font substitute font file
--------------- --------- ------------------ ------------------------------------
RFont0 9 0 DejaVu Sans /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
RFont1 10 0 DejaVu Sans /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
RFont2,Bold 11 0 DejaVu Sans Bold /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf
RFont3 12 0 DejaVu Sans /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
RFont4 13 0 DejaVu Sans /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
RFont5 14 0 DejaVu Sans /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
```
The font system replaces `RFont3` with DejaVu Sans:
```
$ fc-match RFont3
DejaVuSans.ttf: "DejaVu Sans" "Book"
```
My guess is that poppler asks the font system for the font name, gets a reply and simply uses this - without checking if the name matches exactly, and without checking if the font is monospaced.
----
This is similar to #387, but in that issue the PDF's font information missed the `FixedPitch` bit.
The file renders correctly in `mupdf`.
That issue is well-known in German Linux user circles:
- http://blog.michael-fiedler.net/2014/12/schlechte-darstellung-bei.html
- https://forum.ubuntuusers.de/topic/schriften-in-pdf-datei-sind-verschoben/
- https://github.com/FabKre/repair_fiducia-pdf
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1151
Does not display any letters in a specific PDF (can't load fonts)
2021-10-12T09:34:21Z
Arnaud Bonnefoy
Does not display any letters in a specific PDF (can't load fonts)
Hi,
Edit : the file [cours_reseau.pdf](/uploads/e5ddd6d246d1e98d385471546d5ef956/cours_reseau.pdf)
I opened an issue on GNOME Evince, they told me the problem is a bug on the poppler library. Here is the issue's link from forge's GNOME...
Hi,
Edit : the file [cours_reseau.pdf](/uploads/e5ddd6d246d1e98d385471546d5ef956/cours_reseau.pdf)
I opened an issue on GNOME Evince, they told me the problem is a bug on the poppler library. Here is the issue's link from forge's GNOME Evince : https://gitlab.gnome.org/GNOME/evince/-/issues/1681
The document uses Type 3 fonts, XPDF renders them but complains. splash backend and cairo backend seems to be the problem.
Thanks
Regards
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1150
Rendering Type3 characters with image resources
2021-12-09T06:25:31Z
Daniel Persson
Rendering Type3 characters with image resources
Hi Team.
We got a report from one of our customers that their images weren't rendered correctly. Looking into it, we found that a Type3 character contained an image.
That image was present on the character glyph resource table and not...
Hi Team.
We got a report from one of our customers that their images weren't rendered correctly. Looking into it, we found that a Type3 character contained an image.
That image was present on the character glyph resource table and not the font resource table, which is strange if you read the specification; this should not be allowed.
Then again, Chrome, Opera, IE 11, and Adobe render this file correctly. But Safari, Firefox, and Poppler are not rendering this PDF correctly.
[correct](/uploads/da055bda2b3e6b22a4a35ac1cf486758/correct.png)
[incorrect](/uploads/f70a6a43dce1443c6b2bb952b123d452/incorrect.png)
[issue-1.pdf](/uploads/6afcc1809cc859739e162493c751fcb9/issue-1.pdf)
Best regards
Daniel
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1149
Incorrect height value for text elements in XML
2021-11-08T10:01:39Z
Nikhil Ranka
Incorrect height value for text elements in XML
The XML [data.xml](/uploads/96f697045140c19206ab042916e88ee8/data.xml) generated from this PDF [input.pdf](/uploads/2e69ddeb249d0b06f5dbf7f43e1e1989/input.pdf) using the command has __incorrect__ height values.
**Excerpt from PDF**:
![i...
The XML [data.xml](/uploads/96f697045140c19206ab042916e88ee8/data.xml) generated from this PDF [input.pdf](/uploads/2e69ddeb249d0b06f5dbf7f43e1e1989/input.pdf) using the command has __incorrect__ height values.
**Excerpt from PDF**:
![image](/uploads/88ef638f507acb7098a76954095bdb03/image.png)
**Excerpt from XML**:
```
<fontspec id="2" size="11" family="TXPGHF+ArialMT" color="#484f5a"/>
<text top="27" left="100" width="401" height="15" font="2">This is a promotional meeting organised and funded by the Testers Alliance in-</text>
<text top="41" left="165" width="270" height="15" font="2">tended for healthcare professionals based in the UK.</text>
```
The top for `This is a promotional meeting...` is 27 with a height of 15. And the top for `tended for healthcare professionals` is 41.
But top + height 42 (27 + 15), incorrectly overlaps into the region of the next text element. In the image attached there is no overlap
Thanks!
https://gitlab.freedesktop.org/poppler/poppler/-/issues/1148
White Type3 font characters are always rendered as black ones on QPainter bac...
2021-11-05T21:02:08Z
Roy Qiu
White Type3 font characters are always rendered as black ones on QPainter backend
It seems because `QPainterOutputDevType3Font::getGlyph` renders the glyph into QPicture instead of QPainterPath. The QPicture records the black brush when render the glyph paths. When the QPicture is drawn in `QPainterOutputDevType3Font:...
It seems because `QPainterOutputDevType3Font::getGlyph` renders the glyph into QPicture instead of QPainterPath. The QPicture records the black brush when render the glyph paths. When the QPicture is drawn in `QPainterOutputDevType3Font::getGlyph`, the recorded black brush is used instead of m_currentBrush.