R/flextable.R
phl_calc_fontsize.Rd
Calculate optimal fontsize and height of the cell for given height for flextable.
phl_calc_fontsize(data, height)
data | data.frame. |
---|---|
height | single numeric value with desired height. |
A named numeric vector containing two elements:
fs
font size
height
of the single cell.
#> fs height #> 24.0000000 0.4545455