[poppler] poppler/GlobalParams.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 29 20:23:53 UTC 2023


 poppler/GlobalParams.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b4f802c88e0642f0f1271cb4a23cd279e699f38d
Author: Sune Vuorela <sune at vuorela.dk>
Date:   Wed Jun 28 15:49:24 2023 +0200

    Improve message on invalid cid font collection
    
    Hopefully fixes #1408

diff --git a/poppler/GlobalParams.cc b/poppler/GlobalParams.cc
index 6fc3fef4..16be28ec 100644
--- a/poppler/GlobalParams.cc
+++ b/poppler/GlobalParams.cc
@@ -709,7 +709,7 @@ static const char *getFontLang(const GfxFont *font)
             } else if (strcmp(collection->c_str(), "Adobe-Identity") == 0) {
                 lang = "xx";
             } else {
-                error(errUnimplemented, -1, "Unknown CID font collection, please report to poppler bugzilla.");
+                error(errUnimplemented, -1, "Unknown CID font collection: {0:t}. If this is expected to be a valid PDF document, please report to poppler bugtracker.", collection);
                 lang = "xx";
             }
         } else {


More information about the poppler mailing list