ManimPango 1.0.0a1__cp311-cp311-win32.whl → 1.0.0a2__cp311-cp311-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,28 +17,28 @@
17
17
  "C:\\cibw\\vendor\\include\\pango-1.0\\pango\\pangocairo.h"
18
18
  ],
19
19
  "include_dirs": [
20
- "C:/cibw/vendor/include/pango-1.0",
20
+ "C:/cibw/vendor/include/cairo",
21
21
  "C:/cibw/vendor/include/pixman-1",
22
- "C:/cibw/vendor/include/harfbuzz",
23
- "C:/cibw/vendor/include/freetype2",
24
22
  "C:/cibw/vendor/include/glib-2.0",
25
- "C:/cibw/vendor/lib/glib-2.0/include",
26
- "C:/cibw/vendor/include/cairo",
23
+ "C:/cibw/vendor/include/harfbuzz",
24
+ "C:/cibw/vendor/include/pango-1.0",
25
+ "C:/cibw/vendor/include",
27
26
  "C:/cibw/vendor/include/fribidi",
28
- "C:/cibw/vendor/include"
27
+ "C:/cibw/vendor/include/freetype2",
28
+ "C:/cibw/vendor/lib/glib-2.0/include"
29
29
  ],
30
30
  "libraries": [
31
- "glib-2.0",
32
- "intl",
31
+ "Gdi32",
33
32
  "gobject-2.0",
34
- "cairo",
33
+ "glib-2.0",
34
+ "fontconfig",
35
35
  "harfbuzz",
36
+ "pangoft2-1.0",
36
37
  "pangocairo-1.0",
37
- "fontconfig",
38
+ "intl",
38
39
  "freetype",
39
40
  "pango-1.0",
40
- "Gdi32",
41
- "pangoft2-1.0"
41
+ "cairo"
42
42
  ],
43
43
  "library_dirs": [
44
44
  "C:/cibw/vendor/lib"
@@ -1481,6 +1481,7 @@ int __pyx_module_is_main_manimpango__fonts___font_desc = 0;
1481
1481
 
1482
1482
  /* Implementation of 'manimpango.fonts._font_desc' */
1483
1483
  static PyObject *__pyx_builtin_MemoryError;
1484
+ static PyObject *__pyx_builtin_ValueError;
1484
1485
  static PyObject *__pyx_builtin_TypeError;
1485
1486
  static const char __pyx_k_copy[] = "__copy__";
1486
1487
  static const char __pyx_k_main[] = "__main__";
@@ -1503,6 +1504,7 @@ static const char __pyx_k_getstate[] = "__getstate__";
1503
1504
  static const char __pyx_k_setstate[] = "__setstate__";
1504
1505
  static const char __pyx_k_TypeError[] = "TypeError";
1505
1506
  static const char __pyx_k_reduce_ex[] = "__reduce_ex__";
1507
+ static const char __pyx_k_ValueError[] = "ValueError";
1506
1508
  static const char __pyx_k_MemoryError[] = "MemoryError";
1507
1509
  static const char __pyx_k_from_string[] = "from_string";
1508
1510
  static const char __pyx_k_reduce_cython[] = "__reduce_cython__";
@@ -1510,11 +1512,13 @@ static const char __pyx_k_FontDescription[] = "_FontDescription";
1510
1512
  static const char __pyx_k_setstate_cython[] = "__setstate_cython__";
1511
1513
  static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback";
1512
1514
  static const char __pyx_k_no_default___reduce___due_to_non[] = "no default __reduce__ due to non-trivial __cinit__";
1515
+ static const char __pyx_k_pango_font_description_from_stri[] = "pango_font_description_from_string() returned NULL";
1513
1516
  static const char __pyx_k_pango_font_description_new_retur[] = "pango_font_description_new() returned NULL";
1514
1517
  static PyObject *__pyx_n_s_FontDescription;
1515
1518
  static PyObject *__pyx_n_s_MemoryError;
1516
1519
  static PyObject *__pyx_n_s_Style;
1517
1520
  static PyObject *__pyx_n_s_TypeError;
1521
+ static PyObject *__pyx_n_s_ValueError;
1518
1522
  static PyObject *__pyx_n_s_Variant;
1519
1523
  static PyObject *__pyx_n_s_Weight;
1520
1524
  static PyObject *__pyx_n_s_cline_in_traceback;
@@ -1527,6 +1531,7 @@ static PyObject *__pyx_n_s_import;
1527
1531
  static PyObject *__pyx_n_s_main;
1528
1532
  static PyObject *__pyx_n_s_name;
1529
1533
  static PyObject *__pyx_kp_s_no_default___reduce___due_to_non;
1534
+ static PyObject *__pyx_kp_u_pango_font_description_from_stri;
1530
1535
  static PyObject *__pyx_kp_u_pango_font_description_new_retur;
1531
1536
  static PyObject *__pyx_n_s_reduce;
1532
1537
  static PyObject *__pyx_n_s_reduce_cython;
@@ -1565,6 +1570,7 @@ static PyObject *__pyx_tp_new_10manimpango_5fonts_10_font_desc__FontDescription(
1565
1570
  static PyObject *__pyx_tuple_;
1566
1571
  static PyObject *__pyx_tuple__2;
1567
1572
  static PyObject *__pyx_tuple__3;
1573
+ static PyObject *__pyx_tuple__4;
1568
1574
  /* Late includes */
1569
1575
 
1570
1576
  /* "manimpango/fonts/_font_desc.pyx":5
@@ -2825,7 +2831,7 @@ static int __pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_7variant
2825
2831
  * @classmethod
2826
2832
  * def from_string(cls, string: str): # <<<<<<<<<<<<<<
2827
2833
  * _t = _FontDescription()
2828
- * _t.pango_font_desc = \
2834
+ * cdef PangoFontDescription* font_desc = NULL
2829
2835
  */
2830
2836
 
2831
2837
  /* Python wrapper */
@@ -2851,10 +2857,12 @@ static PyObject *__pyx_pw_10manimpango_5fonts_10_font_desc_16_FontDescription_5f
2851
2857
 
2852
2858
  static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_4from_string(CYTHON_UNUSED PyTypeObject *__pyx_v_cls, PyObject *__pyx_v_string) {
2853
2859
  struct __pyx_obj_10manimpango_5fonts_10_font_desc__FontDescription *__pyx_v__t = NULL;
2860
+ CYTHON_UNUSED PangoFontDescription *__pyx_v_font_desc;
2854
2861
  PyObject *__pyx_r = NULL;
2855
2862
  __Pyx_RefNannyDeclarations
2856
2863
  PyObject *__pyx_t_1 = NULL;
2857
2864
  char const *__pyx_t_2;
2865
+ int __pyx_t_3;
2858
2866
  int __pyx_lineno = 0;
2859
2867
  const char *__pyx_filename = NULL;
2860
2868
  int __pyx_clineno = 0;
@@ -2864,42 +2872,83 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_4f
2864
2872
  * @classmethod
2865
2873
  * def from_string(cls, string: str):
2866
2874
  * _t = _FontDescription() # <<<<<<<<<<<<<<
2875
+ * cdef PangoFontDescription* font_desc = NULL
2867
2876
  * _t.pango_font_desc = \
2868
- * pango_font_description_from_string(string.encode())
2869
2877
  */
2870
2878
  __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)__pyx_ptype_10manimpango_5fonts_10_font_desc__FontDescription)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 81, __pyx_L1_error)
