00001 // Filename: config_text.h 00002 // Created by: drose (02Mar00) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved 00008 // 00009 // All use of this software is subject to the terms of the Panda 3d 00010 // Software license. You should have received a copy of this license 00011 // along with this source code; you will also find a current copy of 00012 // the license at http://www.panda3d.org/license.txt . 00013 // 00014 // To contact the maintainers of this program write to 00015 // panda3d@yahoogroups.com . 00016 // 00017 //////////////////////////////////////////////////////////////////// 00018 00019 #ifndef CONFIG_TEXT_H 00020 #define CONFIG_TEXT_H 00021 00022 #include "pandabase.h" 00023 #include "notifyCategoryProxy.h" 00024 #include "texture.h" 00025 00026 class DSearchPath; 00027 00028 NotifyCategoryDecl(text, EXPCL_PANDA, EXPTP_PANDA); 00029 00030 extern const bool text_flatten; 00031 extern const bool text_update_cleared_glyphs; 00032 extern const int text_anisotropic_degree; 00033 extern const int text_texture_margin; 00034 extern const float text_poly_margin; 00035 extern const int text_page_x_size; 00036 extern const int text_page_y_size; 00037 extern const float text_point_size; 00038 extern const float text_pixels_per_unit; 00039 extern const float text_scale_factor; 00040 extern const bool text_small_caps; 00041 extern const float text_small_caps_scale; 00042 extern const string text_default_font; 00043 00044 extern Texture::FilterType text_minfilter; 00045 extern Texture::FilterType text_magfilter; 00046 00047 extern EXPCL_PANDA void init_libtext(); 00048 00049 #endif