zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
U
T±dËÉã
@sddlZddlZddlZddlZddlZddlmZddlmZddl    m
Z
ddl m Z ddl mZmZGdd    „d    eƒZd
d „Zzdd l    mZWn6ek
rÆZzdd l mZeeƒZW5dZ[XYnXeƒZGdd„dƒZGdd„dƒZGdd„dƒZdd„Zddd„Zdd„Zdd„ZdS)éN)ÚIntEnum)ÚBytesIOé)ÚImage)Ú    deprecate)Ú is_directoryÚis_pathc@seZdZdZdZdS)ÚLayoutrrN)Ú__name__Ú
__module__Ú __qualname__ÚBASICÚRAQM©rrúDd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\PIL/ImageFont.pyr    )sr    cCs„tdi ¡D]X\}}| |¡r |t|ƒd…}||jkr t|›|›d|j›d|›ƒ||Sq dt›d|›d}t|ƒ‚dS)NZLAYOUT_é
Ú.zmodule 'z' has no attribute 'ú')r    ÚitemsÚ
startswithÚlenÚ __members__rr
ÚAttributeError)ÚnameÚenumÚprefixÚmsgrrrÚ __getattr__.s
 
 r)Ú
_imagingft)Ú DeferredErrorc@sBeZdZdZdd„Zdd„Zdd„Zdd    d
„Zd d „Zd d„Z    dS)Ú    ImageFontzPIL font wrapperc
Cs°t|dƒœ}d}dD]Z}|r$| ¡z"tj |¡d|}t |¡}Wntk
rZYqX|r|jdkrqˆq|r|| ¡d}t|ƒ‚||_    | 
||¡| ¡W5QRXdS)NÚrb)z.pngz.gifz.pbmr©Ú1ÚLzcannot find glyph data file) ÚopenÚcloseÚosÚpathÚsplitextrÚ    ExceptionÚmodeÚOSErrorÚfileÚ_load_pilfont_data)ÚselfÚfilenameÚfpÚimageÚextÚfullnamerrrrÚ _load_pilfontWs&  zImageFont._load_pilfontcCsŽ| ¡dkrd}t|ƒ‚| ¡ d¡g|_| ¡}|rP|dkrBqP|j |¡q,| d¡}|jdkrpd}t|ƒ‚| ¡t    j
  |j |¡|_ dS)NsPILfont
zNot a PILfont fileó;sDATA
ir"zinvalid font image mode) ÚreadlineÚ SyntaxErrorÚsplitÚinfoÚappendÚreadr+Ú    TypeErrorÚloadrÚcoreÚfontÚim)r/r-r2rÚsÚdatarrrr.ps  
 
zImageFont._load_pilfont_datacOstdddƒ|j |¡S)aF
        .. deprecated:: 9.2.0
 
        Use :py:meth:`.getbbox` or :py:meth:`.getlength` instead.
 
        See :ref:`deprecations <Font size and offset methods>` for more information.
 
        Returns width and height (in pixels) of given text.
 
        :param text: Text to measure.
 
        :return: (width, height)
        Úgetsizerúgetbbox or getlength©rr@rD)r/ÚtextÚargsÚkwargsrrrrD‰s zImageFont.getsizeÚcOs|j ||¡S)aº
        Create a bitmap for the text.
 
        If the font uses antialiasing, the bitmap should have mode ``L`` and use a
        maximum value of 255. Otherwise, it should have mode ``1``.
 
        :param text: Text to render.
        :param mode: Used by some graphics drivers to indicate what mode the
                     driver prefers; if empty, the renderer may return either
                     mode. Note that the mode is always a string, to simplify
                     C-level implementations.
 
                     .. versionadded:: 1.1.5
 
        :return: An internal PIL storage memory instance as defined by the
                 :py:mod:`PIL.Image.core` interface module.
        )r@Úgetmask)r/rGr+rHrIrrrrKšszImageFont.getmaskcOs|j |¡\}}dd||fS)aÝ
        Returns bounding box (in pixels) of given text.
 
        .. versionadded:: 9.2.0
 
        :param text: Text to render.
        :param mode: Used by some graphics drivers to indicate what mode the
                     driver prefers; if empty, the renderer may return either
                     mode. Note that the mode is always a string, to simplify
                     C-level implementations.
 
        :return: ``(left, top, right, bottom)`` bounding box
        r©r@rD©r/rGrHrIÚwidthÚheightrrrÚgetbbox®szImageFont.getbboxcOs|j |¡\}}|S)z¡
        Returns length (in pixels) of given text.
        This is the amount by which following text should be offset.
 
        .. versionadded:: 9.2.0
        rLrMrrrÚ    getlength¿szImageFont.getlengthN)rJ)
r
r r Ú__doc__r5r.rDrKrPrQrrrrr Ts
r c    @sÂeZdZdZd+dd„Zdd    „Zd
d „Zd d „Zdd„Zdd„Z    d,dd„Z
d-dd„Z d.dd„Z d/dd„Z dd„Zd0dd„Zdedddddddf    dd „Zd1d!d"„Zd#d$„Zd%d&„Zd'd(„Zd)d*„ZdS)2Ú FreeTypeFontz3FreeType font wrapper (requires _imagingft service)NrrrJc     s|ˆ_ˆˆ_ˆˆ_ˆˆ_ˆtjtjfkr<tj‰tjr\tj‰n ˆtjkr\tjs\t     
d¡tj‰ˆˆ_ ‡‡‡‡‡fdd„}t |ƒrút jdkrât|tƒr–|n| ¡}z| d¡Wn4tk
ràt|dƒ}||ƒW5QRXYdSXtj|ˆˆˆˆdˆ_n||ƒdS)NzSRaqm layout was requested, but Raqm is not available. Falling back to basic layout.cs&| ¡ˆ_t dˆˆˆˆjˆ¡ˆ_dS)NrJ)r<Ú
font_bytesr?Úgetfontr@©Úf©ÚencodingÚindexÚ layout_enginer/ÚsizerrÚload_from_bytesçs
ÿz.FreeTypeFont.__init__.<locals>.load_from_bytesÚwin32Úasciir!)r[)r(r\rZrYr    r rr?Z    HAVE_RAQMÚwarningsÚwarnr[rÚsysÚplatformÚ
isinstanceÚbytesÚencodeÚdecodeÚUnicodeDecodeErrorr%rUr@)    r/r@r\rZrYr[r]Zfont_bytes_pathrWrrXrÚ__init__Òs@ÿ
 ÿ
zFreeTypeFont.__init__cCs|j|j|j|j|jgS©N)r(r\rZrYr[©r/rrrÚ __getstate__þszFreeTypeFont.__getstate__cCs$|\}}}}}| |||||¡dSrj)ri)r/Ústater(r\rZrYr[rrrÚ __setstate__szFreeTypeFont.__setstate__cCst|tƒrdnd}| |¡S)NÚ
ó
)rdÚstrr9)r/rGZsplit_characterrrrÚ_multiline_splitszFreeTypeFont._multiline_splitcCs|jj|jjfS)zq
        :return: A tuple of the font family (e.g. Helvetica) and the font style
            (e.g. Bold)
        )r@ÚfamilyÚstylerkrrrÚgetname    szFreeTypeFont.getnamecCs|jj|jjfS)zæ
        :return: A tuple of the font ascent (the distance from the baseline to
            the highest outline point) and descent (the distance from the
            baseline to the lowest outline point, a negative value)
        )r@ZascentZdescentrkrrrÚ
getmetricsszFreeTypeFont.getmetricscCs|j |||||¡dS)a
        Returns length (in pixels with 1/64 precision) of given text when rendered
        in font with provided direction, features, and language.
 
        This is the amount by which following text should be offset.
        Text bounding box may extend past the length in some fonts,
        e.g. when using italics or accents.
 
        The result is returned as a float; it is a whole number if using basic layout.
 
        Note that the sum of two lengths may not equal the length of a concatenated
        string due to kerning. If you need to adjust for kerning, include the following
        character and subtract its length.
 
        For example, instead of ::
 
          hello = font.getlength("Hello")
          world = font.getlength("World")
          hello_world = hello + world  # not adjusted for kerning
          assert hello_world == font.getlength("HelloWorld")  # may fail
 
        use ::
 
          hello = font.getlength("HelloW") - font.getlength("W")  # adjusted for kerning
          world = font.getlength("World")
          hello_world = hello + world  # adjusted for kerning
          assert hello_world == font.getlength("HelloWorld")  # True
 
        or disable kerning with (requires libraqm) ::
 
          hello = draw.textlength("Hello", font, features=["-kern"])
          world = draw.textlength("World", font, features=["-kern"])
          hello_world = hello + world  # kerning is disabled, no need to adjust
          assert hello_world == draw.textlength("HelloWorld", font, features=["-kern"])
 
        .. versionadded:: 8.0.0
 
        :param text: Text to measure.
        :param mode: Used by some graphics drivers to indicate what mode the
                     driver prefers; if empty, the renderer may return either
                     mode. Note that the mode is always a string, to simplify
                     C-level implementations.
 
        :param direction: Direction of the text. It can be 'rtl' (right to
                          left), 'ltr' (left to right) or 'ttb' (top to bottom).
                          Requires libraqm.
 
        :param features: A list of OpenType font features to be used during text
                         layout. This is usually used to turn on optional
                         font features that are not enabled by default,
                         for example 'dlig' or 'ss01', but can be also
                         used to turn off default font features for
                         example '-liga' to disable ligatures or '-kern'
                         to disable kerning.  To get all supported
                         features, see
                         https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist
                         Requires libraqm.
 
        :param language: Language of the text. Different languages may use
                         different glyph shapes or ligatures. This parameter tells
                         the font which language the text is in, and to apply the
                         correct substitutions as appropriate, if available.
                         It should be a `BCP 47 language code
                         <https://www.w3.org/International/articles/language-tags/>`_
                         Requires libraqm.
 
        :return: Width for horizontal, height for vertical text.
        é@)r@rQ)r/rGr+Ú    directionÚfeaturesÚlanguagerrrrQsEzFreeTypeFont.getlengthcCsj|j ||||||¡\}}    |    d||    d|}
} |dd||dd|} } |
| |
| | | fS)a¤    
        Returns bounding box (in pixels) of given text relative to given anchor
        when rendered in font with provided direction, features, and language.
 
        Use :py:meth:`getlength()` to get the offset of following text with
        1/64 pixel precision. The bounding box includes extra margins for
        some fonts, e.g. italics or accents.
 
        .. versionadded:: 8.0.0
 
        :param text: Text to render.
        :param mode: Used by some graphics drivers to indicate what mode the
                     driver prefers; if empty, the renderer may return either
                     mode. Note that the mode is always a string, to simplify
                     C-level implementations.
 
        :param direction: Direction of the text. It can be 'rtl' (right to
                          left), 'ltr' (left to right) or 'ttb' (top to bottom).
                          Requires libraqm.
 
        :param features: A list of OpenType font features to be used during text
                         layout. This is usually used to turn on optional
                         font features that are not enabled by default,
                         for example 'dlig' or 'ss01', but can be also
                         used to turn off default font features for
                         example '-liga' to disable ligatures or '-kern'
                         to disable kerning.  To get all supported
                         features, see
                         https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist
                         Requires libraqm.
 
        :param language: Language of the text. Different languages may use
                         different glyph shapes or ligatures. This parameter tells
                         the font which language the text is in, and to apply the
                         correct substitutions as appropriate, if available.
                         It should be a `BCP 47 language code
                         <https://www.w3.org/International/articles/language-tags/>`_
                         Requires libraqm.
 
        :param stroke_width: The width of the text stroke.
 
        :param anchor:  The text anchor alignment. Determines the relative location of
                        the anchor to the text. The default alignment is top left.
                        See :ref:`text-anchors` for valid values.
 
        :return: ``(left, top, right, bottom)`` bounding box
        rrérL)r/rGr+rxryrzÚ stroke_widthÚanchorr\ÚoffsetÚleftÚtoprNrOrrrrP_s9ÿ"zFreeTypeFont.getbboxcCsLtdddƒ|j |d|||¡\}}|d|d|d|d|dfS)aÊ    
        .. deprecated:: 9.2.0
 
        Use :py:meth:`getlength()` to measure the offset of following text with
        1/64 pixel precision.
        Use :py:meth:`getbbox()` to get the exact bounding box based on an anchor.
 
        See :ref:`deprecations <Font size and offset methods>` for more information.
 
        Returns width and height (in pixels) of given text if rendered in font with
        provided direction, features, and language.
 
        .. note:: For historical reasons this function measures text height from
            the ascender line instead of the top, see :ref:`text-anchors`.
            If you wish to measure text height from the top, it is recommended
            to use the bottom value of :meth:`getbbox` with ``anchor='lt'`` instead.
 
        :param text: Text to measure.
 
        :param direction: Direction of the text. It can be 'rtl' (right to
                          left), 'ltr' (left to right) or 'ttb' (top to bottom).
                          Requires libraqm.
 
                          .. versionadded:: 4.2.0
 
        :param features: A list of OpenType font features to be used during text
                         layout. This is usually used to turn on optional
                         font features that are not enabled by default,
                         for example 'dlig' or 'ss01', but can be also
                         used to turn off default font features for
                         example '-liga' to disable ligatures or '-kern'
                         to disable kerning.  To get all supported
                         features, see
                         https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist
                         Requires libraqm.
 
                         .. versionadded:: 4.2.0
 
        :param language: Language of the text. Different languages may use
                         different glyph shapes or ligatures. This parameter tells
                         the font which language the text is in, and to apply the
                         correct substitutions as appropriate, if available.
                         It should be a `BCP 47 language code
                         <https://www.w3.org/International/articles/language-tags/>`_
                         Requires libraqm.
 
                         .. versionadded:: 6.0.0
 
        :param stroke_width: The width of the text stroke.
 
                         .. versionadded:: 6.2.0
 
        :return: (width, height)
        rDrrEr$rr{rrF)r/rGrxryrzr|r\r~rrrrDŸs
> þzFreeTypeFont.getsizeéc     Cstdddƒd}| |¡}t ¡Ttjdtd|jd|dd    |}    |D]$}
| |
||||¡\} } t|| ƒ}qLW5QRX|t|ƒ|    |fS)
a
        .. deprecated:: 9.2.0
 
        Use :py:meth:`.ImageDraw.multiline_textbbox` instead.
 
        See :ref:`deprecations <Font size and offset methods>` for more information.
 
        Returns width and height (in pixels) of given text if rendered in font
        with provided direction, features, and language, while respecting
        newline characters.
 
        :param text: Text to measure.
 
        :param direction: Direction of the text. It can be 'rtl' (right to
                          left), 'ltr' (left to right) or 'ttb' (top to bottom).
                          Requires libraqm.
 
        :param spacing: The vertical gap between lines, defaulting to 4 pixels.
 
        :param features: A list of OpenType font features to be used during text
                         layout. This is usually used to turn on optional
                         font features that are not enabled by default,
                         for example 'dlig' or 'ss01', but can be also
                         used to turn off default font features for
                         example '-liga' to disable ligatures or '-kern'
                         to disable kerning.  To get all supported
                         features, see
                         https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist
                         Requires libraqm.
 
        :param language: Language of the text. Different languages may use
                         different glyph shapes or ligatures. This parameter tells
                         the font which language the text is in, and to apply the
                         correct substitutions as appropriate, if available.
                         It should be a `BCP 47 language code
                         <https://www.w3.org/International/articles/language-tags/>`_
                         Requires libraqm.
 
                         .. versionadded:: 6.0.0
 
        :param stroke_width: The width of the text stroke.
 
                         .. versionadded:: 6.2.0
 
        :return: (width, height)
        Úgetsize_multilinerzImageDraw.multiline_textbboxrÚignore©ÚcategoryÚA)r|r)    rrrr`Úcatch_warningsÚfilterwarningsÚDeprecationWarningrDÚmaxr) r/rGrxÚspacingryrzr|Ú    max_widthÚlinesZ line_spacingÚlineÚ
line_widthZ line_heightrrrr‚æs 7 
 
ÿzFreeTypeFont.getsize_multilinecCstdddƒ|j |¡dS)aà
        .. deprecated:: 9.2.0
 
        Use :py:meth:`.getbbox` instead.
 
        See :ref:`deprecations <Font size and offset methods>` for more information.
 
        Returns the offset of given text. This is the gap between the
        starting coordinate and the first marking. Note that this gap is
        included in the result of :py:func:`~PIL.ImageFont.FreeTypeFont.getsize`.
 
        :param text: Text to measure.
 
        :return: A tuple of the x and y offset
        Ú    getoffsetrrPrrF)r/rGrrrr+s zFreeTypeFont.getoffsetc
 
Cs |j|||||||||    d    dS)aæ
        Create a bitmap for the text.
 
        If the font uses antialiasing, the bitmap should have mode ``L`` and use a
        maximum value of 255. If the font has embedded color data, the bitmap
        should have mode ``RGBA``. Otherwise, it should have mode ``1``.
 
        :param text: Text to render.
        :param mode: Used by some graphics drivers to indicate what mode the
                     driver prefers; if empty, the renderer may return either
                     mode. Note that the mode is always a string, to simplify
                     C-level implementations.
 
                     .. versionadded:: 1.1.5
 
        :param direction: Direction of the text. It can be 'rtl' (right to
                          left), 'ltr' (left to right) or 'ttb' (top to bottom).
                          Requires libraqm.
 
                          .. versionadded:: 4.2.0
 
        :param features: A list of OpenType font features to be used during text
                         layout. This is usually used to turn on optional
                         font features that are not enabled by default,
                         for example 'dlig' or 'ss01', but can be also
                         used to turn off default font features for
                         example '-liga' to disable ligatures or '-kern'
                         to disable kerning.  To get all supported
                         features, see
                         https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist
                         Requires libraqm.
 
                         .. versionadded:: 4.2.0
 
        :param language: Language of the text. Different languages may use
                         different glyph shapes or ligatures. This parameter tells
                         the font which language the text is in, and to apply the
                         correct substitutions as appropriate, if available.
                         It should be a `BCP 47 language code
                         <https://www.w3.org/International/articles/language-tags/>`_
                         Requires libraqm.
 
                         .. versionadded:: 6.0.0
 
        :param stroke_width: The width of the text stroke.
 
                         .. versionadded:: 6.2.0
 
        :param anchor:  The text anchor alignment. Determines the relative location of
                        the anchor to the text. The default alignment is top left.
                        See :ref:`text-anchors` for valid values.
 
                         .. versionadded:: 8.0.0
 
        :param ink: Foreground ink for rendering in RGBA mode.
 
                         .. versionadded:: 8.0.0
 
        :param start: Tuple of horizontal and vertical offset, as text may render
                      differently when starting at fractional coordinates.
 
                         .. versionadded:: 9.4.0
 
        :return: An internal PIL storage memory instance as defined by the
                 :py:mod:`PIL.Image.core` interface module.
        )rxryrzr|r}ÚinkÚstartr)Úgetmask2)
r/rGr+rxryrzr|r}r‘r’rrrrK>sN÷
özFreeTypeFont.getmaskc  sÒ|tkrtjj}n
tddƒ|j ||||||¡\‰} ˆdkrBd‰t‡‡‡fdd„tdƒDƒƒ‰| dˆ| d    ˆf} t     ˆ¡||d
krd
nd ˆdƒ}t
ˆƒrÊ|j  ||j ||||ˆ|    ˆdˆd    ¡
|| fS) a?
        Create a bitmap for the text.
 
        If the font uses antialiasing, the bitmap should have mode ``L`` and use a
        maximum value of 255. If the font has embedded color data, the bitmap
        should have mode ``RGBA``. Otherwise, it should have mode ``1``.
 
        :param text: Text to render.
        :param mode: Used by some graphics drivers to indicate what mode the
                     driver prefers; if empty, the renderer may return either
                     mode. Note that the mode is always a string, to simplify
                     C-level implementations.
 
                     .. versionadded:: 1.1.5
 
        :param fill: Optional fill function. By default, an internal Pillow function
                     will be used.
 
                     Deprecated. This parameter will be removed in Pillow 10
                     (2023-07-01).
 
        :param direction: Direction of the text. It can be 'rtl' (right to
                          left), 'ltr' (left to right) or 'ttb' (top to bottom).
                          Requires libraqm.
 
                          .. versionadded:: 4.2.0
 
        :param features: A list of OpenType font features to be used during text
                         layout. This is usually used to turn on optional
                         font features that are not enabled by default,
                         for example 'dlig' or 'ss01', but can be also
                         used to turn off default font features for
                         example '-liga' to disable ligatures or '-kern'
                         to disable kerning.  To get all supported
                         features, see
                         https://learn.microsoft.com/en-us/typography/opentype/spec/featurelist
                         Requires libraqm.
 
                         .. versionadded:: 4.2.0
 
        :param language: Language of the text. Different languages may use
                         different glyph shapes or ligatures. This parameter tells
                         the font which language the text is in, and to apply the
                         correct substitutions as appropriate, if available.
                         It should be a `BCP 47 language code
                         <https://www.w3.org/International/articles/language-tags/>`_
                         Requires libraqm.
 
                         .. versionadded:: 6.0.0
 
        :param stroke_width: The width of the text stroke.
 
                         .. versionadded:: 6.2.0
 
        :param anchor:  The text anchor alignment. Determines the relative location of
                        the anchor to the text. The default alignment is top left.
                        See :ref:`text-anchors` for valid values.
 
                         .. versionadded:: 8.0.0
 
        :param ink: Foreground ink for rendering in RGBA mode.
 
                         .. versionadded:: 8.0.0
 
        :param start: Tuple of horizontal and vertical offset, as text may render
                      differently when starting at fractional coordinates.
 
                         .. versionadded:: 9.4.0
 
        :return: A tuple of an internal PIL storage memory instance as defined by the
                 :py:mod:`PIL.Image.core` interface module, and the text offset, the
                 gap between the starting coordinate and the first marking
        ÚfillrN)rrc3s,|]$}t ˆ|ˆdˆ|¡VqdS)r{N)ÚmathÚceil)Ú.0Úi©r\r’r|rrÚ    <genexpr>ùsz(FreeTypeFont.getmask2.<locals>.<genexpr>r{rrZRGBAr$) Ú _UNSPECIFIEDrr?r”rr@rDÚtupleÚrangeZ_decompression_bomb_checkÚminÚrenderÚid)r/rGr+r”rxryrzr|r}r‘r’rHrIr~rArr™rr“˜s>X
 
ÿ
ö zFreeTypeFont.getmask2cCst|dkr2zt|jƒ}Wntk
r0|j}YnXt||dkrD|jn||dkrT|jn||dkrd|jn||pn|jdS)a
        Create a copy of this FreeTypeFont object,
        using any specified arguments to override the settings.
 
        Parameters are identical to the parameters used to initialize this
        object.
 
        :return: A FreeTypeFont object.
        N)r@r\rZrYr[)    rrTrr(rSr\rZrYr[)r/r@r\rZrYr[rrrÚ font_variant s  ûzFreeTypeFont.font_variantc
CsNz|j ¡}Wn0tk
r>}zd}t|ƒ|‚W5d}~XYnXdd„|DƒS)zŒ
        :returns: A list of the named styles in a variation font.
        :exception OSError: If the font is not a variation font.
        ú%FreeType 2.9.1 or greater is requiredNcSsg|]}| dd¡‘qS)óó)Úreplace)r—rrrrÚ
<listcomp>/sz4FreeTypeFont.get_variation_names.<locals>.<listcomp>)r@Z getvarnamesrÚNotImplementedError)r/ÚnamesÚerrrrÚget_variation_names%s z FreeTypeFont.get_variation_namescCsR| ¡}t|tƒs| ¡}| |¡d}|t|ddƒkr<dS||_|j |¡dS)zv
        :param name: The name of the style.
        :exception OSError: If the font is not a variation font.
        rÚ_last_variation_indexN)    rªrdrerfrZÚgetattrr«r@Z
setvarname)r/rr¨rZrrrÚset_variation_by_name1s
z"FreeTypeFont.set_variation_by_namec
Csbz|j ¡}Wn0tk
r>}zd}t|ƒ|‚W5d}~XYnX|D]}|d dd¡|d<qD|S)z„
        :returns: A list of the axes in a variation font.
        :exception OSError: If the font is not a variation font.
        r¢Nrr£r¤)r@Z
getvaraxesrr§r¥)r/Úaxesr©rZaxisrrrÚget_variation_axesDszFreeTypeFont.get_variation_axesc
CsFz|j |¡Wn0tk
r@}zd}t|ƒ|‚W5d}~XYnXdS)z
        :param axes: A list of values for each axis.
        :exception OSError: If the font is not a variation font.
        r¢N)r@Z
setvaraxesrr§)r/r®r©rrrrÚset_variation_by_axesRs
z"FreeTypeFont.set_variation_by_axes)NrrrJN)rJNNN)rJNNNrN)NNNr)NrNNr)rJNNNrNrN)NNNNN)r
r r rRrirlrnrrrurvrQrPrDr‚rrKr›r“r¡rªr­r¯r°rrrrrSÏsp
,
Jø
Cú
Jù
Eö
]õ
uÿ
 rSc@s<eZdZdZddd„Zdd„Zddd    „Zd
d „Zd d „ZdS)ÚTransposedFontz,Wrapper for writing rotated or mirrored textNcCs||_||_dS)a–
        Wrapper that creates a transposed font from any existing font
        object.
 
        :param font: A font object.
        :param orientation: An optional orientation.  If given, this should
            be one of Image.Transpose.FLIP_LEFT_RIGHT, Image.Transpose.FLIP_TOP_BOTTOM,
            Image.Transpose.ROTATE_90, Image.Transpose.ROTATE_180, or
            Image.Transpose.ROTATE_270.
        N)r@Ú orientation)r/r@r²rrrrias zTransposedFont.__init__c    Osdtdddƒt ¡$tjdtd|j |¡\}}W5QRX|jtj    j
tj    j fkr\||fS||fS)zÀ
        .. deprecated:: 9.2.0
 
        Use :py:meth:`.getbbox` or :py:meth:`.getlength` instead.
 
        See :ref:`deprecations <Font size and offset methods>` for more information.
        rDrrErƒr„) rr`r‡rˆr‰r@rDr²rÚ    TransposeÚ    ROTATE_90Ú
ROTATE_270)r/rGrHrIÚwÚhrrrrDos 
zTransposedFont.getsizerJcOs0|jj||f|ž|Ž}|jdk    r,| |j¡S|Srj)r@rKr²Z    transpose)r/rGr+rHrIrArrrrKs
 zTransposedFont.getmaskc
OsZ|jj|f|ž|Ž\}}}}||}||}    |jtjjtjjfkrNdd|    |fSdd||    fS)Nr)r@rPr²rr³r´rµ)
r/rGrHrIrr€ÚrightÚbottomrNrOrrrrP…s  zTransposedFont.getbboxcOs6|jtjjtjjfkr"d}t|ƒ‚|jj|f|ž|ŽS)Nz>text length is undefined for text rotated by 90 or 270 degrees)r²rr³r´rµÚ
ValueErrorr@rQ)r/rGrHrIrrrrrQszTransposedFont.getlength)N)rJ)    r
r r rRrirDrKrPrQrrrrr±^s 
 
 
r±cCstƒ}| |¡|S)a
 
    Load a font file.  This function loads a font object from the given
    bitmap font file, and returns the corresponding font object.
 
    :param filename: Name of font file.
    :return: A font object.
    :exception OSError: If the file could not be read.
    )r r5)r0rWrrrr>–s    
r>rrJc ṡ‡‡‡fdd„}z
||ƒWStk
rÆt|ƒs8‚tj |¡}g}tjdkrxtj d¡}|rÐ|     tj 
|d¡¡nXtjdkr°tj d¡}    |    s–d}    |d    d
„|      d ¡Dƒ7}n tjd krÐ|d dtj  d¡g7}tj  |¡d}
d} |D]Ä} t | ¡D]´\} }}|D]¤}|
r:||kr:|tj 
| |¡ƒYS|
stj  |¡d|krtj 
| |¡}tj  |¡ddkr’||ƒYS|
s| dkr|} qqöqè| rÀ|| ƒYS‚YnXdS)aQ
    Load a TrueType or OpenType font from a file or file-like object,
    and create a font object.
    This function loads a font object from the given file or file-like
    object, and creates a font object for a font of the given size.
 
    Pillow uses FreeType to open font files. On Windows, be aware that FreeType
    will keep the file open as long as the FreeTypeFont object exists. Windows
    limits the number of files that can be open in C at once to 512, so if many
    fonts are opened simultaneously and that limit is approached, an
    ``OSError`` may be thrown, reporting that FreeType "cannot open resource".
    A workaround would be to copy the file(s) into memory, and open that instead.
 
    This function requires the _imagingft service.
 
    :param font: A filename or file-like object containing a TrueType font.
                 If the file is not found in this filename, the loader may also
                 search in other directories, such as the :file:`fonts/`
                 directory on Windows or :file:`/Library/Fonts/`,
                 :file:`/System/Library/Fonts/` and :file:`~/Library/Fonts/` on
                 macOS.
 
    :param size: The requested size, in pixels.
    :param index: Which font face to load (default is first available face).
    :param encoding: Which font encoding to use (default is Unicode). Possible
                     encodings include (see the FreeType documentation for more
                     information):
 
                     * "unic" (Unicode)
                     * "symb" (Microsoft Symbol)
                     * "ADOB" (Adobe Standard)
                     * "ADBE" (Adobe Expert)
                     * "ADBC" (Adobe Custom)
                     * "armn" (Apple Roman)
                     * "sjis" (Shift JIS)
                     * "gb  " (PRC)
                     * "big5"
                     * "wans" (Extended Wansung)
                     * "joha" (Johab)
                     * "lat1" (Latin-1)
 
                     This specifies the character set to use. It does not alter the
                     encoding of any text provided in subsequent operations.
    :param layout_engine: Which layout engine to use, if available:
                     :data:`.ImageFont.Layout.BASIC` or :data:`.ImageFont.Layout.RAQM`.
                     If it is available, Raqm layout will be used by default.
                     Otherwise, basic layout will be used.
 
                     Raqm layout is recommended for all non-English text. If Raqm layout
                     is not required, basic layout will have better performance.
 
                     You can check support for Raqm layout using
                     :py:func:`PIL.features.check_feature` with ``feature="raqm"``.
 
                     .. versionadded:: 4.2.0
    :return: A font object.
    :exception OSError: If the file could not be read.
    cst|ˆˆˆˆƒSrj)rS)r@©rYrZr[r\rrÚfreetypeàsztruetype.<locals>.freetyper^ZWINDIRÚfonts)ÚlinuxZlinux2Ú XDG_DATA_DIRSz
/usr/sharecSsg|]}tj |d¡‘qS)r½)r'r(Újoin)r—Zlindirrrrr¦øsztruetype.<locals>.<listcomp>ú:Údarwinz/Library/Fontsz/System/Library/Fontsz~/Library/FontsrNrz.ttf)r,rr'r(ÚbasenamerbrcÚenvironÚgetr;rÀr9Ú
expanduserr)Úwalk)r@r\rZrYr[r¼Z ttf_filenameÚdirsÚwindirZlindirsr3Z%first_font_with_a_different_extensionÚ    directoryZwalkrootZwalkdirZ walkfilenamesZ walkfilenameZfontpathrr»rÚtruetype¤sN<
 
 
 
 
ý"  rËc    CsftjD]N}t|ƒrt|tƒs&| d¡}zttj ||¡ƒWSt    k
rRYqXqd}t    |ƒ‚dS)z÷
    Load font file. Same as :py:func:`~PIL.ImageFont.load`, but searches for a
    bitmap font along the Python path.
 
    :param filename: Name of font file.
    :return: A font object.
    :exception OSError: If the file could not be read.
    zutf-8zcannot find font fileN)
rbr(rrdrqrgr>r'rÀr,)r0rÊrrrrÚ    load_paths    
 
 
rÌc    Cs0tƒ}| tt d¡ƒt tt d¡ƒ¡¡|S)ziLoad a "better than nothing" default font.
 
    .. versionadded:: 1.1.4
 
    :return: A font object.
    s(
UElMZm9udAo7Ozs7OzsxMDsKREFUQQoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAGAABwAGAAAAAP/5AAUAAABgAAAA
ZQAHAAYAAAAA//kABQAAAGUAAABqAAcABgAAAAD/+QAFAAAAagAAAG8ABwAGAAAAAf/8AAMAAABv
AAAAcQAEAAYAAAAA//wAAwACAHEAAAB0AAYABgAAAAD/+gAE//8AdAAAAHgABQAGAAAAAP/7AAT/
/gB4AAAAfAADAAYAAAAB//oABf//AHwAAACAAAUABgAAAAD/+gAFAAAAgAAAAIUABgAGAAAAAP/5
AAYAAQCFAAAAiwAIAAYAAP////oABgAAAIsAAACSAAYABgAA////+gAFAAAAkgAAAJgABgAGAAAA
AP/6AAUAAACYAAAAnQAGAAYAAP////oABQAAAJ0AAACjAAYABgAA////+gAFAAAAowAAAKkABgAG
AAD////6AAUAAACpAAAArwAGAAYAAAAA//oABQAAAK8AAAC0AAYABgAA////+gAGAAAAtAAAALsA
BgAGAAAAAP/6AAQAAAC7AAAAvwAGAAYAAP////oABQAAAL8AAADFAAYABgAA////+gAGAAAAxQAA
AMwABgAGAAD////6AAUAAADMAAAA0gAGAAYAAP////oABQAAANIAAADYAAYABgAA////+gAGAAAA
2AAAAN8ABgAGAAAAAP/6AAUAAADfAAAA5AAGAAYAAP////oABQAAAOQAAADqAAYABgAAAAD/+gAF
AAEA6gAAAO8ABwAGAAD////6AAYAAADvAAAA9gAGAAYAAAAA//oABQAAAPYAAAD7AAYABgAA////
+gAFAAAA+wAAAQEABgAGAAD////6AAYAAAEBAAABCAAGAAYAAP////oABgAAAQgAAAEPAAYABgAA
////+gAGAAABDwAAARYABgAGAAAAAP/6AAYAAAEWAAABHAAGAAYAAP////oABgAAARwAAAEjAAYA
BgAAAAD/+gAFAAABIwAAASgABgAGAAAAAf/5AAQAAQEoAAABKwAIAAYAAAAA//kABAABASsAAAEv
AAgABgAAAAH/+QAEAAEBLwAAATIACAAGAAAAAP/5AAX//AEyAAABNwADAAYAAAAAAAEABgACATcA
AAE9AAEABgAAAAH/+QAE//wBPQAAAUAAAwAGAAAAAP/7AAYAAA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AAjcABgAGAAAAAf/5
AAT//QI3AAACOgAEAAYAAAAB//kABP/9AjoAAAI9AAQABgAAAAL/+QAE//sCPQAAAj8AAgAGAAD/
///7AAYAAgI/AAACRgAHAAYAAAAA//kABgABAkYAAAJMAAgABgAAAAH//AAD//0CTAAAAk4AAQAG
AAAAAf//AAQAAgJOAAACUQADAAYAAAAB//kABP/9AlEAAAJUAAQABgAAAAH/+QAF//4CVAAAAlgA
BQAGAAD////7AAYAAAJYAAACXwAFAAYAAP////kABgAAAl8AAAJmAAcABgAA////+QAGAAACZgAA
Am0ABwAGAAD////5AAYAAAJtAAACdAAHAAYAAAAA//sABQACAnQAAAJ5AAcABgAA////9wAGAAAC
eQAAAoAACQAGAAD////3AAYAAAKAAAAChwAJAAYAAP////cABgAAAocAAAKOAAkABgAA////9wAG
AAACjgAAApUACQAGAAD////4AAYAAAKVAAACnAAIAAYAAP////cABgAAApwAAAKjAAkABgAA////
+gAGAAACowAAAqoABgAGAAAAAP/6AAUAAgKqAAACrwAIAAYAAP////cABQAAAq8AAAK1AAkABgAA
////9wAFAAACtQAAArsACQAGAAD////3AAUAAAK7AAACwQAJAAYAAP////gABQAAAsEAAALHAAgA
BgAAAAD/9wAEAAACxwAAAssACQAGAAAAAP/3AAQAAALLAAACzwAJAAYAAAAA//cABAAAAs8AAALT
AAkABgAAAAD/+AAEAAAC0wAAAtcACAAGAAD////6AAUAAALXAAAC3QAGAAYAAP////cABgAAAt0A
AALkAAkABgAAAAD/9wAFAAAC5AAAAukACQAGAAAAAP/3AAUAAALpAAAC7gAJAAYAAAAA//cABQAA
Au4AAALzAAkABgAAAAD/9wAFAAAC8wAAAvgACQAGAAAAAP/4AAUAAAL4AAAC/QAIAAYAAAAA//oA
Bf//Av0AAAMCAAUABgAA////+gAGAAADAgAAAwkABgAGAAD////3AAYAAAMJAAADEAAJAAYAAP//
//cABgAAAxAAAAMXAAkABgAA////9wAGAAADFwAAAx4ACQAGAAD////4AAYAAAAAAAoABwASAAYA
AP////cABgAAAAcACgAOABMABgAA////+gAFAAAADgAKABQAEAAGAAD////6AAYAAAAUAAoAGwAQ
AAYAAAAA//gABgAAABsACgAhABIABgAAAAD/+AAGAAAAIQAKACcAEgAGAAAAAP/4AAYAAAAnAAoA
LQASAAYAAAAA//gABgAAAC0ACgAzABIABgAAAAD/+QAGAAAAMwAKADkAEQAGAAAAAP/3AAYAAAA5
AAoAPwATAAYAAP////sABQAAAD8ACgBFAA8ABgAAAAD/+wAFAAIARQAKAEoAEQAGAAAAAP/4AAUA
AABKAAoATwASAAYAAAAA//gABQAAAE8ACgBUABIABgAAAAD/+AAFAAAAVAAKAFkAEgAGAAAAAP/5
AAUAAABZAAoAXgARAAYAAAAA//gABgAAAF4ACgBkABIABgAAAAD/+AAGAAAAZAAKAGoAEgAGAAAA
AP/4AAYAAABqAAoAcAASAAYAAAAA//kABgAAAHAACgB2ABEABgAAAAD/+AAFAAAAdgAKAHsAEgAG
AAD////4AAYAAAB7AAoAggASAAYAAAAA//gABQAAAIIACgCHABIABgAAAAD/+AAFAAAAhwAKAIwA
EgAGAAAAAP/4AAUAAACMAAoAkQASAAYAAAAA//gABQAAAJEACgCWABIABgAAAAD/+QAFAAAAlgAK
AJsAEQAGAAAAAP/6AAX//wCbAAoAoAAPAAYAAAAA//oABQABAKAACgClABEABgAA////+AAGAAAA
pQAKAKwAEgAGAAD////4AAYAAACsAAoAswASAAYAAP////gABgAAALMACgC6ABIABgAA////+QAG
AAAAugAKAMEAEQAGAAD////4AAYAAgDBAAoAyAAUAAYAAP////kABQACAMgACgDOABMABgAA////
+QAGAAIAzgAKANUAEw==
s¼
iVBORw0KGgoAAAANSUhEUgAAAx4AAAAUAQAAAAArMtZoAAAEwElEQVR4nABlAJr/AHVE4czCI/4u
Mc4b7vuds/xzjz5/3/7u/n9vMe7vnfH/9++vPn/xyf5zhxzjt8GHw8+2d83u8x27199/nxuQ6Od9
M43/5z2I+9n9ZtmDBwMQECDRQw/eQIQohJXxpBCNVE6QCCAAA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YBB81iSw
pEE170Qrg5MIYydHqwdDQRMrAwcVrQAAAAD//2J4x7j9AAMDn8Q/BgYLBoaiAwwMjPdvMDBYM1Tv
oJodAAAAAP//Yqo/83+dxePWlxl3npsel9lvLfPcqlE9725C+acfVLMEAAAA//9i+s9gwCoaaGMR
evta/58PTEWzr21hufPjA8N+qlnBwAAAAAD//2JiWLci5v1+HmFXDqcnULE/MxgYGBj+f6CaJQAA
AAD//2Ji2FrkY3iYpYC5qDeGgeEMAwPDvwQBBoYvcTwOVLMEAAAA//9isDBgkP///0EOg9z35v//
Gc/eeW7BwPj5+QGZhANUswMAAAD//2JgqGBgYGBgqEMXlvhMPUsAAAAA//8iYDd1AAAAAP//AwDR
w7IkEbzhVQAAAABJRU5ErkJggg==
)r r.rÚbase64Ú    b64decoderr%rVrrrÚ load_default's"ÿÿaÿÿÿrÏ)NrrrJN) rÍr•r'rbr`rrÚiorrJrZ
_deprecaterZ_utilrrr    rrr?Ú ImportErrorÚexrÚobjectr›r rSr±r>rËrÌrÏrrrrÚ<module>s:      {8
n