2871
2879
  __Pyx_GOTREF(__pyx_t_1);
2872
2880
  __pyx_v__t = ((struct __pyx_obj_10manimpango_5fonts_10_font_desc__FontDescription *)__pyx_t_1);
2873
2881
  __pyx_t_1 = 0;
2874
2882
 
2875
- /* "manimpango/fonts/_font_desc.pyx":83
2883
+ /* "manimpango/fonts/_font_desc.pyx":82
2884
+ * def from_string(cls, string: str):
2876
2885
  * _t = _FontDescription()
2886
+ * cdef PangoFontDescription* font_desc = NULL # <<<<<<<<<<<<<<
2887
+ * _t.pango_font_desc = \
2888
+ * pango_font_description_from_string(string.encode())
2889
+ */
2890
+ __pyx_v_font_desc = NULL;
2891
+
2892
+ /* "manimpango/fonts/_font_desc.pyx":84
2893
+ * cdef PangoFontDescription* font_desc = NULL
2877
2894
  * _t.pango_font_desc = \
2878
2895
  * pango_font_description_from_string(string.encode()) # <<<<<<<<<<<<<<
2879
- * return _t
2880
- *
2896
+ * if _t.pango_font_desc is NULL:
2897
+ * raise ValueError("pango_font_description_from_string() returned NULL")
2881
2898
  */
2882
2899
  if (unlikely(__pyx_v_string == Py_None)) {
2883
2900
  PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "encode");
2884
- __PYX_ERR(0, 83, __pyx_L1_error)
2901
+ __PYX_ERR(0, 84, __pyx_L1_error)
2885
2902
  }
2886
- __pyx_t_1 = PyUnicode_AsEncodedString(__pyx_v_string, NULL, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 83, __pyx_L1_error)
2903
+ __pyx_t_1 = PyUnicode_AsEncodedString(__pyx_v_string, NULL, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 84, __pyx_L1_error)
2887
2904
  __Pyx_GOTREF(__pyx_t_1);
2888
- __pyx_t_2 = __Pyx_PyBytes_AsString(__pyx_t_1); if (unlikely((!__pyx_t_2) && PyErr_Occurred())) __PYX_ERR(0, 83, __pyx_L1_error)
2905
+ __pyx_t_2 = __Pyx_PyBytes_AsString(__pyx_t_1); if (unlikely((!__pyx_t_2) && PyErr_Occurred())) __PYX_ERR(0, 84, __pyx_L1_error)
2889
2906
 
2890
- /* "manimpango/fonts/_font_desc.pyx":82
2891
- * def from_string(cls, string: str):
2907
+ /* "manimpango/fonts/_font_desc.pyx":83
2892
2908
  * _t = _FontDescription()
2909
+ * cdef PangoFontDescription* font_desc = NULL
2893
2910
  * _t.pango_font_desc = \ # <<<<<<<<<<<<<<
2894
2911
  * pango_font_description_from_string(string.encode())
2895
- * return _t
2912
+ * if _t.pango_font_desc is NULL:
2896
2913
  */
