Duplicate glyphs in SVG output
When running our internal tests as part of the upgrade from Popppler 21.04 to 22.10, we have noticed that some result SVG files became a bit larger. The size increase itself is not a big concern, but the underlying issue may be more important - possibly related to "Refactor CairoFontEngine caching" update.
Steps to reproduce:
- Convert the attached document compAnno.pdf to SVG, using poppler v21.04, and using v22.10
- Expected result: size of the SVG produced by v22.10 is about the same or smaller
- Actual result: size of the SVG produced by v22.10 is bigger (207 Kb vs 200 Kb)
If you look into the differences, you may notice that the SVG produced by 22.10 compAnno.pdf.p1.22-10.svg contains more glyphs than that of 21.04 compAnno.pdf.p1.21-04.svg: 270 vs 255. The extra glyphs in 22.10 seem to be exact duplicates of others. For example, glyph1-10 and glyph14-15 are identical.
Thank you! Dmitry