%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/reportlab/lib/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/reportlab/lib/__pycache__/fonts.cpython-312.pyc

�

��e�
��N�dZdZddddd�Zidd�dd	�d
d�dd
�dd�dd�dd�dd�dd�dd�dd�dd�dd�d d�d!d�d"d�d#d$�d$d$d$d%��ZiZeej
��D];Zeej�Z	e	evreee	<ed&j�Z	e	evs�7eee	<�=d'�Z
d(�Zd)�Zy*)+z3.3.0a�Utilities to associate bold and italic versions of fonts into families

Bold, italic and plain fonts are usually implemented in separate disk files;
but non-trivial apps want <b>this</b> to do the right thing.   We therefore
need to keep 'mappings' between the font family name and the right group
of up to 4 implementation fonts to use.

Most font-handling code lives in pdfbase, and this probably should too.

�times�	helvetica�courier)�serif�	sansserif�
monospaced�arial)r�r	zTimes-Roman)r�r	z
Times-Bold)rr	r
zTimes-Italic)rr
r
zTimes-BoldItalic)rr	r	�Courier)rr
r	zCourier-Bold)rr	r
zCourier-Oblique)rr
r
zCourier-BoldOblique)rr	r	�	Helvetica)rr
r	zHelvetica-Bold)rr	r
zHelvetica-Oblique)rr
r
zHelvetica-BoldOblique)�symbolr	r	�Symbol)r
r
r	)r
r	r
)r
r
r
)�zapfdingbatsr	r	�ZapfDingbats))rr
r	)rr	r
)rr
r
r	c�`�|j�}|tvr	t|Std|z��)z(ps fontname to family name, bold, italicz-Can't map determine family/bold/italic for %s)�lower�
_ps2tt_map�
ValueError)�psfns �5/usr/lib/python3/dist-packages/reportlab/lib/fonts.py�ps2ttrIs1���:�:�<�D��z���$���
�D�t�K�
L�L�c���|j�||f}|tvr	t|St|d�\}}}|||z||zf}|tvr	t|Std|||fz��)z+family name + bold & italic to ps font namer	z:Can't find concrete font for family=%s, bold=%d, italic=%d)r�
_tt2ps_maprr)�fn�b�i�K�b1�i1s      r�tt2psr!Psw��	����A�a��A��J���!�}���1�Q�4�[�
��B����1��b��d�N���
�?��a�=� �
�Q�UW�YZ�\]�T^�^�
_�_rc�j�|j�||f}|t|<|t|j�<y)z,allow a custom font to be put in the mappingN)rrr)�face�bold�italic�psname�ks     r�
addMappingr(\s-���
�
��d�F�"�A��J�q�M�!"�J�v�|�|�~�rN)
�__version__�__doc__�
_family_aliasrr�sorted�keysr'r�vrr!r(�rr�<module>r0s���

��		��,�#�"��	�
���]��
�\��
�^�	�

�/��
�y��
�~��
�0��
�4��
 ���
 �!1��
 �!4��
 �!8��$
�h�%�&
�h�'�(
�h�)�*
�h�+�0
#�N�1�2%3�$2�$2�7�
�<�
�	�
���!�	"��A��1�
����A��
���
�1�
�	�!��
�
��A��
���
�1�
�
�M�
`�#r

Zerion Mini Shell 1.0