Bug 19405 - Document::fonts() can't be called twice
Summary: Document::fonts() can't be called twice
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: qt4 frontend (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-05 09:43 UTC by Stefan Löffler
Modified: 2009-01-06 12:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Minimal example for calling Document::fonts() twice (695 bytes, text/x-c++src)
2009-01-05 09:43 UTC, Stefan Löffler
Details

Description Stefan Löffler 2009-01-05 09:43:27 UTC
Created attachment 21692 [details]
Minimal example for calling Document::fonts() twice

When Poppler::Document::fonts() is called twice on the same document the resulting list is empty. I've attached a minimal example file (based on qt4/tests/poppler-fonts.cpp) that should output the same number of fonts twice but doesn't (the second number is always 0).

I tested this on Ubuntu 8.10 with the qt4 frontend.
Comment 1 Albert Astals Cid 2009-01-05 10:01:07 UTC
qt4 frontend bug
Comment 2 Pino Toscano 2009-01-06 12:55:36 UTC
Fixed for the next Poppler 0.10.3.

Thanks for the report!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.