Pyglet

Latest version: v2.0.18

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

Scan your dependencies

Page 5 of 9

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.

1.5.16

Bugfixes
--------
- 3d model obj decoder supports multiple material types
- Fix GStreamerSources not being garbage collected 283
- Fix ScrollableTextLayout not respecting anchors/alignment.

Features
--------
- New DirectWrite based font loader. Enable with `pyglet.options["advanced_font_features"] = True`
- Add `position` property to Text Layouts, to mimic other classes.

1.5.15

Bugfix and maintenance release

Bugfixes
--------
- shapes.Circle segment calculation will always use a minimum of 14 segments.
- shapes.Arc is now made from line segments, and by default has unconnected ends.
- Windows - Use the internal keystate to determine the mod shift rather than relying on GetKeyState
which relies on another event that may be called after WM_INPUT.

Maintenance
-----------
- Various Headless backend and EGL work.

1.5.14

Bugfixes
--------
- Fix interlaced mp3 decoding in GStreamer backend.
- Skip functions marked as OBJC_ARM64_UNAVAILABLE for new ARM Macs.

Features
--------
- Add a `WaveEncoder` for saving audio Sources to disk.

Page 5 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.