FontFile
Inherits: Font < Resource < RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
BitField<FontStyle> |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
void |
clear_cache ( ) |
void |
clear_glyphs ( int cache_index, Vector2i size ) |
void |
clear_kerning_map ( int cache_index, int size ) |
void |
clear_size_cache ( int cache_index ) |
void |
clear_textures ( int cache_index, Vector2i size ) |
get_cache_ascent ( int cache_index, int size ) const |
|
get_cache_count ( ) const |
|
get_cache_descent ( int cache_index, int size ) const |
|
get_cache_scale ( int cache_index, int size ) const |
|
get_cache_underline_position ( int cache_index, int size ) const |
|
get_cache_underline_thickness ( int cache_index, int size ) const |
|
get_char_from_glyph_index ( int size, int glyph_index ) const |
|
get_embolden ( int cache_index ) const |
|
get_extra_baseline_offset ( int cache_index ) const |
|
get_extra_spacing ( int cache_index, SpacingType spacing ) const |
|
get_face_index ( int cache_index ) const |
|
get_glyph_advance ( int cache_index, int size, int glyph ) const |
|
get_glyph_index ( int size, int char, int variation_selector ) const |
|
get_glyph_list ( int cache_index, Vector2i size ) const |
|
get_glyph_offset ( int cache_index, Vector2i size, int glyph ) const |
|
get_glyph_size ( int cache_index, Vector2i size, int glyph ) const |
|
get_glyph_texture_idx ( int cache_index, Vector2i size, int glyph ) const |
|
get_glyph_uv_rect ( int cache_index, Vector2i size, int glyph ) const |
|
get_kerning ( int cache_index, int size, Vector2i glyph_pair ) const |
|
get_kerning_list ( int cache_index, int size ) const |
|
get_language_support_override ( String language ) const |
|
get_language_support_overrides ( ) const |
|
get_script_support_override ( String script ) const |
|
get_script_support_overrides ( ) const |
|
get_size_cache_list ( int cache_index ) const |
|
get_texture_count ( int cache_index, Vector2i size ) const |
|
get_texture_image ( int cache_index, Vector2i size, int texture_index ) const |
|
get_texture_offsets ( int cache_index, Vector2i size, int texture_index ) const |
|
get_transform ( int cache_index ) const |
|
get_variation_coordinates ( int cache_index ) const |
|
load_bitmap_font ( String path ) |
|
load_dynamic_font ( String path ) |
|
void |
remove_cache ( int cache_index ) |
void |
remove_glyph ( int cache_index, Vector2i size, int glyph ) |
void |
remove_kerning ( int cache_index, int size, Vector2i glyph_pair ) |
void |
remove_language_support_override ( String language ) |
void |
remove_script_support_override ( String script ) |
void |
remove_size_cache ( int cache_index, Vector2i size ) |
void |
remove_texture ( int cache_index, Vector2i size, int texture_index ) |
void |
render_glyph ( int cache_index, Vector2i size, int index ) |
void |
render_range ( int cache_index, Vector2i size, int start, int end ) |
void |
set_cache_ascent ( int cache_index, int size, float ascent ) |
void |
set_cache_descent ( int cache_index, int size, float descent ) |
void |
set_cache_scale ( int cache_index, int size, float scale ) |
void |
set_cache_underline_position ( int cache_index, int size, float underline_position ) |
void |
set_cache_underline_thickness ( int cache_index, int size, float underline_thickness ) |
void |
set_embolden ( int cache_index, float strength ) |
void |
set_extra_baseline_offset ( int cache_index, float baseline_offset ) |
void |
set_extra_spacing ( int cache_index, SpacingType spacing, int value ) |
void |
set_face_index ( int cache_index, int face_index ) |
void |
set_glyph_advance ( int cache_index, int size, int glyph, Vector2 advance ) |
void |
set_glyph_offset ( int cache_index, Vector2i size, int glyph, Vector2 offset ) |
void |
set_glyph_size ( int cache_index, Vector2i size, int glyph, Vector2 gl_size ) |
void |
set_glyph_texture_idx ( int cache_index, Vector2i size, int glyph, int texture_idx ) |
void |
set_glyph_uv_rect ( int cache_index, Vector2i size, int glyph, Rect2 uv_rect ) |
void |
set_kerning ( int cache_index, int size, Vector2i glyph_pair, Vector2 kerning ) |
void |
set_language_support_override ( String language, bool supported ) |
void |
set_script_support_override ( String script, bool supported ) |
void |
set_texture_image ( int cache_index, Vector2i size, int texture_index, Image image ) |
void |
set_texture_offsets ( int cache_index, Vector2i size, int texture_index, PackedInt32Array offset ) |
void |
set_transform ( int cache_index, Transform2D transform ) |
void |
set_variation_coordinates ( int cache_index, Dictionary variation_coordinates ) |
Property Descriptions
bool allow_system_fallback = true
There is currently no description for this property. Please help us by contributing one!
FontAntialiasing antialiasing = 1
void set_antialiasing ( FontAntialiasing value )
FontAntialiasing get_antialiasing ( )
There is currently no description for this property. Please help us by contributing one!
PackedByteArray data = PackedByteArray()
void set_data ( PackedByteArray value )
PackedByteArray get_data ( )
There is currently no description for this property. Please help us by contributing one!
bool disable_embedded_bitmaps = true
There is currently no description for this property. Please help us by contributing one!
int fixed_size = 0
There is currently no description for this property. Please help us by contributing one!
FixedSizeScaleMode fixed_size_scale_mode = 0
void set_fixed_size_scale_mode ( FixedSizeScaleMode value )
FixedSizeScaleMode get_fixed_size_scale_mode ( )
There is currently no description for this property. Please help us by contributing one!
String font_name = ""
There is currently no description for this property. Please help us by contributing one!
int font_stretch = 100
There is currently no description for this property. Please help us by contributing one!
BitField<FontStyle> font_style = 0
There is currently no description for this property. Please help us by contributing one!
int font_weight = 400
There is currently no description for this property. Please help us by contributing one!
bool force_autohinter = false
There is currently no description for this property. Please help us by contributing one!
bool generate_mipmaps = false
There is currently no description for this property. Please help us by contributing one!
Hinting hinting = 1
There is currently no description for this property. Please help us by contributing one!
int msdf_pixel_range = 16
There is currently no description for this property. Please help us by contributing one!
int msdf_size = 48
There is currently no description for this property. Please help us by contributing one!
bool multichannel_signed_distance_field = false
void set_multichannel_signed_distance_field ( bool value )
bool is_multichannel_signed_distance_field ( )
There is currently no description for this property. Please help us by contributing one!
Dictionary opentype_feature_overrides = {}
void set_opentype_feature_overrides ( Dictionary value )
Dictionary get_opentype_feature_overrides ( )
There is currently no description for this property. Please help us by contributing one!
float oversampling = 0.0
There is currently no description for this property. Please help us by contributing one!
String style_name = ""
There is currently no description for this property. Please help us by contributing one!
SubpixelPositioning subpixel_positioning = 1
void set_subpixel_positioning ( SubpixelPositioning value )
SubpixelPositioning get_subpixel_positioning ( )
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void clear_cache ( )
There is currently no description for this method. Please help us by contributing one!
void clear_glyphs ( int cache_index, Vector2i size )
There is currently no description for this method. Please help us by contributing one!
void clear_kerning_map ( int cache_index, int size )
There is currently no description for this method. Please help us by contributing one!
void clear_size_cache ( int cache_index )
There is currently no description for this method. Please help us by contributing one!
void clear_textures ( int cache_index, Vector2i size )
There is currently no description for this method. Please help us by contributing one!
float get_cache_ascent ( int cache_index, int size ) const
There is currently no description for this method. Please help us by contributing one!
int get_cache_count ( ) const
There is currently no description for this method. Please help us by contributing one!
float get_cache_descent ( int cache_index, int size ) const
There is currently no description for this method. Please help us by contributing one!
float get_cache_scale ( int cache_index, int size ) const
There is currently no description for this method. Please help us by contributing one!
float get_cache_underline_position ( int cache_index, int size ) const
There is currently no description for this method. Please help us by contributing one!
float get_cache_underline_thickness ( int cache_index, int size ) const
There is currently no description for this method. Please help us by contributing one!
int get_char_from_glyph_index ( int size, int glyph_index ) const
There is currently no description for this method. Please help us by contributing one!
float get_embolden ( int cache_index ) const
There is currently no description for this method. Please help us by contributing one!
float get_extra_baseline_offset ( int cache_index ) const
There is currently no description for this method. Please help us by contributing one!
int get_extra_spacing ( int cache_index, SpacingType spacing ) const
There is currently no description for this method. Please help us by contributing one!
int get_face_index ( int cache_index ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_glyph_advance ( int cache_index, int size, int glyph ) const
There is currently no description for this method. Please help us by contributing one!
int get_glyph_index ( int size, int char, int variation_selector ) const
There is currently no description for this method. Please help us by contributing one!
PackedInt32Array get_glyph_list ( int cache_index, Vector2i size ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_glyph_offset ( int cache_index, Vector2i size, int glyph ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_glyph_size ( int cache_index, Vector2i size, int glyph ) const
There is currently no description for this method. Please help us by contributing one!
int get_glyph_texture_idx ( int cache_index, Vector2i size, int glyph ) const
There is currently no description for this method. Please help us by contributing one!
Rect2 get_glyph_uv_rect ( int cache_index, Vector2i size, int glyph ) const
There is currently no description for this method. Please help us by contributing one!
Vector2 get_kerning ( int cache_index, int size, Vector2i glyph_pair ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i[] get_kerning_list ( int cache_index, int size ) const
There is currently no description for this method. Please help us by contributing one!
bool get_language_support_override ( String language ) const
There is currently no description for this method. Please help us by contributing one!
PackedStringArray get_language_support_overrides ( ) const
There is currently no description for this method. Please help us by contributing one!
bool get_script_support_override ( String script ) const
There is currently no description for this method. Please help us by contributing one!
PackedStringArray get_script_support_overrides ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i[] get_size_cache_list ( int cache_index ) const
There is currently no description for this method. Please help us by contributing one!
int get_texture_count ( int cache_index, Vector2i size ) const
There is currently no description for this method. Please help us by contributing one!
Image get_texture_image ( int cache_index, Vector2i size, int texture_index ) const
There is currently no description for this method. Please help us by contributing one!
PackedInt32Array get_texture_offsets ( int cache_index, Vector2i size, int texture_index ) const
There is currently no description for this method. Please help us by contributing one!
Transform2D get_transform ( int cache_index ) const
There is currently no description for this method. Please help us by contributing one!
Dictionary get_variation_coordinates ( int cache_index ) const
There is currently no description for this method. Please help us by contributing one!
Error load_bitmap_font ( String path )
There is currently no description for this method. Please help us by contributing one!
Error load_dynamic_font ( String path )
There is currently no description for this method. Please help us by contributing one!
void remove_cache ( int cache_index )
There is currently no description for this method. Please help us by contributing one!
void remove_glyph ( int cache_index, Vector2i size, int glyph )
There is currently no description for this method. Please help us by contributing one!
void remove_kerning ( int cache_index, int size, Vector2i glyph_pair )
There is currently no description for this method. Please help us by contributing one!
void remove_language_support_override ( String language )
There is currently no description for this method. Please help us by contributing one!
void remove_script_support_override ( String script )
There is currently no description for this method. Please help us by contributing one!
void remove_size_cache ( int cache_index, Vector2i size )
There is currently no description for this method. Please help us by contributing one!
void remove_texture ( int cache_index, Vector2i size, int texture_index )
There is currently no description for this method. Please help us by contributing one!
void render_glyph ( int cache_index, Vector2i size, int index )
There is currently no description for this method. Please help us by contributing one!
void render_range ( int cache_index, Vector2i size, int start, int end )
There is currently no description for this method. Please help us by contributing one!
void set_cache_ascent ( int cache_index, int size, float ascent )
There is currently no description for this method. Please help us by contributing one!
void set_cache_descent ( int cache_index, int size, float descent )
There is currently no description for this method. Please help us by contributing one!
void set_cache_scale ( int cache_index, int size, float scale )
There is currently no description for this method. Please help us by contributing one!
void set_cache_underline_position ( int cache_index, int size, float underline_position )
There is currently no description for this method. Please help us by contributing one!
void set_cache_underline_thickness ( int cache_index, int size, float underline_thickness )
There is currently no description for this method. Please help us by contributing one!
void set_embolden ( int cache_index, float strength )
There is currently no description for this method. Please help us by contributing one!
void set_extra_baseline_offset ( int cache_index, float baseline_offset )
There is currently no description for this method. Please help us by contributing one!
void set_extra_spacing ( int cache_index, SpacingType spacing, int value )
There is currently no description for this method. Please help us by contributing one!
void set_face_index ( int cache_index, int face_index )
There is currently no description for this method. Please help us by contributing one!
void set_glyph_advance ( int cache_index, int size, int glyph, Vector2 advance )
There is currently no description for this method. Please help us by contributing one!
void set_glyph_offset ( int cache_index, Vector2i size, int glyph, Vector2 offset )
There is currently no description for this method. Please help us by contributing one!
void set_glyph_size ( int cache_index, Vector2i size, int glyph, Vector2 gl_size )
There is currently no description for this method. Please help us by contributing one!
void set_glyph_texture_idx ( int cache_index, Vector2i size, int glyph, int texture_idx )
There is currently no description for this method. Please help us by contributing one!
void set_glyph_uv_rect ( int cache_index, Vector2i size, int glyph, Rect2 uv_rect )
There is currently no description for this method. Please help us by contributing one!
void set_kerning ( int cache_index, int size, Vector2i glyph_pair, Vector2 kerning )
There is currently no description for this method. Please help us by contributing one!
void set_language_support_override ( String language, bool supported )
There is currently no description for this method. Please help us by contributing one!
void set_script_support_override ( String script, bool supported )
There is currently no description for this method. Please help us by contributing one!
void set_texture_image ( int cache_index, Vector2i size, int texture_index, Image image )
There is currently no description for this method. Please help us by contributing one!
void set_texture_offsets ( int cache_index, Vector2i size, int texture_index, PackedInt32Array offset )
There is currently no description for this method. Please help us by contributing one!
void set_transform ( int cache_index, Transform2D transform )
There is currently no description for this method. Please help us by contributing one!
void set_variation_coordinates ( int cache_index, Dictionary variation_coordinates )
There is currently no description for this method. Please help us by contributing one!