I don't know how OpenOffice creates the other variants. Some programs (Firefox, for example) use double-striking to embolden a font, and skewing to create a false italic. The screenshot you show could be a skewed italic, but the bold is clearly not just double-struck. I would be interested to hear of other peoples' solutions to these problems. I've used skewing for italics, and it works well if you work over-sized and subsample down to get good antialiasing.

--Ned.

Stani Michiels wrote:
Is it possible with PIL to use the bold and italics of a ttf font if
there are no bold or italics fontfile present on the system. My application Phatch let the user choose from all installed font files
from a drop down list. For example the font Purisa does not have ttf
files for bold or italics but openoffice manages to create these fonts
somehow?
http://launchpadlibrarian.net/14091782/Screenshot-1.png

Is there a solution for pil to modify ttf fonts to bold or italics? Or
is this impossible?

Stani

http://photobatch.stani.be

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig



--
Ned Batchelder, http://nedbatchelder.com

_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to