Skip to main content

Crate bevy_bitmap_text

Crate bevy_bitmap_text 

Source
Expand description

§bevy_bitmap_text

Glyph-as-Entity dynamic atlas text rendering backend for Bevy.

Each character is spawned as an individual entity with a Sprite, enabling per-character ECS-driven animation (shake, wave, color changes).

§Key Types

Re-exports§

pub use cache::DynamicGlyphCache;
pub use cache::GlyphAlphaMode;
pub use cache::GlyphCacheConfig;
pub use cache::GlyphInfo;
pub use cache::GlyphKey;
pub use components::FontLayoutOverride;
pub use components::FontLayoutOverrides;
pub use components::GlyphBaseOffset;
pub use components::GlyphEntity;
pub use components::GlyphReveal;
pub use components::LayoutGlyph;
pub use components::SegmentStyle;
pub use components::ShakeEffect;
pub use components::TextAlign;
pub use components::TextAnchor;
pub use components::TextBlock;
pub use components::TextBlockLayout;
pub use components::TextBlockStyling;
pub use components::TextSegment;
pub use components::WaveEffect;
pub use font_id::FontId;
pub use parse::parse_text_to_segments;
pub use systems::BitmapTextSet;

Modules§

cache
cache.rs
components
components.rs
font_id
font_id.rs
layout
layout.rs
parse
parse.rs
systems
systems.rs

Structs§

BitmapTextPlugin
Plugin that registers all bitmap text systems.
FontDirectories
Resource specifying directories to scan for font files at startup.

Functions§

load_fonts_from_directories
Load fonts from directories specified in FontDirectories resource.