From: Kadir H. <kha...@ya...> - 2010-03-13 16:27:21
|
I think I have downloaded it from the following link: http://pypi.python.org/pypi/TTFQuery/1.0.2 ( I have three different TTF Query installed, this one should be the one working) It has sources as well, Ibelieve they should compile with Python 2.6. I am using Python 2.5. Kadir ________________________________ From: Bruce Sherwood <Bru...@nc...> To: Visual Python <vis...@li...> Sent: Sat, March 13, 2010 6:16:34 PM Subject: Re: [Visualpython-users] Complete ASCII character set This sounds promising. When VPython was very new, as a kind of stop-gap I wrote the visual.text module for 3D text, but as you know it's very limited and should be replaced by something along the lines of what you're working on. At http://sourceforge.net/projects/ttfquery/files/ the .exe package for Windows requires Python 2.5, but I'm running 2.6, and it wasn't clear to me what files I should download to be able to build from source. Can you tell us? Thanks. Bruce Sherwood Kadir Haldenbilen wrote: > >I have been working on this for a while also. There are some >solutions here and there but needs to be put together. > >>If you install the package ttfquery, then you can easily get font >outline (contour) data for any font installed on your system, and use >it for any (or let's ay most of the) character. > >>I am trying to get 3D Text working for Vpython, for any font as above. >For that, to be able to fill in the contours, we need a good >triangulation method working in python. Again there are many, but I >could not get any single one working. The so called best one comes from >the OpenGLContext, but I could not get it going. I use "Triangle", >aside, and its output is OK (after writing input-output interface >programs), but then I could not "link" it to Vpython since it is an >exe. I could not get the output array directly into my script without >doing write/read to/from file. > >>Once inside the contours is painted, then 3D is easy. > >>Attached is a simple sample for drawing the contours with ttfquery. > >>Kadir > > > > ________________________________ From: >Symion <kn...@ip...> >To: Visual Python ><vis...@li...> >Sent: Sat, March 13, >2010 4:48:56 PM >Subject: >[Visualpython-users] Complete ASCII character set > >> >Here is a short program that has the Complete ASCII character set (32 >to 126) >>I have implemented it with a single Points object. > >>Multi-colored >>Variable size >>Roughly based on Fixedsys font. > >>Source Code: ASCII.py > > > > ________________________________ >------------------------------------------------------------------------------ >Download Intel® Parallel Studio Eval >Try the new software tools for yourself. Speed compiling, find bugs >proactively, and fine-tune applications for parallel performance. >See why Intel Parallel Studio got high marks during beta. >http://p.sf.net/sfu/intel-sw-dev > ________________________________ >_______________________________________________ >Visualpython-users mailing list >Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users |