From b167b008c45da3c59269573a4f508d84eed76443 Mon Sep 17 00:00:00 2001 From: Oleg Korshul Date: Mon, 9 Apr 2018 17:24:53 +0300 Subject: [PATCH] [bug] Fix bug 37446 --- common/FontsFreeType/FontFile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/FontsFreeType/FontFile.js b/common/FontsFreeType/FontFile.js index 8623f4ea9e..2abce92723 100644 --- a/common/FontsFreeType/FontFile.js +++ b/common/FontsFreeType/FontFile.js @@ -1061,7 +1061,7 @@ dstM.fVertBearingY = (srcM.vertBearingY >> 6); dstM.fVertAdvance = (srcM.vertAdvance >> 6); - if (isFromPicker && (0 == dstM.fHoriAdvance)) + if (isFromPicker && (0 == dstM.fHoriAdvance && 0 == srcM.width)) return null; if (!isRaster)