diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/CMapReader.cpp')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/src/CMapReader.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/CMapReader.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/CMapReader.cpp index 63a58775521..e9c49c573b6 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/src/CMapReader.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/CMapReader.cpp @@ -109,11 +109,7 @@ void CMapReader::op_def (InputReader&) { if (size >= 2) { const string val = popToken().strvalue(); const string name = popToken().strvalue(); - if (name == "CMapName") { - if (val != _cmap->_name) - throw CMapReaderException("CMapName doesn't match filename"); - } - else if (name == "WMode") { + if (name == "WMode") { if (val == "0" || val == "1") _cmap->_vertical = (val == "1"); else |