freetype-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Freetype for Python. AttributeError: module 'freetype' has no attribute
From
:
philliprusso
Subject
:
Freetype for Python. AttributeError: module 'freetype' has no attribute 'Face'
Date
:
Fri, 15 Dec 2023 01:58:25 +0000
I have bindings for freetype 2.4.0 for Python. I dont understand why that:
AttributeError: module 'freetype' has no attribute 'Face'
is coming from:
import
freetype
face
=
freetype
.
Face
(
"Vera.ttf"
)
face
.
set_char_size
(
48
*
64
)
face
.
load_char
(
'S'
)
bitmap
=
face
.
glyph
.bitmap
print
(
bitmap
.buffer)
Is there something wrong with the freetype.Face usage here?
Sent with
Proton Mail
secure email.
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Freetype for Python. AttributeError: module 'freetype' has no attribute 'Face'
,
philliprusso
<=
Re: Freetype for Python. AttributeError: module 'freetype' has no attribute 'Face'
,
Alexei Podtelezhnikov
,
2023/12/14
Re: Freetype for Python. AttributeError: module 'freetype' has no attribute 'Face'
,
Hin-Tak Leung
,
2023/12/15
Re: Freetype for Python. AttributeError: module 'freetype' has no attribute 'Face'
,
Alexei Podtelezhnikov
,
2023/12/15
Prev by Date:
Skia-python 120 b5 is out (or soon out, in a few hours)
Next by Date:
Re: Freetype for Python. AttributeError: module 'freetype' has no attribute 'Face'
Previous by thread:
Skia-python 120 b5 is out (or soon out, in a few hours)
Next by thread:
Re: Freetype for Python. AttributeError: module 'freetype' has no attribute 'Face'
Index(es):
Date
Thread