diff options
author | Norbert Preining <norbert@preining.info> | 2020-12-01 03:01:08 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-12-01 03:01:08 +0000 |
commit | 13dc4c947f3b419fc1b2ed24f10d69c841b0a37b (patch) | |
tree | b70e11ae7d2e2d77221ef406a555d4f7e52fbaf7 /dviware/dvisvgm/src/Font.cpp | |
parent | cb68d38823870fa7adb5f0c2b68cf59205dd4bec (diff) |
CTAN sync 202012010301
Diffstat (limited to 'dviware/dvisvgm/src/Font.cpp')
-rw-r--r-- | dviware/dvisvgm/src/Font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dviware/dvisvgm/src/Font.cpp b/dviware/dvisvgm/src/Font.cpp index 8cbcb1db47..5aee699422 100644 --- a/dviware/dvisvgm/src/Font.cpp +++ b/dviware/dvisvgm/src/Font.cpp @@ -495,7 +495,7 @@ const FontEncoding* PhysicalFontImpl::encoding () const { bool PhysicalFontImpl::findAndAssignBaseFontMap () { const FontEncoding *enc = encoding(); - if (enc && enc->mapsToCharIndex()) { + if (enc && !enc->mapsToUnicode() && enc->mapsToCharIndex()) { // try to find a base font map that maps from character indexes to a suitable // target encoding supported by the font file if (const FontEncoding *bfmap = enc->findCompatibleBaseFontMap(this, _charmapID)) |