Pyglet

Latest version: v2.0.15

Safety actively analyzes 631143 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

1.5.23

Features
--------
- Windows - Add `win32_disable_shaping` option. This can improve font performance when shaping isn't required.
- Backport the latest pyglet.math module changes from the development branch.

Bugfixes
--------
- Linux - Fix crash when Gstreamer Gst bindings are not installed.
- Fix math.Vec4.clamp method.

1.5.22

Features
--------
- If the PyOgg module is installed, it can be used for loading various Vorbis audio formats.
- Add a new CameraGroup example, to show implementing a Camera with pyglet's Groups.
- Add `angle` and `start_angle` property/setter to `shapes.Sector`.
- Windows - new WMF based encoder for faster saving of common image formats.

Bugfixes
--------
- Fix indexing error when setting text.Label.opacity (481)
- Windows - Fix shift modifier + exclusive mouse mode (472)
- Linux - Prevent non-Tablet devices from being detected as Tablets (491)
- Windows - Prevent distortion with multiple XAudio2 audio sources (515)
- Fix frame dropping bug with FFMpeg decoder.
- Windows - Fix Video alpha channel for WMF decoder.
- Varios documentation and docstring fixes. Thanks everyone!

1.5.21

Features
--------
- A new MovableFrame that allows repositioning Widgets when a specified key modifier is held.
- Text Layouts now have `opacity` and `visible` attributes, similar to Sprites.
- Add new shapes.Ellipse class.

Bugfixes
--------
- Xlib - don't enable certain Window options if transparency is not enabled. (454)
- Windows - Fix issue with some fonts where glyphs overhanging their advance would be cut off.

1.5.20

Features
--------
- Experimental support for transparent and overlay windows on Linux and Windows.
- Shapes - Allow rotation and changing of border color for the BorderedRectangle.

Bugfixes
--------
- Xlib - Fix the mouse Y position being off by 1-pixel.
- Windows - Fix gapless audio playback on the XAudio2 backend.

1.5.18

Bugfixes
--------
- If XAudio2 device creation fails, catch exception so that the next driver can be tried.
- Fix dangling file pointers in GStreamer decoder.
- Expose font.name attribute to show the font family name.
- Un-associate queued Source from a deleted Player instance (256)
- Fix circular import when trying to create a Windows in 'headless' mode.
- Un-associate StreamingSources from deleted Player instances (256)
- Update pypng lib to avoid deprecated functions (405)

1.5.17

Bugfixes
--------
- FFmpeg decoder add FF_INPUT_BUFFER_PADDING_SIZE to buffers.
- Add missing DI8DEVTYPE_SUPPLEMENTAL joystick device type.
- Fix bool clamping causing crash with DirectWrite text decoder.

Maintenance
-----------
- Change IncrementalTextLayout to use glScissor instead of glClipPlane.
- Raise warning on Window creation if the GPU drivers do not support OpenGL 2.0

Features
--------
- Add a new `shapes.Star` shape.

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.