File: //lib/python3/dist-packages/pygments/formatters/__pycache__/img.cpython-311.pyc
�
�E�c�U � � � d Z ddlZddlZddlmZ ddlmZmZmZm Z ddl
Z
ddlmZm
Z
mZ dZn
# e$ r dZY nw xY w ddlZn# e$ r ddlZn
# e$ r dZY nw xY wY nw xY wg d�Zg d �d
dgdgd
dgd�ZdZdZdZ G d� de� � Z G d� de� � Z G d� d� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� d e� � ZdS )!z�
pygments.formatters.img
~~~~~~~~~~~~~~~~~~~~~~~
Formatter for Pixmap output.
:copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)� Formatter)�get_bool_opt�get_int_opt�get_list_opt�get_choice_opt)�Image� ImageDraw� ImageFontTF)�ImageFormatter�GifImageFormatter�JpgImageFormatter�BmpImageFormatter)� �Roman�Book�Normal�Regular�Medium�Oblique�Italic�BoldzBold ObliquezBold Italic)�NORMAL�ITALIC�BOLD�
BOLDITALICzDejaVu Sans MonozCourier New�Menloc � � e Zd ZdZdS )�PilNotAvailablez,When Python imaging library is not availableN��__name__�
__module__�__qualname__�__doc__� � �9/usr/lib/python3/dist-packages/pygments/formatters/img.pyr r 5 s � � � � � �6�6�6�6r% r c � � e Zd ZdZdS )�FontNotFoundz(When there are no usable fonts specifiedNr r$ r% r&