2897
2914
  __pyx_v__t->pango_font_desc = pango_font_description_from_string(__pyx_t_2);
2898
2915
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2899
2916
 
2900
- /* "manimpango/fonts/_font_desc.pyx":84
2917
+ /* "manimpango/fonts/_font_desc.pyx":85
2918
+ * _t.pango_font_desc = \
2919
+ * pango_font_description_from_string(string.encode())
2920
+ * if _t.pango_font_desc is NULL: # <<<<<<<<<<<<<<
2921
+ * raise ValueError("pango_font_description_from_string() returned NULL")
2922
+ * return _t
2923
+ */
2924
+ __pyx_t_3 = ((__pyx_v__t->pango_font_desc == NULL) != 0);
2925
+ if (unlikely(__pyx_t_3)) {
2926
+
2927
+ /* "manimpango/fonts/_font_desc.pyx":86
2928
+ * pango_font_description_from_string(string.encode())
2929
+ * if _t.pango_font_desc is NULL:
2930
+ * raise ValueError("pango_font_description_from_string() returned NULL") # <<<<<<<<<<<<<<
2931
+ * return _t
2932
+ *
2933
+ */
2934
+ __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_ValueError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 86, __pyx_L1_error)
2935
+ __Pyx_GOTREF(__pyx_t_1);
2936
+ __Pyx_Raise(__pyx_t_1, 0, 0, 0);
2937
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
2938
+ __PYX_ERR(0, 86, __pyx_L1_error)
2939
+
2940
+ /* "manimpango/fonts/_font_desc.pyx":85
2901
2941
  * _t.pango_font_desc = \
2902
2942
  * pango_font_description_from_string(string.encode())
2943
+ * if _t.pango_font_desc is NULL: # <<<<<<<<<<<<<<
2944
+ * raise ValueError("pango_font_description_from_string() returned NULL")
2945
+ * return _t
2946
+ */
2947
+ }
2948
+
2949
+ /* "manimpango/fonts/_font_desc.pyx":87
2950
+ * if _t.pango_font_desc is NULL:
2951
+ * raise ValueError("pango_font_description_from_string() returned NULL")
2903
2952
  * return _t # <<<<<<<<<<<<<<
2904
2953
  *
2905
2954
  * def __repr__(self):
@@ -2914,7 +2963,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_4f
2914
2963
  * @classmethod
2915
2964
  * def from_string(cls, string: str): # <<<<<<<<<<<<<<
2916
2965
  * _t = _FontDescription()
2917
- * _t.pango_font_desc = \
2966
+ * cdef PangoFontDescription* font_desc = NULL
2918
2967
  */
2919
2968
 
2920
2969
  /* function exit code */
@@ -2929,7 +2978,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_4f
2929
2978
  return __pyx_r;
2930
2979
  }
2931
2980
 
2932
- /* "manimpango/fonts/_font_desc.pyx":86
2981
+ /* "manimpango/fonts/_font_desc.pyx":89
2933
2982
  * return _t
2934
2983
  *
2935
2984
  * def __repr__(self): # <<<<<<<<<<<<<<
@@ -2962,7 +3011,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_6_
2962
3011
  int __pyx_clineno = 0;
2963
3012
  __Pyx_RefNannySetupContext("__repr__", 0);
2964
3013
 
2965
- /* "manimpango/fonts/_font_desc.pyx":88
3014
+ /* "manimpango/fonts/_font_desc.pyx":91
2966
3015
  * def __repr__(self):
2967
3016
  * cdef char* desc = \
2968
3017
  * pango_font_description_to_string(self.pango_font_desc) # <<<<<<<<<<<<<<
@@ -2971,14 +3020,14 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_6_
2971
3020
  */
2972
3021
  __pyx_v_desc = pango_font_description_to_string(__pyx_v_self->pango_font_desc);
2973
3022
 
2974
- /* "manimpango/fonts/_font_desc.pyx":89
3023
+ /* "manimpango/fonts/_font_desc.pyx":92
2975
3024
  * cdef char* desc = \
2976
3025
  * pango_font_description_to_string(self.pango_font_desc)
2977
3026
  * p_desc = <bytes>desc # <<<<<<<<<<<<<<
2978
3027
  * g_free(desc)
2979
3028
  * return p_desc.decode()
2980
3029
  */
2981
- __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_desc); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 89, __pyx_L1_error)
3030
+ __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_desc); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 92, __pyx_L1_error)
2982
3031
  __Pyx_GOTREF(__pyx_t_1);
2983
3032
  __pyx_t_2 = __pyx_t_1;
2984
3033
  __Pyx_INCREF(__pyx_t_2);
@@ -2986,7 +3035,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_6_
2986
3035
  __pyx_v_p_desc = ((PyObject*)__pyx_t_2);
2987
3036
  __pyx_t_2 = 0;
2988
3037
 
