VFB2JSON(1)

πŸ“¦ version 0.11.1, in ubuntu stonking

πŸ’– VFB2JSON(1) πŸ’–

okay bestie, pull up a chair, we're in the General Commands Manual ✨

🌸 NAME 🌸

vfb2json β€” it converts a FontLab Studio 5 VFB file into JSON. that's the whole job. she's an icon, she's a legend, and that's the task πŸ’…

✨ SYNOPSIS ✨

vfb2json [options] inputpath

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically vfb2json cooks up a JSON representation that sticks super close to the structure of a FontLab Studio 5 VFB file. like, not a glow-up, not a remix β€” it's giving "the same thing but in JSON". the way that it adheres to the original structure… obsessed fr fr πŸ’–

unless you drop the -p option, the output gets written to inputpath.vfb.json, sitting right there in the same directory as the input file. and heads up bestie: existing output files get overwritten. no "are you sure", no little trashing sound, she just goes πŸ™ˆ

and lowkey? this tool is expected to be mostly used for debugging purposes. she's not the main character of your font pipeline, she's the backstage bestie holding the flashlight 🫢


πŸ‘‘ OPTIONS πŸ‘‘

  • -h, --help β€” show a help message and then dip. that's it, that's the whole thing ✨
  • -d, --no-decompile β€” don't decompile the data, just output the binary in JSON. raw, unbothered, no notes πŸ’€
  • --header β€” only read the VFB header, skip the actual data. surface-level bestie behavior, honestly iconic πŸ’…
  • -m, --minimal β€” parse only a minimal amount of data. she's doing the bare minimum and she's thriving 🌸
  • -p, --path PATH β€” output folder for the resulting JSON file. you pick the destination, she does not πŸ‘‘
  • -r, --roundtrip β€” roundtrip the data by decompiling and compiling again before saving. out and back, like a little boomerang πŸͺƒβœ¨
  • -u, --unicode-strings β€” force strings to be interpreted as Unicode instead of Windows-1252. no more encoding confusion bestie, we're going full Unicode 🌈

πŸŽ€ ARGUMENTS πŸŽ€

  • inputpath β€” the input file path. it's a .vfb file, obviously. hand it over and let her cook πŸ“

πŸ”₯ SEE ALSO πŸ”₯

  • vfb3ufo(1)
  • vfb2tth(1)
  • vfbcu2qu(1)
  • vfbdiff(1)

the whole friend group πŸ’œ go say hi, they're all part of the same little font-tools squad


and that's the page bestie!! πŸŽ€ this was VFB2JSON(1) from the General Commands Manual, section 1 β€” no cap, that's the whole vibe check. go forth and convert some VFB files, you absolute main character πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from