Ondrej Baranovič

Results 13 issues of Ondrej Baranovič

Drawing multiline text currently draws a single vertical line of overlapping characters. I'm not sure how/if this can be fixed within the existing API since it is not clear whether...

Font Rendering

Changes proposed in this pull request: * Add `Py_DECREF` calls for `seq` and `bytes`. Fixes #6321. * Remove duplicate `PyUnicode_Check(item)` call. * `PySequence_Size(seq)` can be changed to faster `PySequence_Fast_GET_SIZE(seq)` because...

Memory

FreeType 2.12 (#6169) adds support for color fonts in SVG format. From https://github.com/freetype/freetype/commit/21d0fa374200aecc6605daf034a47167ea82ed6f: > FreeType now handles OT-SVG fonts, to be controlled with `FT_CONFIG_OPTION_SVG` configuration macro. By default, it can...

Font Rendering

Adds tests for (and includes) #4372 This PR adds a Windows run in a Windows Docker instance. The build script is just `test-windows.yml` with updated paths. The Dockerfile is based...

Windows

For #6369, close #6554, close #553 In an effort to sync the dependencies available on Linux/macOS ([python-pillow/pillow-wheels](https://github.com/python-pillow/pillow-wheels)) and Windows ([test-windows.yml](https://github.com/python-pillow/Pillow/blob/main/.github/workflows/test-windows.yml)) ahead of the next release (#6460), I've compiled a list...

Windows

Changes suggested: * In light of #6369, provide an alternative place to download an up-to-date `fribidi.dll` on GitHub Actions. See run on my fork for an example: https://github.com/nulano/Pillow/actions/runs/2921960148

Windows

For https://github.com/python-pillow/Pillow/issues/6480#issuecomment-1208658621 Changes proposed in this pull request: * Document `ImageDraw` attributes `font`, `fontmode`, `ink`, `fill`. * Change `self.fill = 0` to `self.fill = False` to match its use as...

Changes proposed in this pull request: * #3870 added pilinfo to help in diagnosing issues. However, because it prints a list of all supported formats, I have sometimes found it...

#7171 added a custom build backend to translate `-C feature=disable` style flags to the old `--disable-feature` style flags by prepending the build command (typically `bdist_wheel`) with a `build_ext --disable-feature` command...