Index: core/fpdfapi/fpdf_font/cpdf_font.cpp |
diff --git a/core/fpdfapi/fpdf_font/cpdf_font.cpp b/core/fpdfapi/fpdf_font/cpdf_font.cpp |
index e2eb2e567e7526b4c11091ce32ae957e307b1ef4..5d8975271416bced8614f73ab4c0653a8477b2b8 100644 |
--- a/core/fpdfapi/fpdf_font/cpdf_font.cpp |
+++ b/core/fpdfapi/fpdf_font/cpdf_font.cpp |
@@ -308,7 +308,7 @@ CPDF_Font* CPDF_Font::GetStockFont(CPDF_Document* pDoc, |
if (pFont) |
return pFont; |
- CPDF_Dictionary* pDict = new CPDF_Dictionary; |
+ CPDF_Dictionary* pDict = new CPDF_Dictionary(pDoc->GetByteStringPool()); |
pDict->SetNameFor("Type", "Font"); |
pDict->SetNameFor("Subtype", "Type1"); |
pDict->SetNameFor("BaseFont", fontname); |