POV-Ray : Newsgroups : povray.general : Text object : Re: Text object Server Time
11 Aug 2024 17:12:56 EDT (-0400)
  Re: Text object  
From: Chris Colefax
Date: 15 Jun 1999 21:08:50
Message: <3766FD44.5A63E7DB@ledanet.com.au>
Mike Metheny wrote:
> 
> How can I make my text object italic?  Can I?
> 
> (Using same font)

You have two options - use a matrix to shear the text, or use the
correct, italicized form of the font you want.  Many fonts (particularly
those commonly used for body text, rather than decorative headings) come
in various flavours (bold, italic, light, etc.).  For True Type fonts,
each flavour is stored in a separate font file, eg. a look (under DOS)
at the Windows font directory will reveal Times.ttf, TimesBD.ttf (bold),
TimesI.ttf (italic), and TimesBI.ttf (bold-italic), all of which
together form the Times New Roman font.

If you look at the Font directory under Windows Explorer (using
View->Details) you will be able to see whether the font you want to use
has an italicized form, and which filename to use under POV-Ray.  If
not, you will have to do as most Windows programs do under the same
circumstances and shear the font yourself.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.