Sign in
flutter
/
third_party
/
harfbuzz
/
a7a5be090dd9cc39605853e8994eb417550939d4
/
.
/
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
()