Commit 31893320 authored by Committed by Albert Astals Cid
[cpp] separate the font info in text_box to another struct.
* add new API, page::text_list(int opt_flag). The old one taking no argument is kept for ABI compatibility. The opt_flag is a bitmask-multiple of the new enum, page::text_list_option_enum. * text_box.m_data->text_box_font is an unique pointer to the storage (if text_list() requests the font info), or just a null pointer (if text_list() does not request the font info). * new option "--show-text-list-with-font" showing font info, to tests/poppler-dump.cpp. "--show-text-list" does not load the font info at all. Co-authored-by: Adam Reichold <email@example.com> Co-authored-by: Albert Astals Cid <firstname.lastname@example.org>
Showing with 121 additions and 50 deletions