• David C. Lonie's avatar
    Add support for loading system installed fonts in vtkFreeTypeTools. · 94cd8778
    David C. Lonie authored
    This patch:
    * Adds FindFontConfig.cmake
    * Adds a simple HashString method, used to turn a font name into a
      16 bit hash. This is used to map text properties to a long int id
      for the freetype face cache.
    * Adds zlib support to the included freetype library
    * Try to load font faces using FontConfig, but falls back to the
      compiled fonts if FontConfig fails.
    * Disable fontconfig lookup by default to preserve old behavior.
    
    Change-Id: Ia245a3ea84ab5cab486e6ab4c42fd9da874ad1bd
    94cd8778
FindFontConfig.cmake 1.38 KB