39 FT_Face acquire_face(
int char_size,
int dpi,
int pixel_width,
int pixel_height);
40 void release_face(FT_Face face);
42 void set_face(FT_Face face);
45 static void initialize_ft_library();
49 std::string _font_data;
59 static FT_Library _ft_library;
60 static bool _ft_initialized;
64 static TypeHandle get_class_type() {
67 static void init_type() {
68 TypedReferenceCount::init_type();
70 TypedReferenceCount::get_class_type());
72 virtual TypeHandle get_type()
const {
73 return get_class_type();
75 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
78 static TypeHandle _type_handle;
80 friend class FreetypeFont;
A base class for all things which can have a name.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.