> On 8 Jul 2020, at 19:02, Thiago Macieira <thiago.macie...@intel.com> wrote: > > On Wednesday, 8 July 2020 09:44:33 PDT Bruno Crocamo wrote: >> An organization may need to remove sensitive information from a PDF >> document to share an ostentatious version. Adobe software is one way to do >> this. However, depending on the program used to render the PDF, the removal >> may fail in part due to the fact that the CMap object reflects the order in >> which the characters appear in the text. This would be the case for PDF >> documents generated using Qt. > > I see. Thanks, this explanation above should be in your commit message.
The easiest fix for this would probably be to simply change the "QList<int> glyph_indices;" in QFontSubset to a QSet. Cheers, Lars _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development