Skip to content

Commit

Permalink
Merge pull request #297 from ONLYOFFICE/feature/bug37446
Browse files Browse the repository at this point in the history
[bug] Fix bug 37446
  • Loading branch information
agolybev authored Apr 9, 2018
2 parents 92d9599 + b167b00 commit 3338600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/FontsFreeType/FontFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3338600

Please sign in to comment.