Antkeeper  0.0.1
Namespaces | Classes | Typedefs | Enumerations
type Namespace Reference

Text and typography. More...

Namespaces

 unicode
 Unicode-related functions and data.
 

Classes

class  bitmap_font
 Raster font in which glyphs are stored as arrays of pixels. More...
 
struct  bitmap_glyph
 Single glyph in a bitmap font. More...
 
struct  font_metrics
 Metrics describing properties of a font. More...
 
class  font
 Abstract base class for fonts. More...
 
class  ft_typeface
 Typeface implementation using the FreeType library. More...
 
struct  glyph_metrics
 Metrics describing properties of a glyph. More...
 
class  typeface
 Abstract base class for a typeface, which corresponds to a single digital font file. More...
 

Typedefs

typedef std::unordered_map< char32_t, std::unordered_map< char32_t, math::fvec2 > > kerning_table
 Table containing kerning offsets for pairs of glyphs. More...
 

Enumerations

enum class  text_direction { ltr , rtl }
 Text writing direction. More...
 
enum class  typeface_style { normal , italic , oblique }
 Emumerates typeface styles. More...
 

Detailed Description

Text and typography.

Typedef Documentation

◆ kerning_table

typedef std::unordered_map<char32_t, std::unordered_map<char32_t, math::fvec2> > type::kerning_table

Table containing kerning offsets for pairs of glyphs.

Definition at line 29 of file kerning-table.hpp.

Enumeration Type Documentation

◆ text_direction

enum type::text_direction
strong

Text writing direction.

Enumerator
ltr 

Text is written from left to right.

rtl 

Text is written from right to left.

Definition at line 28 of file text-direction.hpp.

◆ typeface_style

enum type::typeface_style
strong

Emumerates typeface styles.

Enumerator
normal 

Normal typeface style.

italic 

Italic typeface style.

oblique 

Oblique typeface style.

Definition at line 32 of file typeface.hpp.