[vtkusers] vtkContextView: No text renderer available

vtkBeginner j.mlr at gmx.de
Fri Aug 4 15:29:16 EDT 2017


Hi,
I am trying to get the example
http://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/Charts/Cxx/QScalarsToColors.cxx
running on my mac book (with retina display), osx 10.11.6,
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
VTK 8.0.1, backend openGL
Qt 5.6.2

Build after adding
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkRenderingOpenGL)
VTK_MODULE_INIT(vtkRenderingContextOpenGL)

The program runs, but the chart title and numbers at the axes are missing. 
It continuously complains
ERROR: In
/VTK/VTK-8.0.0/Rendering/ContextOpenGL/vtkOpenGLContextDevice2D.cxx, line
1470
vtkOpenGL2ContextDevice2D (0x7fb6d9c8a320): No text renderer available. Link
to vtkRenderingFreeType to get the default implementation.

Additional, minor problem: the rubber band (right mouse button / ctrl+left
button) seems to be displaced by half of the window size - probably the
pixel density of the retina display is not recognized.

Any help how this can be fixed is appreciated - thanks !
Jorg



--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkContextView-No-text-renderer-available-tp5744294.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list