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 <vinc...@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)

Reply via email to