%PDF- %PDF-
Direktori : /lib/python3/dist-packages/reportlab/pdfbase/__pycache__/ |
Current File : //lib/python3/dist-packages/reportlab/pdfbase/__pycache__/_fontdata.cpython-312.pyc |
� ��eh! � �8 � d Z dZddlZddlZi Zi Zi ZdZddddd d ddd dddddd�Zdddddddddddddd d!�Z d"� Z dd#lmZ dd$l mZ eefd%�Z[[d=d&�Zd'Z G d(� d)e� Z e� Zdd*lmZ dd+lmZ dd,lmZ dd-lmZ dd.lmZ dd/lm Z dd0l!m"Z" ejG eeeeee e"d'�� d1d2d2d1d3d3d3d3d4d5d6d7d8d8d9�Z$ddl%Z&ddl'Z&ddl(Z&ddl)Z&ddl*Z&ddl+Z&ddl,Z&ddl-Z&ddl.Z&ddl/Z&ddl0Z&ddl1Z&ddl2Z&ddl3Z&e&jh jj jl e&jh jn jl e&jh jp jl e&jh jr jl e&jh jt jl e&jh jv jl e&jh jx jl e&jh jz jl e&jh j| jl e&jh j~ jl e&jh j� jl e&jh j� jl e&jh j� jl e&jh j� jl d�ZD ee$j� � ej� � ej� � ej� � ej� � eDj� � �:� fd;�ZFdd<lmGZG eGeF� [Gy)>z3.3.0a� Database of font related things - standardFonts - tuple of the 14 standard string font names - standardEncodings - tuple of the known standard font names - encodings - a mapping object from standard encoding names (and minor variants) to the encoding vectors ie the tuple of string glyph names - widthsByFontGlyph - fontname x glyphname --> width of glyph - widthVectorsByFont - fontName -> vector of widths This module defines a static, large data structure. At the request of the Jython project, we have split this off into separate modules as Jython cannot handle more than 64k of bytecode in the 'top level' code of a Python module. � N)�Courier�Courier-Bold�Courier-Oblique�Courier-BoldOblique� Helvetica�Helvetica-Bold�Helvetica-Oblique�Helvetica-BoldOblique�Times-Roman� Times-Bold�Times-Italic�Times-BoldItalic�Symbol�ZapfDingbats)r r r )r � r )r r r )r r r )r r r )r r r )r r r )r r r )r r r )r r r )r r r )r r r )r r r )r r r �s050000l�d050000l�n019003l�n019004l�n019023l�n019024l�n021003l�n021004l�n021023l�n021024l�n022003l�n022004l�n022023l�n022024l)�symbol�zapfdingbats� helveticazhelvetica-boldzhelvetica-obliquezhelvetica-boldobliqueztimes-romanz times-boldztimes-italicztimes-bolditalic�courierzcourier-boldzcourier-obliquezcourier-boldobliquec �0 � t | j � S �N)�_font2fnrMap�lower)�fontNames �=/usr/lib/python3/dist-packages/reportlab/pdfbase/_fontdata.py�_findFNRr* J s � �����(�)�)� )�T1SearchPath)� rl_isfilec � � |g k7 sJ d� �|D ]. }t j j || � } ||� s�,|c S y )NzNo Type-1 font search path)�os�path�join)�nr- r, �d�fs r) � _searchT1Dirsr5 O sI � ����9�9�9�� � "���G�G�L�L��1����Q�<���"� r+ c �0 � t t | � |z � S r% )r5 r* )r( �exts r) � findT1Filer8 W s � ���(�+�C�/�0�0r+ )�WinAnsiEncoding�MacRomanEncoding�StandardEncoding�SymbolEncoding�ZapfDingbatsEncoding�PDFDocEncoding�MacExpertEncodingc �0 � e Zd ZdZdddddddd �Zd � Zd� Zy) �_Name2StandardEncodingMapz*Trivial fake dictionary with some [] magicr9 r: r; r<