2989
- /* "manimpango/fonts/_font_desc.pyx":90
3038
+ /* "manimpango/fonts/_font_desc.pyx":93
2990
3039
  * pango_font_description_to_string(self.pango_font_desc)
2991
3040
  * p_desc = <bytes>desc
2992
3041
  * g_free(desc) # <<<<<<<<<<<<<<
@@ -2995,7 +3044,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_6_
2995
3044
  */
2996
3045
  g_free(__pyx_v_desc);
2997
3046
 
2998
- /* "manimpango/fonts/_font_desc.pyx":91
3047
+ /* "manimpango/fonts/_font_desc.pyx":94
2999
3048
  * p_desc = <bytes>desc
3000
3049
  * g_free(desc)
3001
3050
  * return p_desc.decode() # <<<<<<<<<<<<<<
@@ -3005,15 +3054,15 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_6_
3005
3054
  __Pyx_XDECREF(__pyx_r);
3006
3055
  if (unlikely(__pyx_v_p_desc == Py_None)) {
3007
3056
  PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "decode");
3008
- __PYX_ERR(0, 91, __pyx_L1_error)
3057
+ __PYX_ERR(0, 94, __pyx_L1_error)
3009
3058
  }
3010
- __pyx_t_2 = __Pyx_decode_bytes(__pyx_v_p_desc, 0, PY_SSIZE_T_MAX, NULL, NULL, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 91, __pyx_L1_error)
3059
+ __pyx_t_2 = __Pyx_decode_bytes(__pyx_v_p_desc, 0, PY_SSIZE_T_MAX, NULL, NULL, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 94, __pyx_L1_error)
3011
3060
  __Pyx_GOTREF(__pyx_t_2);
3012
3061
  __pyx_r = __pyx_t_2;
3013
3062
  __pyx_t_2 = 0;
3014
3063
  goto __pyx_L0;
3015
3064
 
3016
- /* "manimpango/fonts/_font_desc.pyx":86
3065
+ /* "manimpango/fonts/_font_desc.pyx":89
3017
3066
  * return _t
3018
3067
  *
3019
3068
  * def __repr__(self): # <<<<<<<<<<<<<<
@@ -3034,7 +3083,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_6_
3034
3083
  return __pyx_r;
3035
3084
  }
3036
3085
 
3037
- /* "manimpango/fonts/_font_desc.pyx":93
3086
+ /* "manimpango/fonts/_font_desc.pyx":96
3038
3087
  * return p_desc.decode()
3039
3088
  *
3040
3089
  * def __str__(self): # <<<<<<<<<<<<<<
@@ -3066,7 +3115,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_8_
3066
3115
  int __pyx_clineno = 0;
3067
3116
  __Pyx_RefNannySetupContext("__str__", 0);
3068
3117
 
3069
- /* "manimpango/fonts/_font_desc.pyx":94
3118
+ /* "manimpango/fonts/_font_desc.pyx":97
3070
3119
  *
3071
3120
  * def __str__(self):
3072
3121
  * return self.__repr__() # <<<<<<<<<<<<<<
@@ -3074,7 +3123,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_8_
3074
3123
  * def __eq__(self, other: _FontDescription):
3075
3124
  */
3076
3125
  __Pyx_XDECREF(__pyx_r);
3077
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_repr); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 94, __pyx_L1_error)
3126
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_repr); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 97, __pyx_L1_error)
3078
3127
  __Pyx_GOTREF(__pyx_t_2);
3079
3128
  __pyx_t_3 = NULL;
3080
3129
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
@@ -3088,14 +3137,14 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_8_
3088
3137
  }
3089
3138
  __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2);
3090
3139
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
3091
- if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 94, __pyx_L1_error)
3140
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 97, __pyx_L1_error)
3092
3141
  __Pyx_GOTREF(__pyx_t_1);
3093
3142
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3094
3143
  __pyx_r = __pyx_t_1;
3095
3144
  __pyx_t_1 = 0;
3096
3145
  goto __pyx_L0;
3097
3146
 
3098
- /* "manimpango/fonts/_font_desc.pyx":93
3147
+ /* "manimpango/fonts/_font_desc.pyx":96
3099
3148
  * return p_desc.decode()
3100
3149
  *
3101
3150
  * def __str__(self): # <<<<<<<<<<<<<<
@@ -3116,7 +3165,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_8_
3116
3165
  return __pyx_r;
3117
3166
  }
3118
3167
 
3119
- /* "manimpango/fonts/_font_desc.pyx":96
3168
+ /* "manimpango/fonts/_font_desc.pyx":99
3120
3169
  * return self.__repr__()
3121
3170
  *
3122
3171
  * def __eq__(self, other: _FontDescription): # <<<<<<<<<<<<<<
@@ -3133,7 +3182,7 @@ static PyObject *__pyx_pw_10manimpango_5fonts_10_font_desc_16_FontDescription_11
3133
3182
  PyObject *__pyx_r = 0;
3134
3183
  __Pyx_RefNannyDeclarations
3135
3184
  __Pyx_RefNannySetupContext("__eq__ (wrapper)", 0);
3136
- if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_other), __pyx_ptype_10manimpango_5fonts_10_font_desc__FontDescription, 1, "other", 0))) __PYX_ERR(0, 96, __pyx_L1_error)
3185
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_other), __pyx_ptype_10manimpango_5fonts_10_font_desc__FontDescription, 1, "other", 0))) __PYX_ERR(0, 99, __pyx_L1_error)
3137
3186
  __pyx_r = __pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_10__eq__(((struct __pyx_obj_10manimpango_5fonts_10_font_desc__FontDescription *)__pyx_v_self), ((struct __pyx_obj_10manimpango_5fonts_10_font_desc__FontDescription *)__pyx_v_other));
3138
3187
 
3139
3188
  /* function exit code */
