[vtkusers] Using fontconfig with vtkTextMapper/vtkTextProperty?

efahl eric.fahlgren at smith-nephew.com
Fri Oct 21 15:49:30 EDT 2016


On Thu, Oct 20, 2016 at 12:29 PM, David Lonie <david.lonie@>
wrote:
> Also I should point out the vtkWindow::DetectDPI() method, which detects
> and sets the DPI automatically. It's only available on Windows atm (IIRC),
> but the return boolean will indicate if it worked or not.

I didn't know about this one, so I tried it out and it works great onWin7-64
with VTK 7.0.  Now the VTK fonts render exactly the same size as the WX
fonts in the application.

Thanks,
Eric



--
View this message in context: http://vtk.1045678.n5.nabble.com/Using-fontconfig-with-vtkTextMapper-vtkTextProperty-tp5740858p5740896.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list