Parses font specifications from OSC commands.
@spec parse(String.t()) :: {:ok, map()} | {:error, atom()}