   # destRow - The row {Number} on the destination bitmap.
   # rowCount - The {Number} of rows to copy.
   copyBitmapPart: (context, bitmapCanvas, srcRow, destRow, rowCount) ->
-    lineHeight = @getLineHeight()
+    lineHeight = @getLineHeight() * devicePixelRatio
     context.drawImage(bitmapCanvas,
         0, srcRow * lineHeight,
         bitmapCanvas.width, rowCount * lineHeight,

    return unless @editorView?

    #reset canvas virtual width/height
    @lineCanvas[0].width = @lineCanvas[0].offsetWidth
    @lineCanvas[0].height = @lineCanvas[0].offsetHeight

    #is this scroll only or has content changed?
    hasChanges = @pendingChanges.length > 0

    return if firstRow > lastRow

    lines = @editor.tokenizedLinesForScreenRows(firstRow, lastRow)
    lineHeight = @getLineHeight() * devicePixelRatio
    charHeight = @getCharHeight() * devicePixelRatio
    charWidth = @getCharWidth() * devicePixelRatio
    canvasWidth = @lineCanvas.width()
    displayCodeHighlights = @minimapView.displayCodeHighlights
    decorations = @decorationsForScreenRowRange(firstRow, lastRow)
