devongovett/pdfkit — Issue #54: Calculating a text width
Author: alFReD-NSH
Created: 2011-12-18 19:24:32+00:00
State: open

I want to handle line wrapping myself, so I need to calculate the text width, by looking at the code, I noticed this function: https://github.com/devongovett/pdfkit/blob/master/lib/font.coffee#L191

Is there a way that I can expose it? Or any other way that I can use it? (copy pasting?)