diff --git a/textium/src/lib.rs b/textium/src/lib.rs index 520d45e..e3e0c6a 100644 --- a/textium/src/lib.rs +++ b/textium/src/lib.rs @@ -38,14 +38,14 @@ pub struct GlyphMetadata { } pub struct FontAtlas { - glyph_data: HashMap<char, GlyphMetadata> + pub glyph_data: HashMap<char, GlyphMetadata> } pub struct FontTexture { /// The GPU texture of packed glyphs. - texture: Texture2d, + pub texture: Texture2d, /// Atlas describing where glyphs are. - atlas: FontAtlas, + pub atlas: FontAtlas, }