Sign in
flutter
/
third_party
/
harfbuzz
/
878a25375b2fdf64cf0cc30c23fca9fcd58548e8
/
.
/
src
/
sample.py
blob: 317a47e0f4d90fc3694215cc9836ef2edf68979b [
file
] [
log
] [
blame
]
#!/usr/bin/python
import
sys
from
gi
.
repository
import
HarfBuzz
as
hb
def
nothing
():
pass
fontdata
=
file
(
sys
.
argv
[
1
]).
read
()
blob
=
hb
.
blob_create
(
fontdata
,
hb
.
memory_mode_t
.
WRITABLE
,
None
,
nothing
)
print
blob
buffer
=
hb
.
buffer_create
()