Merge branch 'master' of git://github.com/mozilla/pdf.js into sidebar-pinning

This commit is contained in:
gigaherz 2012-02-13 09:35:46 +01:00
commit 349e0b9d47
3 changed files with 9 additions and 6 deletions

View file

@ -1087,7 +1087,6 @@ var TextLayerBuilder = function textLayerBuilder(textLayerDiv) {
textDiv.dataset.canvasWidth = text.canvasWidth * text.geom.hScale;
textDiv.style.fontSize = fontHeight + 'px';
textDiv.style.fontFamily = fontName || 'sans-serif';
textDiv.style.left = text.geom.x + 'px';
textDiv.style.top = (text.geom.y - fontHeight) + 'px';
textDiv.textContent = text.str;