Christian Brugger

Results 12 issues of Christian Brugger

Hello, It seems that `ImageSurface.get_data` gives different transparency values than `ImageSurface.write_to_png`. It seems as if the one from `get_data` is incorrect. How to reproduce: ```python import cairosvg.parser import numpy as...

Fix for small_vector wasting space on GNU / Linux, as discussed in issue #1926

CLA Signed

When using a `small_vector` with two **4 byte values** and a **2 byte size type**, the small_vector is **12 instead of 10 bytes** under the GNU toolchain. This wastes space...

Currently when rects are stroked with one being exactly 0, Blend2d draws something weird. [Fiddle ](https://fiddle.blend2d.com/) example ``` BLImage render(const BLContextCreateInfo& cci) { BLImage img(500, 140, BL_FORMAT_PRGB32); BLContext ctx(img, cci);...

To my understanding `safe` should work in any template as integer safety is orthogonal. I am unable to use `safe` in `std::span` in MSVC: ```c++ #include #include #include using Int...

I am not sure if technically a bug, but from the documentation and talks what I understood was that in my code I can basically replace `int` with `safe` and...

I want to use `ruff server` on a project where I want to introduce formatting and linting gradually. My idea was to use the `include` feature in the `ruff.toml` config:...

bug
server

### What Operating System(s) are you seeing this problem on? Windows ### Which Wayland compositor or X11 Window manager(s) are you using? _No response_ ### WezTerm version 20240719-081740-643d85f8 ### Did...

bug

On CMake 3.27 I get the following warning: ```cmake CMake Deprecation Warning at external/gcem/CMakeLists.txt:21 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update...

When using folly with Clang and C++23 I get deprecation warnings when using `folly::small_vector`. When I use `-Werror` on my code, the build fails. ```c++ /app/./folly/Traits.h:502:1: error: 'aligned_storage' is deprecated...