How to get TrueType support working?
Phil Shipman <[email protected]> Thu, 23 May 2013 23:24:38 -0400
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <CAHi1n1LAhO7k10dPqt8ORdA17mmWp_PKGVo4Tj2TWhttgPsRsw@mail.gmail.com> |
--===============1515821742== Content-Type: multipart/alternative; boundary=0023543329e6c5eec004dd6e56e9 --0023543329e6c5eec004dd6e56e9 Content-Type: text/plain; charset=ISO-8859-1 I need TrueType support for a program that uses PIL. I installed Python fresh to my new laptop, then PIL, but it said no support for TrueType. I did a clean, then modified setup.py and pointed it at /usr/lib/girepository-1.0/freetype2-2.0.typelib, but got a syntax error when I ran the script again. So I compiled freetype2 from source, hoping it would be installed into a directory that setup.py would find. Did a clean, then ran setup.py, "no support" for truetype. What's next? Running Ubuntu 12.04 --0023543329e6c5eec004dd6e56e9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div>I need TrueType support for a program that = uses PIL. I installed Python fresh to my new laptop, then PIL, but it said = no support for TrueType.<br><br>I did a clean, then modified setup.py and p= ointed it at /usr/lib/girepository-1.0/freetype2-2.0.typelib, but got a syn= tax error when I ran the script again.<br> <br></div>So I compiled freetype2 from source, hoping it would be installed= into a directory that setup.py would find.<br><br>Did a clean, then ran se= tup.py, "no support" for truetype.<br><br></div>What's next?<= br> <br></div>Running Ubuntu 12.04<br></div> --0023543329e6c5eec004dd6e56e9-- --===============1515821742== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig --===============1515821742==--