The m17n Library 1.8.4
Loading...
Searching...
No Matches
Data Fields
MFLTGlyphAdjustment Struct Reference

Type of information about a glyph position adjustment. More...

#include <m17n-flt.h>

Data Fields

int xadv
 
int yadv
 
int xoff
 
int yoff
 
short back
 
unsigned advance_is_absolute: 1
 
unsigned set: 1
 

Detailed Description

Type of information about a glyph position adjustment.

The type MFLTGlyphAdjustment is the structure to store information about a glyph metrics/position adjustment. It is given to the callback function drive_otf of MFLTFont.

Field Documentation

◆ xadv

int MFLTGlyphAdjustment::xadv

Adjustments for advance width for horizontal layout and advance height for vertical layout expressed in 26.6 fractional pixel format.

◆ yadv

int MFLTGlyphAdjustment::yadv

◆ xoff

int MFLTGlyphAdjustment::xoff

Horizontal and vertical adjustments for glyph positioning expressed in 26.6 fractional pixel format.

◆ yoff

int MFLTGlyphAdjustment::yoff

◆ back

short MFLTGlyphAdjustment::back

Number of glyphs to go back for drawing a glyph.

◆ advance_is_absolute

unsigned MFLTGlyphAdjustment::advance_is_absolute

If nonzero, the member <xadv> and <yadv> are absolute, i.e., they should not be added to a glyph's origianl advance width and height.

◆ set

unsigned MFLTGlyphAdjustment::set

Should be set to 1 if at least one of the other members has a nonzero value.


m17n-lib Home