HYDRA-171: Now ensure that the width passed to TextMetrics is always positive. If the PDF axis are inverted then this value can be negative within PDF.JS.