
Convert a .woff2 font to .ttf using the system 'woff2_decompress' tool
Source:R/woff2_to_ttf.R
woff2_to_ttf.RdInternal helper. Uses the system woff2_decompress tool to convert a
.woff2 file into a .ttf file. Documented with roxytypes annotations
for clarity.
Arguments
- font_file
(
character(1)) Path to the.woff2file to convert.- overwrite
(
logical(1)) IfTRUE, overwrite an existing.ttfconversion.- remove_old
(
logical(1)) IfTRUE, remove the original.woff2file after conversion try.- quiet
(full" | "success" | "fail" | "none) If "full", capture all output and suppress console messages; if "success", only show success messages; if "fail", only show error messages; if "none", show all messages (default: "none").