POV-Ray : Newsgroups : povray.binaries.images : Artifacts when rendering text (3.6release on WinNT) Server Time
18 Nov 2024 06:21:19 EST (-0500)
  Artifacts when rendering text (3.6release on WinNT) (Message 1 to 3 of 3)  
From: ElProfesor
Subject: Artifacts when rendering text (3.6release on WinNT)
Date: 16 Jun 2004 05:20:01
Message: <web.40d00f95d1fa449977e777080@news.povray.org>
Hi,


The attached ZIP file contains several files:
- A.pov = the POV-Ray source triggering the problem
- artifacts-ParmaPetit.png = result from A.pov
- artifacts-EngraversOldStyle.png = result with another font
- ParmaPetit-Italic.ttf = TTF file used to render the first pic

You can see the artifacts on the bottom-left part of the character: noise
below the baseline for one render, and jagged edges on the A's slope for
both.

The artifacts are much stronger with Engraver's Old Style Italic (from
Bitstream), but since it's a commercial font I can't attach it here. If you
have it you can give it a try.
The free font can be downloaded from
http://www.dafont.com/dl.php?os=win&fichier=parmapetit (gives a zip file
with several versions of the font -- no README so I took the liberty to put
a single file from the package in my ZIP archive)

Does the problem lies with the font files, or with POV-Ray? Both are
rendered ok by Windows' display engine.

Also, do I need to post an advisory on povray.bugreports, linking to the
present post?


That's all... If you need more info I'll be glad to help.

Thomas



Config:
POV-Ray 3.6 on Windows NT4
Rendered at 640x480 with no AA

Here is the POV source (also found in the ZIP file):
-----------------------------------------------------
#include "colors.inc"
#include "textures.inc"

background
{
 color White
}

text
{
 ttf "ParmaPetit-Italic.ttf"
 "A"
 .1, 0
 texture { pigment { color Red } }
 translate <-.3, -.8, 0>
 //rotate -30 * y
}

light_source
{
 <-10, 0, -10>
 color White
}

camera
{
 location <0, -.5, -.8>
 look_at <0, -.5, 0>
}
-----------------------------------------------------


Post a reply to this message


Attachments:
Download 'textartifacts.zip' (49 KB)

From: Al Zorglub
Subject: Re: Artifacts when rendering text (3.6release on WinNT)
Date: 16 Jun 2004 11:52:35
Message: <40d06cc3@news.povray.org>
ElProfesor wrote:
> Hi,
> 
> 
> The attached ZIP file contains several files:
> - A.pov = the POV-Ray source triggering the problem
> - artifacts-ParmaPetit.png = result from A.pov
> - artifacts-EngraversOldStyle.png = result with another font
> - ParmaPetit-Italic.ttf = TTF file used to render the first pic
> 
> You can see the artifacts on the bottom-left part of the character: noise
> below the baseline for one render, and jagged edges on the A's slope for
> both.
> 
> The artifacts are much stronger with Engraver's Old Style Italic (from
> Bitstream), but since it's a commercial font I can't attach it here. If you
> have it you can give it a try.
> The free font can be downloaded from
> http://www.dafont.com/dl.php?os=win&fichier=parmapetit (gives a zip file
> with several versions of the font -- no README so I took the liberty to put
> a single file from the package in my ZIP archive)
> 
> Does the problem lies with the font files, or with POV-Ray? Both are
> rendered ok by Windows' display engine.
> 
Hi !

The problem is the font and POV-Ray
  ;)
An example with the font corrected (only the A):


Post a reply to this message


Attachments:
Download 'a.png' (5 KB)

Preview of image 'a.png'
a.png


 

From: ElProfesor
Subject: Re: Artifacts when rendering text (3.6release on WinNT)
Date: 21 Jun 2004 11:52:01
Message: <web.40d1f2fbe4824395265dc100@news.povray.org>
Hi,


Thanks for the answer!
If I get it correctly, you mean that:
- the font is somehow invalid (eg. does not conform to some specs)
- AND that POV-Ray should handle it anyway?

Is that right? Sounds strange...

For the sake of curiosity, how did you manage to get the corrected picture?
Brought modifications to the font file?

Not a big bug anyway. It was not so easy to find a free 'corrupted' (?)
font. I wondered if it was triggered by the strong italics angle -- may be
a totally wrong explanation though.


Thomas


> Hi !
>
> The problem is the font and POV-Ray
>   ;)
> An example with the font corrected (only the A):


Post a reply to this message

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