@@ -3155,7 +3204,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_10
3155
3204
  int __pyx_clineno = 0;
3156
3205
  __Pyx_RefNannySetupContext("__eq__", 0);
3157
3206
 
3158
- /* "manimpango/fonts/_font_desc.pyx":97
3207
+ /* "manimpango/fonts/_font_desc.pyx":100
3159
3208
  *
3160
3209
  * def __eq__(self, other: _FontDescription):
3161
3210
  * return bool(pango_font_description_equal( # <<<<<<<<<<<<<<
@@ -3164,32 +3213,32 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_10
3164
3213
  */
3165
3214
  __Pyx_XDECREF(__pyx_r);
3166
3215
 
3167
- /* "manimpango/fonts/_font_desc.pyx":98
3216
+ /* "manimpango/fonts/_font_desc.pyx":101
3168
3217
  * def __eq__(self, other: _FontDescription):
3169
3218
  * return bool(pango_font_description_equal(
3170
3219
  * self.pango_font_desc, other.pango_font_desc)) # <<<<<<<<<<<<<<
3171
3220
  *
3172
3221
  * def __copy__(self):
3173
3222
  */
3174
- __pyx_t_1 = __Pyx_PyInt_From_gint(pango_font_description_equal(__pyx_v_self->pango_font_desc, __pyx_v_other->pango_font_desc)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 97, __pyx_L1_error)
3223
+ __pyx_t_1 = __Pyx_PyInt_From_gint(pango_font_description_equal(__pyx_v_self->pango_font_desc, __pyx_v_other->pango_font_desc)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 100, __pyx_L1_error)
3175
3224
  __Pyx_GOTREF(__pyx_t_1);
3176
3225
 
3177
- /* "manimpango/fonts/_font_desc.pyx":97
3226
+ /* "manimpango/fonts/_font_desc.pyx":100
3178
3227
  *
3179
3228
  * def __eq__(self, other: _FontDescription):
3180
3229
  * return bool(pango_font_description_equal( # <<<<<<<<<<<<<<
3181
3230
  * self.pango_font_desc, other.pango_font_desc))
3182
3231
  *
3183
3232
  */
3184
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 97, __pyx_L1_error)
3233
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 100, __pyx_L1_error)
3185
3234
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3186
- __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 97, __pyx_L1_error)
3235
+ __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 100, __pyx_L1_error)
3187
3236
  __Pyx_GOTREF(__pyx_t_1);
3188
3237
  __pyx_r = __pyx_t_1;
3189
3238
  __pyx_t_1 = 0;
3190
3239
  goto __pyx_L0;
3191
3240
 
3192
- /* "manimpango/fonts/_font_desc.pyx":96
3241
+ /* "manimpango/fonts/_font_desc.pyx":99
3193
3242
  * return self.__repr__()
3194
3243
  *
3195
3244
  * def __eq__(self, other: _FontDescription): # <<<<<<<<<<<<<<
@@ -3208,7 +3257,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_10
3208
3257
  return __pyx_r;
3209
3258
  }
3210
3259
 
3211
- /* "manimpango/fonts/_font_desc.pyx":100
3260
+ /* "manimpango/fonts/_font_desc.pyx":103
3212
3261
  * self.pango_font_desc, other.pango_font_desc))
3213
3262
  *
3214
3263
  * def __copy__(self): # <<<<<<<<<<<<<<
@@ -3239,19 +3288,19 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_12
3239
3288
  int __pyx_clineno = 0;
3240
3289
  __Pyx_RefNannySetupContext("__copy__", 0);
3241
3290
 
3242
- /* "manimpango/fonts/_font_desc.pyx":101
3291
+ /* "manimpango/fonts/_font_desc.pyx":104
3243
3292
  *
3244
3293
  * def __copy__(self):
3245
3294
  * _t = _FontDescription() # <<<<<<<<<<<<<<
3246
3295
  * pango_font_description_free(_t.pango_font_desc)
3247
3296
  * _t.pango_font_desc = \
3248
3297
  */
3249
- __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)__pyx_ptype_10manimpango_5fonts_10_font_desc__FontDescription)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 101, __pyx_L1_error)
3298
+ __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)__pyx_ptype_10manimpango_5fonts_10_font_desc__FontDescription)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 104, __pyx_L1_error)
3250
3299
  __Pyx_GOTREF(__pyx_t_1);
3251
3300
  __pyx_v__t = ((struct __pyx_obj_10manimpango_5fonts_10_font_desc__FontDescription *)__pyx_t_1);
3252
3301
  __pyx_t_1 = 0;
3253
3302
 
