| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/reportlab/pdfbase/__pycache__/ |
Upload File : |
o
Neb�I � @ sP d Z dZddlZddlZddlZzddlmZ W n ey' ddlmZ Y nw ddlm Z ddl
mZmZm
Z
mZmZ ddlmZ ddlmZ dd lmZ dd
lmZ ddlmZmZ dZd
d� Zdd� ZG dd� de j�ZG dd� de j�Z G dd� de j!�Z"G dd� de"�Z#dd� Z$dd� Z%e&dkr�ddl'Z'ddlm(Z( e'�)e(� dS dS )z3.3.0z�CID (Asian multi-byte) font support.
This defines classes to represent CID fonts. They know how to calculate
their own width and how to write themselves into PDF files.� N)�md5)�
pdfmetrics)�allowedTypeFaces�allowedEncodings�CIDFontInfo�defaultUnicodeEncodings�widthsByUnichar)�Canvas)�pdfdoc�� escapePDF)�CMapSearchPath)�isSeq�isBytesTc C s8 t D ]}|tj | }tj�|�r| S qtd| ��)z&Returns full filename, or raises errorz'CMAP file for encodings "%s" not found!)r
�os�sep�path�isfile�IOError)�name�dirname�cmapfile� r �</usr/lib/python3/dist-packages/reportlab/pdfbase/cidfonts.py�findCMapFile! s �r c C sh t | t�ri }| �� D ]
\}}t|�||<