Pomax/Font.js — Issue #7: Firefox reports bad bounding x-values due to fractional width
Author: Pomax
Created: 2012-01-25 18:13:38+00:00
State: open

Firefox may report bad bounding xmin/xmax values because the text width is reported as a fraction. While xpos was already int-cast, the value for scanwidth also needs to be int-cast for Firefox to report the correct values.