Conversion of inches to spaces
Usage
inches_to_spaces(ins, fontspec, raw = FALSE, tol = sqrt(.Machine$double.eps))
Arguments
- ins
numeric. Vector of widths in inches
- fontspec
font_spec. The font specification to use
- raw
logical(1). Should the answer be returned unrounded (
TRUE
), or rounded to the nearest reasonable value (FALSE
, the default)- tol
numeric(1). The numeric tolerance, values between an integer
n
, andn+tol
will be returned asn
, rather thann+1
, ifraw == FALSE
. Ignored whenraw
isTRUE
.