[cairo-commit] [cairo-www] src/freetypepython.mdwn
Carl Worth
cworth at freedesktop.org
Wed Oct 24 11:50:14 PDT 2007
src/freetypepython.mdwn | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 7eca155a93bdf01d413db71b4c16aa31868def94
Author: Carl Worth <cworth at annarchy.freedesktop.org>
Date: Wed Oct 24 11:50:14 2007 -0700
web commit by BehdadEsfahbod: fix grammar
diff --git a/src/freetypepython.mdwn b/src/freetypepython.mdwn
index 71e4425..100af26 100644
--- a/src/freetypepython.mdwn
+++ b/src/freetypepython.mdwn
@@ -1,10 +1,10 @@
[[meta title="Loading fonts using FreeType for cairo use in Python"]]
Back to [[cookbook]]
-The following snippet uses Python's ctypes module to load a font file using FreeType,
-and creating a cairo font face using the cairo-ft API that is not part of pycairo yet.
-The resulting cairo font face however is used normally with pycairo.
-
+The following snippet uses Python's ctypes module to load a font file using FreeType
+and create a cairo font face from it, using the cairo-ft API that is not part of pycairo yet.
+The resulting cairo font face however can be used normally with pycairo.
+
import ctypes
import cairo
More information about the cairo-commit
mailing list