xpdf: too many warning messages
Vincent Lefevre
vincent at vinc17.net
Sat Sep 18 02:48:49 BST 2021
Control: reassign -1 libpoppler102 20.09.0-3.1
Control: retitle -1 poppler: many incorrect messages "Syntax Warning: Bad bounding box in Type 3 glyph"
Control: affects -1 xpdf
On 2021-09-18 10:14:03 +0900, Masanori Goto wrote:
> Thanks for the check. It sounds more poppler side. I just read this
> email, but are you OK to reassign it to poppler?
Doing it now.
> Also it might be better to annotate a prefix like "poppler" in the error in
> general - though it's a bit of a large change...
Yes, but if this can be done in the error() function, that would
be quite a small change.
> 2021年9月17日(金) 22:30 Vincent Lefevre <vincent at vinc17.net>:
>
> > On 2021-09-17 14:40:06 +0200, Vincent Lefevre wrote:
> > > The warning comes from xpdf/SplashOutputDev.cc
> > >
> > > if (xMin - xt < t3Font->glyphX ||
> > > yMin - yt < t3Font->glyphY ||
> > > xMax - xt > t3Font->glyphX + t3Font->glyphW ||
> > > yMax - yt > t3Font->glyphY + t3Font->glyphH) {
> > > if (t3Font->validBBox) {
> > > error(errSyntaxWarning, -1, "Bad bounding box in Type 3 glyph");
> > > }
> > > return;
> > > }
> >
> > Actually it doesn't (commenting out this line doesn't change
> > anything). Perhaps a bug in poppler, then, as it has similar
> > code in poppler/SplashOutputDev.cc:
> >
> > if (xMin - xt < t3Font->glyphX || yMin - yt < t3Font->glyphY || xMax -
> > xt > t3Font->glyphX + t3Font->glyphW || yMax - yt > t3Font->glyphY +
> > t3Font->glyphH) {
> > if (t3Font->validBBox) {
> > error(errSyntaxWarning, -1, "Bad bounding box in Type 3
> > glyph");
> > }
> > return;
> > }
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the Pkg-freedesktop-maintainers
mailing list