diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-29 03:00:39 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-29 03:00:39 +0000 |
commit | 97f5151099967e6c823d640a90d87bca92c44035 (patch) | |
tree | 685caa49488599f87d0caa4e972833b2263d8567 /dviware/dvisvgm/src/TrueTypeFont.cpp | |
parent | 25a647b97ef526aefcc75269dd19c46dbe3ae4c1 (diff) |
CTAN sync 201910290300
Diffstat (limited to 'dviware/dvisvgm/src/TrueTypeFont.cpp')
-rw-r--r-- | dviware/dvisvgm/src/TrueTypeFont.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dviware/dvisvgm/src/TrueTypeFont.cpp b/dviware/dvisvgm/src/TrueTypeFont.cpp index 51056c36cc..408a00eede 100644 --- a/dviware/dvisvgm/src/TrueTypeFont.cpp +++ b/dviware/dvisvgm/src/TrueTypeFont.cpp @@ -127,7 +127,7 @@ void TrueTypeFont::writeWOFF (ostream &os) const { void TrueTypeFont::writeWOFF (const string &fname) const { - ofstream ofs(fname.c_str(), ios::binary); + ofstream ofs(fname, ios::binary); writeWOFF(ofs); } @@ -151,7 +151,7 @@ bool TrueTypeFont::writeWOFF2 (ostream &os) const { bool TrueTypeFont::writeWOFF2 (const string &fname) const { - ofstream ofs(fname.c_str(), ios::binary); + ofstream ofs(fname, ios::binary); return writeWOFF2(ofs); } @@ -172,4 +172,4 @@ uint32_t TrueTypeFont::TTFTableRecord::computeChecksum () const { while (startptr < endptr) sum += *startptr++; return sum; -}
\ No newline at end of file +} |