Skip to content

Commit

Permalink
Remove the RenderingFreeTypeOpenGL module.
Browse files Browse the repository at this point in the history
This is not supported by the new OpenGL2 backend, and doesn't support
new text features, like MathText, FontConfig, or custom font files.

It only implements vtkTextMapper, which now will use a texture-based
implementation, similar to vtkTextActor and friends.
  • Loading branch information
David C. Lonie committed Apr 9, 2015
1 parent 953d3b7 commit 4f7460a
Show file tree
Hide file tree
Showing 38 changed files with 11 additions and 1,481 deletions.
2 changes: 1 addition & 1 deletion Examples/GUI/Cocoa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ add_executable(SimpleCocoaVTK MACOSX_BUNDLE ${SimpleCocoaVTK_SRCS} ${SimpleCocoa

# Probably a better way to set the framework link libraries.
target_link_libraries(SimpleCocoaVTK "-framework Cocoa -framework OpenGL"
vtkRenderingOpenGL vtkRenderingFreeTypeOpenGL vtkInteractionStyle )
vtkRenderingOpenGL vtkInteractionStyle )

# Set a custom plist file for the app bundle
set_target_properties(SimpleCocoaVTK PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${SimpleCocoaVTK_SOURCE_DIR}/Info-CMake.plist)
Expand Down
2 changes: 1 addition & 1 deletion Examples/GUI/Cocoa/PrefixHeader.pch
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
// Required for proper object factory initialization.
// It happens automatically when building with CMake,
// but not when building with Xcode.
#define vtkRenderingCore_AUTOINIT 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)
#define vtkRenderingCore_AUTOINIT 4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingOpenGL)
#define vtkRenderingVolume_AUTOINIT 1(vtkRenderingVolumeOpenGL)
1 change: 0 additions & 1 deletion Examples/GUI/Qt/GraphicsView/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ find_package(VTK COMPONENTS
vtkGUISupportQt
vtkGUISupportQtOpenGL
vtkIOInfovis
vtkRenderingFreeTypeOpenGL
vtkViewsInfovis
)
include(${VTK_USE_FILE})
Expand Down
1 change: 0 additions & 1 deletion Examples/GUI/Qt/SimpleView/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ find_package(VTK COMPONENTS
vtkFiltersCore
vtkInfovisCore
vtkInteractionStyle
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkViewsQt
)
include(${VTK_USE_FILE})
Expand Down
2 changes: 1 addition & 1 deletion Examples/HyperTree/Cxx/Sphere/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ set(HyperTreeGridSphere_SRCS

# Add example showing use use of synthetic vtkHyperTreeGrid along with various filters
add_executable(HyperTreeGridSphere ${HyperTreeGridSphere_SRCS})
target_link_libraries(HyperTreeGridSphere vtkCommonCore vtkCommonSystem vtkCommonDataModel vtkCommonExecutionModel vtkIOCore vtkIOLegacy vtkFiltersCore vtkFiltersGeometry vtkFiltersHyperTree vtkInteractionStyle vtkRenderingCore vtkRenderingOpenGL vtkRenderingFreeTypeOpenGL)
target_link_libraries(HyperTreeGridSphere vtkCommonCore vtkCommonSystem vtkCommonDataModel vtkCommonExecutionModel vtkIOCore vtkIOLegacy vtkFiltersCore vtkFiltersGeometry vtkFiltersHyperTree vtkInteractionStyle vtkRenderingCore vtkRenderingOpenGL)
1 change: 0 additions & 1 deletion Filters/General/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ vtk_module(vtkFiltersGeneral
vtkImagingMath
vtkInteractionStyle
vtkRendering${VTK_RENDERING_BACKEND}
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkRenderingAnnotation
vtkRenderingLabel
vtkTestingRendering
Expand Down
1 change: 0 additions & 1 deletion Filters/Generic/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ vtk_module(vtkFiltersGeneric
vtkIOXML
vtkIOLegacy
vtkRendering${VTK_RENDERING_BACKEND}
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkFiltersModeling
vtkRenderingLabel
vtkTestingRendering
Expand Down
2 changes: 1 addition & 1 deletion Filters/HyperTree/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ vtk_module(vtkFiltersHyperTree
vtkRenderingAnnotation
vtkTestingRendering
vtkInteractionStyle
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkRendering${VTK_RENDERING_BACKEND}
KIT
vtkFilters
)
1 change: 0 additions & 1 deletion Filters/Selection/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ vtk_module(vtkFiltersSelection
vtkIOLegacy
vtkIOXML
vtkRendering${VTK_RENDERING_BACKEND}
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkRenderingAnnotation
vtkTestingRendering
vtkInteractionStyle
Expand Down
1 change: 0 additions & 1 deletion Filters/Sources/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ vtk_module(vtkFiltersSources
vtkTestingRendering
vtkInteractionStyle
vtkRendering${VTK_RENDERING_BACKEND}
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkFiltersModeling
vtkIOXML
KIT
Expand Down
1 change: 0 additions & 1 deletion Geovis/Core/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ vtk_module(vtkGeovisCore
vtkViewsInfovis
vtkRenderingCore
vtkRendering${VTK_RENDERING_BACKEND}
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkTestingRendering
vtkInteractionStyle
)
1 change: 0 additions & 1 deletion IO/Export/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ vtk_module(vtkIOExport
vtkTestingRendering
vtkInteractionStyle
vtkRenderingAnnotation
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkRenderingVolume${VTK_RENDERING_BACKEND}
vtkRenderingContext${VTK_RENDERING_BACKEND}
vtkViewsContext2D
Expand Down
1 change: 0 additions & 1 deletion Infovis/BoostGraphAlgorithms/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ vtk_module(vtkInfovisBoostGraphAlgorithms
vtkInteractionStyle
vtkIOInfovis
vtkViewsInfovis
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkChartsCore
vtkViewsContext2D
)
1 change: 0 additions & 1 deletion Interaction/Widgets/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ vtk_module(vtkInteractionWidgets
vtkIOLegacy
vtkIOXML
vtkRenderingVolume${VTK_RENDERING_BACKEND}
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkTestingRendering
vtkInteractionImage
vtkInteractionStyle
Expand Down
2 changes: 1 addition & 1 deletion Rendering/Annotation/module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ vtk_module(vtkRenderingAnnotation
vtkFiltersSources
TEST_DEPENDS
vtkIOGeometry
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkRendering${VTK_RENDERING_BACKEND}
vtkTestingRendering
vtkInteractionStyle
vtkRenderingLOD
Expand Down
7 changes: 0 additions & 7 deletions Rendering/Core/vtkTextMapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@
//
// .SECTION See Also
// vtkActor2D vtkTextActor vtkTextActor3D vtkTextProperty vtkTextRenderer
//
// .SECTION Note
// This class will be overridden by the older vtkOpenGLFreeTypeTextMapper when
// the vtkRenderingFreeTypeOpenGL library is linked into the executable. That
// class provides legacy support for regression testing, but lacks many of the
// newer features provided by this implementation (such as unicode and MathText
// strings). Do not link with that library if such features are needed.

#ifndef vtkTextMapper_h
#define vtkTextMapper_h
Expand Down
15 changes: 0 additions & 15 deletions Rendering/FreeTypeOpenGL/CMakeLists.txt

This file was deleted.

15 changes: 0 additions & 15 deletions Rendering/FreeTypeOpenGL/module.cmake

This file was deleted.

0 comments on commit 4f7460a

Please sign in to comment.