Panda3D
Loading...
Searching...
No Matches
config_text.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file config_text.h
10 * @author drose
11 * @date 2000-03-02
12 */
13
14#ifndef CONFIG_TEXT_H
15#define CONFIG_TEXT_H
16
17#include "pandabase.h"
18#include "notifyCategoryProxy.h"
19#include "texture.h"
20#include "configVariableBool.h"
21#include "configVariableInt.h"
24#include "configVariableEnum.h"
25#include "textFont.h"
26
27class DSearchPath;
28
29NotifyCategoryDecl(text, EXPCL_PANDA_TEXT, EXPTP_PANDA_TEXT);
30
31extern ConfigVariableBool text_flatten;
32extern ConfigVariableBool text_dynamic_merge;
33extern ConfigVariableBool text_kerning;
34extern ConfigVariableBool text_use_harfbuzz;
35extern ConfigVariableInt text_anisotropic_degree;
36extern ConfigVariableInt text_texture_margin;
37extern ConfigVariableDouble text_poly_margin;
38extern ConfigVariableInt text_page_size;
39extern ConfigVariableBool text_small_caps;
40extern EXPCL_PANDA_TEXT ConfigVariableDouble text_small_caps_scale;
41extern ConfigVariableFilename text_default_font;
42extern EXPCL_PANDA_TEXT ConfigVariableDouble text_tab_width;
43extern EXPCL_PANDA_TEXT ConfigVariableInt text_push_properties_key;
44extern EXPCL_PANDA_TEXT ConfigVariableInt text_pop_properties_key;
45extern ConfigVariableInt text_soft_hyphen_key;
46extern ConfigVariableInt text_soft_break_key;
47extern ConfigVariableInt text_embed_graphic_key;
48extern std::wstring get_text_soft_hyphen_output();
49extern ConfigVariableDouble text_hyphen_ratio;
50extern std::wstring get_text_never_break_before();
51extern ConfigVariableInt text_max_never_break;
52extern EXPCL_PANDA_TEXT ConfigVariableDouble text_default_underscore_height;
53
57extern ConfigVariableEnum<Texture::QualityLevel> text_quality_level;
58extern ConfigVariableEnum<TextFont::RenderMode> text_render_mode;
59
60extern EXPCL_PANDA_TEXT void init_libtext();
61
62#endif
This is a convenience class to specialize ConfigVariable as a boolean type.
This is a convenience class to specialize ConfigVariable as a floating- point type.
This class specializes ConfigVariable as an enumerated type.
This is a convenience class to specialize ConfigVariable as a Filename type.
This is a convenience class to specialize ConfigVariable as an integer type.
This class stores a list of directories that can be searched, in order, to locate a particular file.
Definition dSearchPath.h:28
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
EXPCL_PANDA_TEXT void init_libtext()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.