def _my_pdf_formatter(data, format, ordered_alphabets) :
eps = _my_eps_formatter(data, format, ordered_alphabets).decode()<EOL>gs = weblogolib.GhostscriptAPI()    <EOL>return gs.convert('<STR_LIT>', eps, format.logo_width, format.logo_height)<EOL>
Generate a logo in PDF format.

    Modified from weblogo version 3.4 source code.