Ë ý^ä¯úŸ×ãó@—dZddlmZddlmZmZdgZGd„de«Zy)zØ pygments.formatters.rtf ~~~~~~~~~~~~~~~~~~~~~~~ A formatter that generates RTF files. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. é)Ú Formatter)Ú get_int_optÚ surrogatepairÚ RtfFormattercó8—eZdZdZdZdgZdgZd„Zd„Zd„Z d„Z y ) raˆ Format tokens as RTF markup. This formatter automatically outputs full RTF documents with color information and other useful stuff. Perfect for Copy and Paste into Microsoft(R) Word(R) documents. Please note that ``encoding`` and ``outencoding`` options are ignored. The RTF format is ASCII natively, but handles unicode characters correctly thanks to escape sequences. .. versionadded:: 0.6 Additional options accepted: `style` The style to use, can be a string or a Style subclass (default: ``'default'``). `fontface` The used font family, for example ``Bitstream Vera Sans``. Defaults to some generic font which is supposed to have fixed width. `fontsize` Size of the font used. Size is specified in half points. The default is 24 half-points, giving a size 12 font. .. versionadded:: 2.0 ÚRTFÚrtfz*.rtfc óˆ—tj|fi|¤Ž|jd«xsd|_t |dd«|_y)a’ Additional options accepted: ``fontface`` Name of the font used. Could for example be ``'Courier New'`` to further specify the default which is ``'\fmodern'``. The RTF specification claims that ``\fmodern`` are "Fixed-pitch serif and sans serif fonts". Hope every RTF implementation thinks the same about modern... ÚfontfaceÚÚfontsizerN)rÚ__init__Úgetr rr )ÚselfÚoptionss úÕ*ؘB“ð— ‘ Ð+¬m¸BÓ.?Ñ?Õ@ðð�w‰w�s‹|×#Ñ# D¨)Ó4Ð4rc ó—|jd|jxrd|j|j«zxsdz«i}d}|jD]h\}}|d|d|dfD]R}|sŒ||vsŒ |||<|jdt |d d d «t |d d d «t |d d d «fz«|dz }ŒTŒj|jd«|j r|jd|j z«|D�]y\}} |jj |«s@|jr4|j}|jj |«s |jrŒ4|jj|«}g} |dr| jd||dz«|dr| jd||dz«|dr| jd«|dr| jd«|dr| jd«|dr| jd||dz«dj| «} | r|jd| z«|j|j| ««| s�Œi|jd«�Œ||jd«y)NzJ{\rtf1\ansi\uc0\deff0{\fonttbl{\f0\fmodern\fprq1\fcharset0%s;}}{\colortbl;Ú r éÚcolorÚbgcolorÚborderz\red%d\green%d\blue%d;rééééz}\f0 z\fs%dz\cb%dz\cf%dÚboldz\bÚitalicz\iÚ underlinez\ulz\chbrdr\chcfpat%dz{%s r) Úwriter rÚstyleÚintr Ú styles_tokenÚparentÚstyle_for_tokenrr!r%) rÚ tokensourceÚoutfileÚ color_mappingÚoffsetÚ_r4r)ÚttypeÚvaluer"Ústarts rÚformat_unencodedzRtfFormatter.format_unencoded_so€à� ‰ ð%à(,¯ © ò)JØ(+¨d¯l©l¸4¿=¹=Ó.IÑ(Iò)+à(*ñ ,ô -ðˆ ØˆØŸ œ ‰HˆAˆuؘw™¨¨yÑ)9¸5À¹?ÓJ�Ú˜U¨-Ò7Ø+1�M %Ñ(Ø—M‘MÐ"=ܘE ! A˜J¨Ó+ܘE ! A˜J¨Ó+ܘE ! A˜J¨Ó+ðAñ#ôð ˜a‘K‘FñKð#ð � ‰ �hÔØ �=Š=Ø �M‰M˜( T§]¡]Ñ2Ô 3ô(‰LˆE�5Ø—j‘j×-Ñ-¨eÔ4¸¿ºØŸ ™ �ð—j‘j×-Ñ-¨eÔ4¸¿»à—J‘J×.Ñ.¨uÓ5ˆE؈CØ�YÒØ— ‘ ˜8 m°E¸)Ñ4DÑ&EÑEÔFØ�WŠ~Ø— ‘ ˜8 m°E¸'±NÑ&CÑCÔDØ�VŠ}Ø— ‘ ˜5Ô!Ø�XŠØ— ‘ ˜5Ô!Ø�[Ò!Ø— ‘ ˜6Ô"Ø�XŠØ— ‘ Ð0Ø(¨¨x©Ñ9ñ:ô;à—G‘G˜C“LˆEÙØ— ‘ ˜f u™nÔ-Ø �M‰M˜$×+Ñ+¨EÓ2Ô 3ÛØ— ‘ ˜cÖ"ð/(ð2 � ‰ �cÕrN) Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚaliasesÚ filenamesrrr%rA©rrrrs0„ñð6 €D؈g€GØ� €Iò<ò (ò 5ó03rN)rEÚpygments.formatterrÚ pygments.utilrrÚ__all__rrIrrÚrMs*ðñõ)ß4ð Ð €ô@�9õ@r