mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
raqm now works with PyPy on Windows
This commit is contained in:
parent
837d8ae984
commit
64317f8885
4
.github/workflows/test-windows.yml
vendored
4
.github/workflows/test-windows.yml
vendored
|
@ -253,7 +253,6 @@ jobs:
|
|||
|
||||
# for Raqm
|
||||
- name: Build dependencies / HarfBuzz
|
||||
if: "!contains(matrix.python-version, 'pypy')"
|
||||
run: |
|
||||
set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\V7.1A\Include
|
||||
set INCLIB=%GITHUB_WORKSPACE%\winbuild\depends\msvcr10-x32
|
||||
|
@ -274,7 +273,6 @@ jobs:
|
|||
|
||||
# for Raqm
|
||||
- name: Build dependencies / FriBidi
|
||||
if: "!contains(matrix.python-version, 'pypy')"
|
||||
run: |
|
||||
set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\V7.1A\Include
|
||||
set INCLIB=%GITHUB_WORKSPACE%\winbuild\depends\msvcr10-x32
|
||||
|
@ -292,9 +290,7 @@ jobs:
|
|||
copy /Y /B *.lib %INCLIB%
|
||||
shell: cmd
|
||||
|
||||
# failing with PyPy3
|
||||
- name: Build dependencies / Raqm
|
||||
if: "!contains(matrix.python-version, 'pypy')"
|
||||
run: |
|
||||
set INCLUDE=C:\Program Files (x86)\Microsoft SDKs\Windows\V7.1A\Include
|
||||
set INCLIB=%GITHUB_WORKSPACE%\winbuild\depends\msvcr10-x32
|
||||
|
|
|
@ -380,7 +380,7 @@ text_layout_raqm(PyObject* string, FontObject* self, const char* dir, PyObject *
|
|||
and raqm fails with empty strings */
|
||||
goto failed;
|
||||
}
|
||||
int set_text = (*p_raqm.set_text)(rq, (const uint32_t *)(text), size);
|
||||
int set_text = (*p_raqm.set_text)(rq, text, size);
|
||||
PyMem_Free(text);
|
||||
if (!set_text) {
|
||||
PyErr_SetString(PyExc_ValueError, "raqm_set_text() failed");
|
||||
|
|
Loading…
Reference in New Issue
Block a user