RetroArch
Public Attributes | List of all members
DWRITE_FONT_METRICS1 Struct Reference

#include <dwrite_1.h>

Inheritance diagram for DWRITE_FONT_METRICS1:
[legend]
Collaboration diagram for DWRITE_FONT_METRICS1:
[legend]

Public Attributes

INT16 glyphBoxLeft
 Left edge of accumulated bounding blackbox of all glyphs in the font. More...
 
INT16 glyphBoxTop
 Top edge of accumulated bounding blackbox of all glyphs in the font. More...
 
INT16 glyphBoxRight
 Right edge of accumulated bounding blackbox of all glyphs in the font. More...
 
INT16 glyphBoxBottom
 Bottom edge of accumulated bounding blackbox of all glyphs in the font. More...
 
INT16 subscriptPositionX
 Horizontal position of the subscript relative to the baseline origin. This is typically negative (to the left) in italic/oblique fonts, and zero in regular fonts. More...
 
INT16 subscriptPositionY
 Vertical position of the subscript relative to the baseline. This is typically negative. More...
 
INT16 subscriptSizeX
 Horizontal size of the subscript em box in design units, used to scale the simulated subscript relative to the full em box size. This the numerator of the scaling ratio where denominator is the design units per em. If this member is zero, the font does not specify a scale factor, and the client should use its own policy. More...
 
INT16 subscriptSizeY
 Vertical size of the subscript em box in design units, used to scale the simulated subscript relative to the full em box size. This the numerator of the scaling ratio where denominator is the design units per em. If this member is zero, the font does not specify a scale factor, and the client should use its own policy. More...
 
INT16 superscriptPositionX
 Horizontal position of the superscript relative to the baseline origin. This is typically positive (to the right) in italic/oblique fonts, and zero in regular fonts. More...
 
INT16 superscriptPositionY
 Vertical position of the superscript relative to the baseline. This is typically positive. More...
 
INT16 superscriptSizeX
 Horizontal size of the superscript em box in design units, used to scale the simulated superscript relative to the full em box size. This the numerator of the scaling ratio where denominator is the design units per em. If this member is zero, the font does not specify a scale factor, and the client should use its own policy. More...
 
INT16 superscriptSizeY
 Vertical size of the superscript em box in design units, used to scale the simulated superscript relative to the full em box size. This the numerator of the scaling ratio where denominator is the design units per em. If this member is zero, the font does not specify a scale factor, and the client should use its own policy. More...
 
BOOL hasTypographicMetrics
 Indicates that the ascent, descent, and lineGap are based on newer 'typographic' values in the font, rather than legacy values. More...
 
- Public Attributes inherited from DWRITE_FONT_METRICS
UINT16 designUnitsPerEm
 The number of font design units per em unit. Font files use their own coordinate system of font design units. A font design unit is the smallest measurable unit in the em square, an imaginary square that is used to size and align glyphs. The concept of em square is used as a reference scale factor when defining font size and device transformation semantics. The size of one em square is also commonly used to compute the paragraph indentation value. More...
 
UINT16 ascent
 Ascent value of the font face in font design units. Ascent is the distance from the top of font character alignment box to English baseline. More...
 
UINT16 descent
 Descent value of the font face in font design units. Descent is the distance from the bottom of font character alignment box to English baseline. More...
 
INT16 lineGap
 Line gap in font design units. Recommended additional white space to add between lines to improve legibility. The recommended line spacing (baseline-to-baseline distance) is thus the sum of ascent, descent, and lineGap. The line gap is usually positive or zero but can be negative, in which case the recommended line spacing is less than the height of the character alignment box. More...
 
UINT16 capHeight
 Cap height value of the font face in font design units. Cap height is the distance from English baseline to the top of a typical English capital. Capital "H" is often used as a reference character for the purpose of calculating the cap height value. More...
 
UINT16 xHeight
 x-height value of the font face in font design units. x-height is the distance from English baseline to the top of lowercase letter "x", or a similar lowercase character. More...
 
INT16 underlinePosition
 The underline position value of the font face in font design units. Underline position is the position of underline relative to the English baseline. The value is usually made negative in order to place the underline below the baseline. More...
 
UINT16 underlineThickness
 The suggested underline thickness value of the font face in font design units. More...
 
INT16 strikethroughPosition
 The strikethrough position value of the font face in font design units. Strikethrough position is the position of strikethrough relative to the English baseline. The value is usually made positive in order to place the strikethrough above the baseline. More...
 
UINT16 strikethroughThickness
 The suggested strikethrough thickness value of the font face in font design units. More...
 

Member Data Documentation

◆ glyphBoxBottom

INT16 DWRITE_FONT_METRICS1::glyphBoxBottom

Bottom edge of accumulated bounding blackbox of all glyphs in the font.

◆ glyphBoxLeft

INT16 DWRITE_FONT_METRICS1::glyphBoxLeft

Left edge of accumulated bounding blackbox of all glyphs in the font.

◆ glyphBoxRight

INT16 DWRITE_FONT_METRICS1::glyphBoxRight

Right edge of accumulated bounding blackbox of all glyphs in the font.

◆ glyphBoxTop

INT16 DWRITE_FONT_METRICS1::glyphBoxTop

Top edge of accumulated bounding blackbox of all glyphs in the font.

◆ hasTypographicMetrics

BOOL DWRITE_FONT_METRICS1::hasTypographicMetrics

Indicates that the ascent, descent, and lineGap are based on newer 'typographic' values in the font, rather than legacy values.

◆ subscriptPositionX

INT16 DWRITE_FONT_METRICS1::subscriptPositionX

Horizontal position of the subscript relative to the baseline origin. This is typically negative (to the left) in italic/oblique fonts, and zero in regular fonts.

◆ subscriptPositionY

INT16 DWRITE_FONT_METRICS1::subscriptPositionY

Vertical position of the subscript relative to the baseline. This is typically negative.

◆ subscriptSizeX

INT16 DWRITE_FONT_METRICS1::subscriptSizeX

Horizontal size of the subscript em box in design units, used to scale the simulated subscript relative to the full em box size. This the numerator of the scaling ratio where denominator is the design units per em. If this member is zero, the font does not specify a scale factor, and the client should use its own policy.

◆ subscriptSizeY

INT16 DWRITE_FONT_METRICS1::subscriptSizeY

Vertical size of the subscript em box in design units, used to scale the simulated subscript relative to the full em box size. This the numerator of the scaling ratio where denominator is the design units per em. If this member is zero, the font does not specify a scale factor, and the client should use its own policy.

◆ superscriptPositionX

INT16 DWRITE_FONT_METRICS1::superscriptPositionX

Horizontal position of the superscript relative to the baseline origin. This is typically positive (to the right) in italic/oblique fonts, and zero in regular fonts.

◆ superscriptPositionY

INT16 DWRITE_FONT_METRICS1::superscriptPositionY

Vertical position of the superscript relative to the baseline. This is typically positive.

◆ superscriptSizeX

INT16 DWRITE_FONT_METRICS1::superscriptSizeX

Horizontal size of the superscript em box in design units, used to scale the simulated superscript relative to the full em box size. This the numerator of the scaling ratio where denominator is the design units per em. If this member is zero, the font does not specify a scale factor, and the client should use its own policy.

◆ superscriptSizeY

INT16 DWRITE_FONT_METRICS1::superscriptSizeY

Vertical size of the superscript em box in design units, used to scale the simulated superscript relative to the full em box size. This the numerator of the scaling ratio where denominator is the design units per em. If this member is zero, the font does not specify a scale factor, and the client should use its own policy.


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