Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
2je @ s d Z ddlmZ ddlmZ ddlmZ ddlmZ G dd de Z
eddfd d
Zdd Zd
d Z
dd ZdddZedkrddlZeejdkrddlZejej j e dS )aF T2CharString glyph width optimizer.
CFF glyphs whose width equals the CFF Private dictionary's ``defaultWidthX``
value do not need to specify their width in their charstring, saving bytes.
This module determines the optimum ``defaultWidthX`` and ``nominalWidthX``
values for a font, when provided with a list of glyph widths. )TTFont)defaultdict)add)reducec @ s e Zd Zdd Zdd ZdS )missingdictc C s
|| _ d S )N)missing_func)selfr r ;/tmp/pip-build-_d5lkt3n/fonttools/fontTools/cffLib/width.py__init__ s zmissingdict.__init__c C s
| j |S )N)r )r vr r r
__missing__ s zmissingdict.__missing__N)__name__
__module____qualname__r r
r r r r
r s r Fc
s t | j }|d |d t|| j |rT fdd}t d d}nfdd}t d }t|}}x"|D ]} ||| | }||| <