Pyglet

Latest version: v2.0.18

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

Scan your dependencies

Page 4 of 9

1.5.28

Features
--------
- Add support for FFmpeg 6.0
- Add support for mouse buttons 4 & 5 on Windows and Linux
- Windows: set higher timer precision when starting PlatformEventLoop.
- font.DirectWrite: improve font name parser (set 'dw_legacy_naming' pyglet option for old behavior)
- Extend keyboard F-key support (F16-24 on Windows, F21-24 on Linux. Mac limited to F20. (773)
- Avoid audio stutter by initializing the AudioDriver when the media module is first used.
- macOS: add support for "on_file_drop" Window events
- macOS: add CoreAudio decoder for supporting compressed audio formats out of the box (mp3, etc.)
- macOS: add filename support for QuartzFont
- macOS: New optional alternate event loop, to prevent M1 issues (set 'osx_alt_loop' pyglet option) (794)

Bugfixes
--------
- Backport of numerous media and font bugfixes from the master branch.
- Fix BYTE windows type for Python 3.12
- Skip calling CGDisplaySetDisplayMode if the current screen mode is the same (891)
- font.DirectWrite: Enable color font only for supported OS's
- Fix get_default_screen() to get the primary monitor, not just the first in the list (717)
- Fix debug_win32 - LoadLibrary implementation (748)
- font.Directwrite: Fix 32 bit crashes (771)
- macOS: Fix memory leak with NSDate object returns.
- Fix FFmpeg 4.0 not being found on MacOS
- Varios XAudio2 fixes and cleanups (877)

1.5.27

Bugfixes
--------
- Windows - stop setting HWND_TOPMOST for fullscreen windows
- obj decoder - Fix GL_SHININESS (Ns) value parsing
- Fix broken property setter for shapes.Polygon (676)
- Fix keys getting "stuck" in KeyStateHandler when Window loses focus (682)

1.5.24

Features
--------
- Add initial support for FFmpeg 5.0
- Windows - The GDI font renderer now supports Unicode font names.

Bugfixes
--------
- Windows - Fix `on_resize` event not dispatched when `set_size` is called.
- Documentation updates, fixed links, and corrections.
- Windows - Fix crash when font characters are more than one codepoint in length.

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.

Page 4 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.