projects
/
platform
/
upstream
/
harfbuzz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.8.1
[platform/upstream/harfbuzz.git]
/
README.python.md
diff --git
a/README.python
b/README.python.md
similarity index 83%
rename from
README.python
rename to
README.python.md
index
cd31264
..
4c0ba9b
100644
(file)
--- a/
README.python
+++ b/
README.python.md
@@
-2,11
+2,15
@@
To enable HarfBuzz bindings for Python among other languages, make sure
you have latest version of gobject-introspection available. On Ubuntu,
you can install that this way:
you have latest version of gobject-introspection available. On Ubuntu,
you can install that this way:
- sudo apt-get install libgirepository1.0-dev
+```bash
+sudo apt-get install libgirepository1.0-dev
+```
And then run autogen.sh (if building from git), and then:
And then run autogen.sh (if building from git), and then:
- ./configure --with-gobject --enable-introspection
+```bash
+./configure --with-gobject --enable-introspection
+```
Make sure that gobject-introspection is enabled then in the final report.
Make sure that gobject-introspection is enabled then in the final report.
@@
-21,7
+25,9
@@
$prefix/lib/girepository-* directory.
Make sure you have pygobject installed. Then check that the following
import works in your Python interpretter:
Make sure you have pygobject installed. Then check that the following
import works in your Python interpretter:
- from gi.repository import HarfBuzz
+```python
+from gi.repository import HarfBuzz
+```
If it does, you are ready to call HarfBuzz from Python! Congratulations.
See src/sample.py.
If it does, you are ready to call HarfBuzz from Python! Congratulations.
See src/sample.py.