 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hi,
Is there a way to tell POVRay to italicize or otherwise modify (such as
bold, underline, strikethrough, etc.) text objects? I'm aware that some
fonts have separate italicized, bold and italicized-bold font files, but the
one I need to use doesn't.
Thanks,
Bill
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
You'll have to use a font with the capability you need, as there aren't text
properties to set from within the text statement.
Bob H.
"Bill Brehm" <bbr### [at] netzero net> wrote in message
news:3ac51040@news.povray.org...
> Hi,
>
> Is there a way to tell POVRay to italicize or otherwise modify (such as
> bold, underline, strikethrough, etc.) text objects? I'm aware that some
> fonts have separate italicized, bold and italicized-bold font files, but
the
> one I need to use doesn't.
>
> Thanks,
>
> Bill
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Fri, 30 Mar 2001 16:01:45 -0700, Bill Brehm wrote:
>Hi,
>
>Is there a way to tell POVRay to italicize or otherwise modify (such as
>bold, underline, strikethrough, etc.) text objects? I'm aware that some
>fonts have separate italicized, bold and italicized-bold font files, but the
>one I need to use doesn't.
You can skew the text with a matrix, I suppose, but it won't really be
italic, technically. For underline or strikethrough, you'll have to
create and position boxes appropriately. For bold, the only thing I
can offer is to create two copies of the string and offset them a bit
horizontally so the vertical strokes get thicker, but of course that
only works for fonts that already have fine horizontal strokes. Arial,
for example, will not look like Arial Bold if you thicken it horizontally.
--
Ron Parker http://www2.fwi.com/~parkerr/traces.html
My opinions. Mine. Not anyone else's.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Ron Parker wrote:
>
> You can skew the text with a matrix, I suppose, but it won't really be
> italic, technically. For underline or strikethrough, you'll have to
> create and position boxes appropriately. For bold, the only thing I
> can offer is to create two copies of the string and offset them a bit
> horizontally so the vertical strokes get thicker, but of course that
> only works for fonts that already have fine horizontal strokes. Arial,
> for example, will not look like Arial Bold if you thicken it horizontally.
>
For bold you could also use a proximity pattern isosurface, probably
extremely slow. Another possibility would be a heightfield where an
erosion filter was applied before.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
What about using a shear transform on the text object?
Bill Brehm <bbr### [at] netzero net> wrote in message
news:3ac51040@news.povray.org...
> Hi,
>
> Is there a way to tell POVRay to italicize or otherwise modify (such as
> bold, underline, strikethrough, etc.) text objects? I'm aware that some
> fonts have separate italicized, bold and italicized-bold font files, but
the
> one I need to use doesn't.
>
> Thanks,
>
> Bill
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
You could try to find a similar font that has
italics, bold and normal or get hold of a font
designer/editor program and create an italic
font from the one you have.
=Bob=
"Bill Brehm" <bbr### [at] netzero net> wrote in message news:3ac51040@news.povray.org...
: Hi,
:
: Is there a way to tell POVRay to italicize or otherwise modify (such as
: bold, underline, strikethrough, etc.) text objects? I'm aware that some
: fonts have separate italicized, bold and italicized-bold font files, but the
: one I need to use doesn't.
:
: Thanks,
:
: Bill
:
:
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Bill Brehm wrote:
>
> Hi,
>
> Is there a way to tell POVRay to italicize or otherwise modify (such as
> bold, underline, strikethrough, etc.) text objects? I'm aware that some
> fonts have separate italicized, bold and italicized-bold font files, but the
> one I need to use doesn't.
When all else fails use your favorite paint program to create 2d text
then use that as a height field object.
Another possible option would be Elefont - http://www.armanisoft.ch/
--
Ken Tyler
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|
 |