| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/reportlab/pdfgen/__pycache__/ |
Upload File : |
�
~G�bKL � � � d Z dZddlmZmZmZmZ ddlmZm Z m
Z
ddlmZ ddl
mZ ddlmZ dZd � Zer9 dd
lmZmZmZmZ eee�� � Zd� Zn# ddlZ ej d
� � Y nxY w G d� d� � Z G d� de� � ZdS )z3.3.0z�
PDFTextObject is an efficient way to add text to a Canvas. Do not
instantiate directly, obtain one from the Canvas instead.
Progress Reports:
8.83, 2000-01-13, gmcm: created from pdfgen.py
� )�Color� CMYKColor�CMYKColorSep�toColor)�isBytes�isStr� asUnicode)�fp_str)�
pdfmetrics)�
rtlSupportNc � � | S �N� ��text� directions �=/usr/lib/python3/dist-packages/reportlab/pdfgen/textobject.py�fribidiTextr s � ��K� )�log2vis�ON�LTR�RTL�r r c �n � |dv r0t | t � |t � � d�� � n| S )Nr T��clean)r �
directionsMap�get�DIR_ONr s r r r s8 � �T]�an�Tn�Tn�7�4��!2�!2�9�V�!D�!D�4�P�P�P�P�tx�xr z.pyfribidi is not installed - RTL not supportedc �z � e Zd ZdZd� ZdZdd�Zdd�Zdd�Zdd�Z dd�Z
dd �Zdd
�Zdd�Z
d� Zd
� Zd� Zd� Zd� ZdS )�_PDFColorSetterziAbstracts the color setting operations; used in Canvas and Textobject
asseumes we have a _code objectc � � t |t � � r2| j � |� � \ }}|| j vr
|| j |<