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 +1 -1
- pyglet/font/dwrite/__init__.py +3 -5
- {pyglet-2.1.4.dist-info → pyglet-2.1.5.dist-info}/METADATA +1 -1
- {pyglet-2.1.4.dist-info → pyglet-2.1.5.dist-info}/RECORD +6 -6
- {pyglet-2.1.4.dist-info → pyglet-2.1.5.dist-info}/LICENSE +0 -0
- {pyglet-2.1.4.dist-info → pyglet-2.1.5.dist-info}/WHEEL +0 -0
pyglet/__init__.py
CHANGED
pyglet/font/dwrite/__init__.py
CHANGED
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
pyglet/__init__.py,sha256=
|
|
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=
|
|
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.
|
|
228
|
-
pyglet-2.1.
|
|
229
|
-
pyglet-2.1.
|
|
230
|
-
pyglet-2.1.
|
|
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
|
|
File without changes
|