summaryrefslogtreecommitdiff
path: root/utils/pdffonts.cc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/pdffonts.cc')
-rw-r--r--utils/pdffonts.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/pdffonts.cc b/utils/pdffonts.cc
index e4e90959..598a4913 100644
--- a/utils/pdffonts.cc
+++ b/utils/pdffonts.cc
@@ -156,7 +156,7 @@ int main(int argc, char *argv[]) {
// print the font substitutions
printf("name object ID substitute font substitute font file\n");
printf("------------------------------------ --------- ------------------------------------ ------------------------------------\n");
- for (FontInfo* font : fonts) {
+ for (const FontInfo* font : fonts) {
if (font->getFile()) {
printf("%-36s",
font->getName() ? font->getName()->c_str() : "[none]");
@@ -176,7 +176,7 @@ int main(int argc, char *argv[]) {
// print the font info
printf("name type encoding emb sub uni object ID\n");
printf("------------------------------------ ----------------- ---------------- --- --- --- ---------\n");
- for (FontInfo* font : fonts) {
+ for (const FontInfo* font : fonts) {
printf("%-36s %-17s %-16s %-3s %-3s %-3s",
font->getName() ? font->getName()->c_str() : "[none]",
fontTypeNames[font->getType()],