[vtk-developers] [VTK 0013476]: The right part of the Y letter is drawn on the left side (-> letter wrap).

Mantis Bug Tracker mantis at public.kitware.com
Thu Sep 27 11:23:45 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=13476 
====================================================================== 
Reported By:                baraujo
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13476
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-09-27 11:23 EDT
Last Modified:              2012-09-27 11:23 EDT
====================================================================== 
Summary:                    The right part of the Y letter is drawn on the left
side (-> letter wrap).
Description: 
Version 5.10.

Because the text is in Italic, vtkTextActor fails to pick the correct font size
for a given area to draw in. 
It wrongly picks a width too narrow, so when it renders the letter as a texture
within a (too narrow) area, the texture wraps.
You might want to investigate within vtkTextActor (especially
vtkTextActor::ComputeScaledFont) and aggregated classes.

For information, vtkAxesActor uses vtkCaptionActor2D that internally uses a
vtkTextActor with a CaptionTextProperty text property that is
bold,italic,arial,with shadows.  


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-09-27 11:23 baraujo        New Issue                                    
2012-09-27 11:23 baraujo        File Added: image.png                        
======================================================================




More information about the vtk-developers mailing list