I am currently working on my image-processing-cum-3D modelling summer project.
I am using python2.7 as my programming language and ubuntu 10.10 as my OS.
I had to display small pop-up type images,depending on the current situation in the program.
So I came up with a plan to display the make the images using the Image ,ImageDraw libraries in Python.
Using these images I could create OpenGL textures,which can then be used to display the pop-up image at any place on the screen ,in any orientation I wanted.
On my way through it I found about the fonts directory and how microsoft office fonts can be used in
writing the text in the images.
The fonts are stored in a specific location : /usr/share/fonts/truetype
You can find many fonts already in there in different directories,but to get the complete bunch you have to download-install the msttcorefonts.
This can be done by:
sudo apt-get install msttcorefonts
After this a directory would be created containing the microsoft true-type fonts.
/usr/share/fonts/truetype/msttcorefonts
I am using python2.7 as my programming language and ubuntu 10.10 as my OS.
I had to display small pop-up type images,depending on the current situation in the program.
So I came up with a plan to display the make the images using the Image ,ImageDraw libraries in Python.
Using these images I could create OpenGL textures,which can then be used to display the pop-up image at any place on the screen ,in any orientation I wanted.
On my way through it I found about the fonts directory and how microsoft office fonts can be used in
writing the text in the images.
The fonts are stored in a specific location : /usr/share/fonts/truetype
You can find many fonts already in there in different directories,but to get the complete bunch you have to download-install the msttcorefonts.
This can be done by:
sudo apt-get install msttcorefonts
After this a directory would be created containing the microsoft true-type fonts.
/usr/share/fonts/truetype/msttcorefonts
No comments:
Post a Comment