TextRenderer_fonts.h 854 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2014 Wenzel Jacob <wenzel@inf.ethz.ch>
  4. //
  5. // This Source Code Form is subject to the terms of the Mozilla Public License
  6. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  7. // obtain one at http://mozilla.org/MPL/2.0/.
  8. #ifndef IGL_TEXT_RENDERER_FONTS_H
  9. #define IGL_TEXT_RENDERER_FONTS_H
  10. #include <stdint.h>
  11. #ifndef IGL_STATIC_LIBRARY
  12. namespace
  13. {
  14. #endif
  15. extern uint8_t igl_entypo_ttf[];
  16. extern uint32_t igl_entypo_ttf_size;
  17. extern uint8_t igl_roboto_bold_ttf[];
  18. extern uint32_t igl_roboto_bold_ttf_size;
  19. extern uint8_t igl_roboto_regular_ttf[];
  20. extern uint32_t igl_roboto_regular_ttf_size;
  21. #ifndef IGL_STATIC_LIBRARY
  22. }
  23. #endif
  24. #ifndef IGL_STATIC_LIBRARY
  25. namespace
  26. {
  27. #include "TextRenderer_fonts.cpp"
  28. }
  29. #endif
  30. #endif