From d074af95dff2153f584bbbd8685a287208e59623 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Wed, 3 Apr 2019 14:30:16 -0400 Subject: [PATCH] Backport PR #13868: Correctly handle fallout of defining PY_SSIZE_T_CLEAN on Windows. --- src/ft2font_wrapper.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ft2font_wrapper.cpp b/src/ft2font_wrapper.cpp index 3ebaffffb9d2..f71b62813fc0 100644 --- a/src/ft2font_wrapper.cpp +++ b/src/ft2font_wrapper.cpp @@ -1260,7 +1260,7 @@ static PyObject *PyFT2Font_get_sfnt_table(PyFT2Font *self, PyObject *args, PyObj t->sFamilyClass, "panose", t->panose, - 10, + Py_ssize_t(10), "ulCharRange", t->ulUnicodeRange1, t->ulUnicodeRange2, @@ -1268,7 +1268,7 @@ static PyObject *PyFT2Font_get_sfnt_table(PyFT2Font *self, PyObject *args, PyObj t->ulUnicodeRange4, "achVendID", t->achVendID, - 4, + Py_ssize_t(4), "fsSelection", t->fsSelection, "fsFirstCharIndex", @@ -1394,10 +1394,10 @@ static PyObject *PyFT2Font_get_sfnt_table(PyFT2Font *self, PyObject *args, PyObj t->SymbolSet, "typeFace", t->TypeFace, - 16, + Py_ssize_t(16), "characterComplement", t->CharacterComplement, - 8, + Py_ssize_t(8), "strokeWeight", t->StrokeWeight, "widthType", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy