diff options
Diffstat (limited to 'core/fpdfapi/page/cpdf_page.cpp')
-rw-r--r-- | core/fpdfapi/page/cpdf_page.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_page.cpp b/core/fpdfapi/page/cpdf_page.cpp index 46123ab42e..314b8acbaa 100644 --- a/core/fpdfapi/page/cpdf_page.cpp +++ b/core/fpdfapi/page/cpdf_page.cpp @@ -183,5 +183,7 @@ bool GraphicsData::operator<(const GraphicsData& other) const { } bool FontData::operator<(const FontData& other) const { - return baseFont < other.baseFont; + if (baseFont != other.baseFont) + return baseFont < other.baseFont; + return type < other.type; } |