naev 0.12.6
glFontGlyph Struct Reference

Represents a character in the font. More...

Data Fields

uint32_t codepoint
GLfloat adv_x
GLfloat m
int ft_index
int tex_index
GLushort vbo_id
int next

Detailed Description

Represents a character in the font.

Definition at line 74 of file font.c.

Field Documentation

◆ adv_x

GLfloat glFontGlyph::adv_x

X advancement on the screen.

Definition at line 76 of file font.c.

◆ codepoint

uint32_t glFontGlyph::codepoint

Real character.

Definition at line 75 of file font.c.

◆ ft_index

int glFontGlyph::ft_index

HACK: Index into the array of fallback fonts.

Definition at line 78 of file font.c.

◆ m

GLfloat glFontGlyph::m

Number of distance units corresponding to 1 "pixel".

Definition at line 77 of file font.c.

◆ next

int glFontGlyph::next

Stored as a linked list.

Definition at line 81 of file font.c.

◆ tex_index

int glFontGlyph::tex_index

Might be on different texture.

Definition at line 79 of file font.c.

◆ vbo_id

GLushort glFontGlyph::vbo_id

VBO index to use.

Definition at line 80 of file font.c.


The documentation for this struct was generated from the following file: