pyglet 2.1.4__py3-none-any.whl → 2.1.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyglet/__init__.py CHANGED
@@ -15,7 +15,7 @@ if TYPE_CHECKING:
15
15
  from typing import Any, Callable, ItemsView, Sized
16
16
 
17
17
  #: The release version
18
- version = '2.1.4'
18
+ version = '2.1.5'
19
19
  __version__ = version
20
20
 
21
21
  MIN_PYTHON_VERSION = 3, 8
@@ -280,7 +280,7 @@ class _DWriteTextRenderer(com.COMObject):
280
280
  (glyph_run.glyphAdvances[i] - glyph.advance),
281
281
  0,
282
282
  glyph_run.glyphOffsets[i].advanceOffset,
283
- glyph_run.glyphOffsets[i].ascenderOffset
283
+ glyph_run.glyphOffsets[i].ascenderOffset,
284
284
  )
285
285
 
286
286
  else:
@@ -485,7 +485,7 @@ class DirectWriteGlyphRenderer(base.GlyphRenderer): # noqa: D101
485
485
  self._brush,
486
486
  None,
487
487
  0,
488
- mode
488
+ mode,
489
489
  )
490
490
  elif glyph_image_fmt & DWRITE_GLYPH_IMAGE_FORMATS_BITMAP:
491
491
  if self._ctx_supported:
@@ -493,7 +493,7 @@ class DirectWriteGlyphRenderer(base.GlyphRenderer): # noqa: D101
493
493
  glyph_image_fmt,
494
494
  baseline_offset,
495
495
  color_run.contents.glyphRun,
496
- self.measuring_mode
496
+ self.measuring_mode,
497
497
  )
498
498
  else:
499
499
  glyph_run = color_run.contents.glyphRun
@@ -903,8 +903,6 @@ class Win32DirectWriteFont(base.Font):
903
903
  if glyph_indice == 0:
904
904
  missing[i] = clusters[i]
905
905
 
906
- print("MISSING", missing)
907
-
908
906
  return glyph_indices, missing
909
907
 
910
908
  def render_glyph_indices(self, indices: list[int]) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyglet
3
- Version: 2.1.4
3
+ Version: 2.1.5
4
4
  Summary: pyglet is a cross-platform games and multimedia package.
5
5
  Author-email: Alex Holkner & contributors <Alex.Holkner@gmail.com>
6
6
  Requires-Python: >=3.8
@@ -1,4 +1,4 @@
1
- pyglet/__init__.py,sha256=kHqUDc60mK0VxKu0-zzJruaIZMBP_SxvN8zUpfd90UU,21486
1
+ pyglet/__init__.py,sha256=tFPLt689oCGHM87IvR3vss2bdDzFdPb9pA3LiCEVqsc,21486
2
2
  pyglet/__init__.pyi,sha256=g-eSsTUa4WDTqTULiN7cRqagvW58NGCPLj9sabXRFjo,2005
3
3
  pyglet/clock.py,sha256=kGQIw6WDFOHVi5IQKCNyoOlOf65B2gVk342M200MaVo,21892
4
4
  pyglet/customtypes.py,sha256=e9AB-8WPPhhZXqfDEf4r2Lv0vAQUBjwig5EBejBDz0k,608
@@ -43,7 +43,7 @@ pyglet/font/quartz.py,sha256=3MYuPH_PWaGY4I2Zp_rFZl2g5GwFxyisMTMdGF1oDPs,25849
43
43
  pyglet/font/ttf.py,sha256=xrTxY02uGcc3s9xG60iu4x4HzDfxuTwAyT8KFfJ8GS0,24225
44
44
  pyglet/font/user.py,sha256=F4e1tLVTdt8AnY0Sw5As7uk3Bf3DhSlzpMQNnOhGtE0,12429
45
45
  pyglet/font/win32.py,sha256=lZpmzFgZJvit2PK15SwpFtP__M_qgrc-laEna7pQP48,16460
46
- pyglet/font/dwrite/__init__.py,sha256=PoOFKRtteZ4LnlrC6tnCpJOhszn4tKY-9wxdaAcKK0I,53557
46
+ pyglet/font/dwrite/__init__.py,sha256=XxkLn5SSUM4bVCrKg56gjwAJmbDVJMtVhb-rpMWs77A,53525
47
47
  pyglet/font/dwrite/d2d1_lib.py,sha256=dqLJo33Xt5WiUWaXnrTPQKGQFclzcMV8ysRNtEHGrqY,19563
48
48
  pyglet/font/dwrite/d2d1_types_lib.py,sha256=-vzx6qyHfdFQ6n8Sf38LxYRNWFDnz_zJR_AvnxFPEDU,1201
49
49
  pyglet/font/dwrite/dwrite_lib.py,sha256=D9nd4UhXm0EXQVhfG3EvkdsntTvY0D2n54i2P7ck6io,51437
@@ -224,7 +224,7 @@ pyglet/window/cocoa/systemcursor.py,sha256=-rMhvPH3DWl4gsSTCUbkn-yUnbyKM7JdQLfb5
224
224
  pyglet/window/headless/__init__.py,sha256=BLmawFLSJqV_ZjwePGT8DxFSc2ZWuVMDbxATvu1qFX4,3251
225
225
  pyglet/window/win32/__init__.py,sha256=rOklaFryGJj5IdU4wjVE8Y0Pa4MY4sFVsJGXFcfUNeA,54794
226
226
  pyglet/window/xlib/__init__.py,sha256=kTeJUNpByqIBDk2L_5dbfsAFB2UNmH7WP_79ZwqOVM8,70060
227
- pyglet-2.1.4.dist-info/LICENSE,sha256=V-fuy2c8jUDPMZJjPEgH-6jIFoUymjfht2PhVW1d7TQ,1546
228
- pyglet-2.1.4.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
229
- pyglet-2.1.4.dist-info/METADATA,sha256=941b4Quzh0q4OCbHMk3xFp_KdIvbXLKXg73Hee7dWEw,7650
230
- pyglet-2.1.4.dist-info/RECORD,,
227
+ pyglet-2.1.5.dist-info/LICENSE,sha256=V-fuy2c8jUDPMZJjPEgH-6jIFoUymjfht2PhVW1d7TQ,1546
228
+ pyglet-2.1.5.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
229
+ pyglet-2.1.5.dist-info/METADATA,sha256=n1ZkGxGmaoZitogDLA48pGATjKxzf5XcG72qnl0CqCE,7650
230
+ pyglet-2.1.5.dist-info/RECORD,,
File without changes