3254
- /* "manimpango/fonts/_font_desc.pyx":102
3303
+ /* "manimpango/fonts/_font_desc.pyx":105
3255
3304
  * def __copy__(self):
3256
3305
  * _t = _FontDescription()
3257
3306
  * pango_font_description_free(_t.pango_font_desc) # <<<<<<<<<<<<<<
@@ -3260,7 +3309,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_12
3260
3309
  */
3261
3310
  pango_font_description_free(__pyx_v__t->pango_font_desc);
3262
3311
 
3263
- /* "manimpango/fonts/_font_desc.pyx":103
3312
+ /* "manimpango/fonts/_font_desc.pyx":106
3264
3313
  * _t = _FontDescription()
3265
3314
  * pango_font_description_free(_t.pango_font_desc)
3266
3315
  * _t.pango_font_desc = \ # <<<<<<<<<<<<<<
@@ -3269,7 +3318,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_12
3269
3318
  */
3270
3319
  __pyx_v__t->pango_font_desc = pango_font_description_copy(__pyx_v_self->pango_font_desc);
3271
3320
 
3272
- /* "manimpango/fonts/_font_desc.pyx":105
3321
+ /* "manimpango/fonts/_font_desc.pyx":108
3273
3322
  * _t.pango_font_desc = \
3274
3323
  * pango_font_description_copy(self.pango_font_desc)
3275
3324
  * return _t # <<<<<<<<<<<<<<
@@ -3281,7 +3330,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_12
3281
3330
  __pyx_r = ((PyObject *)__pyx_v__t);
3282
3331
  goto __pyx_L0;
3283
3332
 
3284
- /* "manimpango/fonts/_font_desc.pyx":100
3333
+ /* "manimpango/fonts/_font_desc.pyx":103
3285
3334
  * self.pango_font_desc, other.pango_font_desc))
3286
3335
  *
3287
3336
  * def __copy__(self): # <<<<<<<<<<<<<<
@@ -3301,7 +3350,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_12
3301
3350
  return __pyx_r;
3302
3351
  }
3303
3352
 
3304
- /* "manimpango/fonts/_font_desc.pyx":107
3353
+ /* "manimpango/fonts/_font_desc.pyx":110
3305
3354
  * return _t
3306
3355
  *
3307
3356
  * def __deepcopy__(self, memo): # <<<<<<<<<<<<<<
@@ -3333,7 +3382,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_14
3333
3382
  int __pyx_clineno = 0;
3334
3383
  __Pyx_RefNannySetupContext("__deepcopy__", 0);
3335
3384
 
3336
- /* "manimpango/fonts/_font_desc.pyx":108
3385
+ /* "manimpango/fonts/_font_desc.pyx":111
3337
3386
  *
3338
3387
  * def __deepcopy__(self, memo):
3339
3388
  * return self.__copy__() # <<<<<<<<<<<<<<
@@ -3341,7 +3390,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_14
3341
3390
  * def __dealloc__(self):
3342
3391
  */
3343
3392
  __Pyx_XDECREF(__pyx_r);
3344
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_copy); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 108, __pyx_L1_error)
3393
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_copy); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 111, __pyx_L1_error)
3345
3394
  __Pyx_GOTREF(__pyx_t_2);
3346
3395
  __pyx_t_3 = NULL;
3347
3396
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
@@ -3355,14 +3404,14 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_14
3355
3404
  }
3356
3405
  __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2);
3357
3406
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
3358
- if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 108, __pyx_L1_error)
3407
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 111, __pyx_L1_error)
3359
3408
  __Pyx_GOTREF(__pyx_t_1);
3360
3409
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3361
3410
  __pyx_r = __pyx_t_1;
3362
3411
  __pyx_t_1 = 0;
3363
3412
  goto __pyx_L0;
3364
3413
 
3365
- /* "manimpango/fonts/_font_desc.pyx":107
3414
+ /* "manimpango/fonts/_font_desc.pyx":110
3366
3415
  * return _t
3367
3416
  *
3368
3417
  * def __deepcopy__(self, memo): # <<<<<<<<<<<<<<
@@ -3383,7 +3432,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_14
3383
3432
  return __pyx_r;
3384
3433
  }
3385
3434
 
3386
- /* "manimpango/fonts/_font_desc.pyx":110
3435
+ /* "manimpango/fonts/_font_desc.pyx":113
3387
3436
  * return self.__copy__()
3388
3437
  *
3389
3438
  * def __dealloc__(self): # <<<<<<<<<<<<<<
@@ -3405,14 +3454,14 @@ static void __pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_16__dea
3405
3454
  __Pyx_RefNannyDeclarations
3406
3455
  __Pyx_RefNannySetupContext("__dealloc__", 0);
3407
3456
 
3408
- /* "manimpango/fonts/_font_desc.pyx":111
3457
+ /* "manimpango/fonts/_font_desc.pyx":114
3409
3458
  *
3410
3459
  * def __dealloc__(self):
3411
3460
  * pango_font_description_free(self.pango_font_desc) # <<<<<<<<<<<<<<
3412
3461
  */
3413
3462
  pango_font_description_free(__pyx_v_self->pango_font_desc);
