| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c6f24d3 commit ff32ee5
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1309,9 +1309,15 @@ static PyObject *PyFT2Font_get_sfnt_table(PyFT2Font *self, PyObject *args, PyObj | |||
| 1309 | 1309 | t->maxMemType1); | |
| 1310 | 1310 | } | |
| 1311 | 1311 | case 6: { | |
| 1312 | + #if PY3K | ||
| 1313 | + char pclt_dict[] = | ||
| 1314 | + "{s:(h,h), s:k, s:H, s:H, s:H, s:H, s:H, s:H, s:s, s:y, s:b, s:b, " | ||
| 1315 | + "s:b}"; | ||
| 1316 | + #else | ||
| 1312 | 1317 | char pclt_dict[] = | |
| 1313 | 1318 | "{s:(h,h), s:k, s:H, s:H, s:H, s:H, s:H, s:H, s:s, s:s, s:b, s:b, " | |
| 1314 | 1319 | "s:b}"; | |
| 1320 | + #endif | ||
| 1315 | 1321 | TT_PCLT *t = (TT_PCLT *)table; | |
| 1316 | 1322 | return Py_BuildValue(pclt_dict, | |
| 1317 | 1323 | "version", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments