Problem with draw.text
Edwin Noyce <[email protected]> Thu, 9 May 2013 12:16:50 -0500
| Newsgroups | gmane.comp.python.image |
|---|---|
| Message-ID | <CACk5bDJgV=s0t1ZULUN7frXPbhvEH0x+gFGTLtoE-Da3Lwfo7w@mail.gmail.com> |
--===============2086581105== Content-Type: multipart/alternative; boundary=047d7bfcf9c455aa3604dc4c37f7 --047d7bfcf9c455aa3604dc4c37f7 Content-Type: text/plain; charset=ISO-8859-1 My program reads a std text file, (.txt) separates the words using nltk then sends them to a PNG file using draw.text. my problem is that quotation marks and apostrophies do not print correctly but print a strange glyph instead. When I go through the file and replace these chharacters with the apostrophy from the keyboard everything works correctly. Is there a font that I can use which will include these characters? --047d7bfcf9c455aa3604dc4c37f7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">My program reads a std text file,=A0 (.txt) separates the wo= rds using nltk then sends them to a PNG file using draw.text.=A0 my problem= is that quotation marks and apostrophies do not print correctly but print = a strange glyph instead.=A0 When I go through the file and replace these ch= haracters with the apostrophy from the keyboard everything works correctly.= =A0 Is there a font that I can use which will include these characters? <br= > </p> --047d7bfcf9c455aa3604dc4c37f7-- --===============2086581105== 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 --===============2086581105==--