3414
3463
 
3415
- /* "manimpango/fonts/_font_desc.pyx":110
3464
+ /* "manimpango/fonts/_font_desc.pyx":113
3416
3465
  * return self.__copy__()
3417
3466
  *
3418
3467
  * def __dealloc__(self): # <<<<<<<<<<<<<<
@@ -3457,7 +3506,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_18
3457
3506
  * def __setstate_cython__(self, __pyx_state):
3458
3507
  * raise TypeError("no default __reduce__ due to non-trivial __cinit__")
3459
3508
  */
3460
- __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2, __pyx_L1_error)
3509
+ __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 2, __pyx_L1_error)
3461
3510
  __Pyx_GOTREF(__pyx_t_1);
3462
3511
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
3463
3512
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
@@ -3513,7 +3562,7 @@ static PyObject *__pyx_pf_10manimpango_5fonts_10_font_desc_16_FontDescription_20
3513
3562
  * def __setstate_cython__(self, __pyx_state):
3514
3563
  * raise TypeError("no default __reduce__ due to non-trivial __cinit__") # <<<<<<<<<<<<<<
3515
3564
  */
3516
- __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 4, __pyx_L1_error)
3565
+ __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_TypeError, __pyx_tuple__4, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 4, __pyx_L1_error)
3517
3566
  __Pyx_GOTREF(__pyx_t_1);
3518
3567
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
3519
3568
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
@@ -3800,6 +3849,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
3800
3849
  {&__pyx_n_s_MemoryError, __pyx_k_MemoryError, sizeof(__pyx_k_MemoryError), 0, 0, 1, 1},
3801
3850
  {&__pyx_n_s_Style, __pyx_k_Style, sizeof(__pyx_k_Style), 0, 0, 1, 1},
3802
3851
  {&__pyx_n_s_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 0, 0, 1, 1},
3852
+ {&__pyx_n_s_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 0, 0, 1, 1},
3803
3853
  {&__pyx_n_s_Variant, __pyx_k_Variant, sizeof(__pyx_k_Variant), 0, 0, 1, 1},
3804
3854
  {&__pyx_n_s_Weight, __pyx_k_Weight, sizeof(__pyx_k_Weight), 0, 0, 1, 1},
3805
3855
  {&__pyx_n_s_cline_in_traceback, __pyx_k_cline_in_traceback, sizeof(__pyx_k_cline_in_traceback), 0, 0, 1, 1},
@@ -3812,6 +3862,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
3812
3862
  {&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1},
3813
3863
  {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
3814
3864
  {&__pyx_kp_s_no_default___reduce___due_to_non, __pyx_k_no_default___reduce___due_to_non, sizeof(__pyx_k_no_default___reduce___due_to_non), 0, 0, 1, 0},
3865
+ {&__pyx_kp_u_pango_font_description_from_stri, __pyx_k_pango_font_description_from_stri, sizeof(__pyx_k_pango_font_description_from_stri), 0, 1, 0, 0},
3815
3866
  {&__pyx_kp_u_pango_font_description_new_retur, __pyx_k_pango_font_description_new_retur, sizeof(__pyx_k_pango_font_description_new_retur), 0, 1, 0, 0},
3816
3867
  {&__pyx_n_s_reduce, __pyx_k_reduce, sizeof(__pyx_k_reduce), 0, 0, 1, 1},
3817
3868
  {&__pyx_n_s_reduce_cython, __pyx_k_reduce_cython, sizeof(__pyx_k_reduce_cython), 0, 0, 1, 1},
@@ -3829,6 +3880,7 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
3829
3880
  };
3830
3881
  static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) {
3831
3882
  __pyx_builtin_MemoryError = __Pyx_GetBuiltinName(__pyx_n_s_MemoryError); if (!__pyx_builtin_MemoryError) __PYX_ERR(0, 8, __pyx_L1_error)
3883
+ __pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0, 86, __pyx_L1_error)
3832
3884
  __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) __PYX_ERR(1, 2, __pyx_L1_error)
3833
3885
  return 0;
3834
3886
  __pyx_L1_error:;
@@ -3850,24 +3902,35 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
3850
3902
  __Pyx_GOTREF(__pyx_tuple_);
3851
3903
  __Pyx_GIVEREF(__pyx_tuple_);
3852
3904
 
3905
+ /* "manimpango/fonts/_font_desc.pyx":86
3906
+ * pango_font_description_from_string(string.encode())
3907
+ * if _t.pango_font_desc is NULL:
3908
+ * raise ValueError("pango_font_description_from_string() returned NULL") # <<<<<<<<<<<<<<
3909
+ * return _t
3910
+ *
3911
+ */
3912
+ __pyx_tuple__2 = PyTuple_Pack(1, __pyx_kp_u_pango_font_description_from_stri); if (unlikely(!__pyx_tuple__2)) __PYX_ERR(0, 86, __pyx_L1_error)
3913
+ __Pyx_GOTREF(__pyx_tuple__2);
3914
+ __Pyx_GIVEREF(__pyx_tuple__2);
3915
+
3853
3916
  /* "(tree fragment)":2
3854
3917
  * def __reduce_cython__(self):
3855
3918
  * raise TypeError("no default __reduce__ due to non-trivial __cinit__") # <<<<<<<<<<<<<<
3856
3919
  * def __setstate_cython__(self, __pyx_state):
3857
3920
  * raise TypeError("no default __reduce__ due to non-trivial __cinit__")
3858
3921
  */
3859
- __pyx_tuple__2 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__2)) __PYX_ERR(1, 2, __pyx_L1_error)
3860
- __Pyx_GOTREF(__pyx_tuple__2);
3861
- __Pyx_GIVEREF(__pyx_tuple__2);
3922
+ __pyx_tuple__3 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__3)) __PYX_ERR(1, 2, __pyx_L1_error)
3923
+ __Pyx_GOTREF(__pyx_tuple__3);
3924
+ __Pyx_GIVEREF(__pyx_tuple__3);
3862
3925
 
3863
3926
  /* "(tree fragment)":4
3864
3927
  * raise TypeError("no default __reduce__ due to non-trivial __cinit__")
3865
3928
  * def __setstate_cython__(self, __pyx_state):
3866
3929
  * raise TypeError("no default __reduce__ due to non-trivial __cinit__") # <<<<<<<<<<<<<<
3867
3930
  */
3868
- __pyx_tuple__3 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__3)) __PYX_ERR(1, 4, __pyx_L1_error)
3869
- __Pyx_GOTREF(__pyx_tuple__3);
3870
- __Pyx_GIVEREF(__pyx_tuple__3);
3931
+ __pyx_tuple__4 = PyTuple_Pack(1, __pyx_kp_s_no_default___reduce___due_to_non); if (unlikely(!__pyx_tuple__4)) __PYX_ERR(1, 4, __pyx_L1_error)
3932
+ __Pyx_GOTREF(__pyx_tuple__4);
3933
+ __Pyx_GIVEREF(__pyx_tuple__4);
3871
3934
  __Pyx_RefNannyFinishContext();
3872
3935
  return 0;
3873
3936
  __pyx_L1_error:;
@@ -4201,7 +4264,7 @@ if (!__Pyx_RefNanny) {
4201
4264
  * @classmethod
4202
4265
  * def from_string(cls, string: str): # <<<<<<<<<<<<<<
4203
4266
  * _t = _FontDescription()
4204
- * _t.pango_font_desc = \
4267
+ * cdef PangoFontDescription* font_desc = NULL
4205
4268
  */
4206
4269
  __Pyx_GetNameInClass(__pyx_t_2, (PyObject *)__pyx_ptype_10manimpango_5fonts_10_font_desc__FontDescription, __pyx_n_s_from_string); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 80, __pyx_L1_error)
4207
4270
  __Pyx_GOTREF(__pyx_t_2);
Binary file
@@ -79,8 +79,11 @@ cdef class _FontDescription:
79
79
  @classmethod
80
80
  def from_string(cls, string: str):
81
81
  _t = _FontDescription()
82
+ cdef PangoFontDescription* font_desc = NULL
82
83
  _t.pango_font_desc = \
83
84
  pango_font_description_from_string(string.encode())
85
+ if _t.pango_font_desc is NULL:
86
+ raise ValueError("pango_font_description_from_string() returned NULL")
84
87
  return _t
85
88
 
86
89
  def __repr__(self):
manimpango/fonts/enums.c CHANGED
@@ -17,28 +17,28 @@
17
17
  "C:\\cibw\\vendor\\include\\pango-1.0\\pango\\pangocairo.h"
18
18
  ],
19
19
  "include_dirs": [
20
- "C:/cibw/vendor/include/pango-1.0",
20
+ "C:/cibw/vendor/include/cairo",
21
21
  "C:/cibw/vendor/include/pixman-1",
22
- "C:/cibw/vendor/include/harfbuzz",
23
- "C:/cibw/vendor/include/freetype2",
24
22
  "C:/cibw/vendor/include/glib-2.0",
25
- "C:/cibw/vendor/lib/glib-2.0/include",
26
- "C:/cibw/vendor/include/cairo",
23
+ "C:/cibw/vendor/include/harfbuzz",
24
+ "C:/cibw/vendor/include/pango-1.0",
25
+ "C:/cibw/vendor/include",
27
26
  "C:/cibw/vendor/include/fribidi",
28
- "C:/cibw/vendor/include"
27
+ "C:/cibw/vendor/include/freetype2",
28
+ "C:/cibw/vendor/lib/glib-2.0/include"
29
29
  ],
30
30
  "libraries": [
31
- "glib-2.0",
32
- "intl",
31
+ "Gdi32",
33
32
  "gobject-2.0",
34
- "cairo",
33
+ "glib-2.0",
34
+ "fontconfig",
35
35
  "harfbuzz",
36
+ "pangoft2-1.0",
36
37
  "pangocairo-1.0",
37
- "fontconfig",
38
+ "intl",
38
39
  "freetype",
39
40
  "pango-1.0",
40
- "Gdi32",
41
- "pangoft2-1.0"
41
+ "cairo"
42
42
  ],
43
43
  "library_dirs": [
44
44
  "C:/cibw/vendor/lib"