summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fofi/FoFiType1C.cc4
-rw-r--r--fofi/FoFiType1C.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/fofi/FoFiType1C.cc b/fofi/FoFiType1C.cc
index 1cfc4746..8b632c44 100644
--- a/fofi/FoFiType1C.cc
+++ b/fofi/FoFiType1C.cc
@@ -492,7 +492,7 @@ void FoFiType1C::convertToType1(const char *psName, const char **newEncoding, GB
(*outputFunc)(outputStream, "cleartomark\n", 12);
}
-void FoFiType1C::convertToCIDType0(char *psName, int *codeMap, int nCodes,
+void FoFiType1C::convertToCIDType0(const char *psName, int *codeMap, int nCodes,
FoFiOutputFunc outputFunc,
void *outputStream) {
int *cidMap;
@@ -837,7 +837,7 @@ void FoFiType1C::convertToCIDType0(char *psName, int *codeMap, int nCodes,
gfree(cidMap);
}
-void FoFiType1C::convertToType0(char *psName, int *codeMap, int nCodes,
+void FoFiType1C::convertToType0(const char *psName, int *codeMap, int nCodes,
FoFiOutputFunc outputFunc,
void *outputStream) {
int *cidMap;
diff --git a/fofi/FoFiType1C.h b/fofi/FoFiType1C.h
index e2c5076d..58e2b9a2 100644
--- a/fofi/FoFiType1C.h
+++ b/fofi/FoFiType1C.h
@@ -191,7 +191,7 @@ public:
// font's internal CID-to-GID mapping is used
// (3) is <codeMap> is NULL and this is an 8-bit CFF font, then
// the identity CID-to-GID mapping is used
- void convertToCIDType0(char *psName, int *codeMap, int nCodes,
+ void convertToCIDType0(const char *psName, int *codeMap, int nCodes,
FoFiOutputFunc outputFunc, void *outputStream);
// Convert to a Type 0 (but non-CID) composite font, suitable for
@@ -203,7 +203,7 @@ public:
// font's internal CID-to-GID mapping is used
// (3) is <codeMap> is NULL and this is an 8-bit CFF font, then
// the identity CID-to-GID mapping is used
- void convertToType0(char *psName, int *codeMap, int nCodes,
+ void convertToType0(const char *psName, int *codeMap, int nCodes,
FoFiOutputFunc outputFunc, void *outputStream);
private: