mozilla/pdf.js — pull request #3955 by Snuffleupagus (2013-11-22 16:01:36+00:00)
Title: Fix issues with /FitR destinations

This patch forces `widthScale`and `heightScale` to be positive numbers for `/FitR` destinations, to prevent trying to set the zoom level to a value below 0 %.

Also, to prevent similar issues in the future, `PDFView.setScale` is changed to refuse a scale value smaller than zero.

Fixes #3953.