RetroArch
Public Attributes | List of all members
DWRITE_JUSTIFICATION_OPPORTUNITY Struct Reference

Justification information per glyph. More...

#include <dwrite_1.h>

Public Attributes

FLOAT expansionMinimum
 Minimum amount of expansion to apply to the side of the glyph. This may vary from 0 to infinity, typically being zero except for kashida. More...
 
FLOAT expansionMaximum
 Maximum amount of expansion to apply to the side of the glyph. This may vary from 0 to infinity, being zero for fixed-size characters and connected scripts, and non-zero for discrete scripts, and non-zero for cursive scripts at expansion points. More...
 
FLOAT compressionMaximum
 Maximum amount of compression to apply to the side of the glyph. This may vary from 0 up to the glyph cluster size. More...
 
UINT32 expansionPriority: 8
 Priority of this expansion point. Larger priorities are applied later, while priority zero does nothing. More...
 
UINT32 compressionPriority: 8
 Priority of this compression point. Larger priorities are applied later, while priority zero does nothing. More...
 
UINT32 allowResidualExpansion: 1
 Allow this expansion point to use up any remaining slack space even after all expansion priorities have been used up. More...
 
UINT32 allowResidualCompression: 1
 Allow this compression point to use up any remaining space even after all compression priorities have been used up. More...
 
UINT32 applyToLeadingEdge: 1
 Apply expansion/compression to the leading edge of the glyph. This will be false for connected scripts, fixed-size characters, and diacritics. It is generally false within a multi-glyph cluster, unless the script allows expansion of glyphs within a cluster, like Thai. More...
 
UINT32 applyToTrailingEdge: 1
 Apply expansion/compression to the trailing edge of the glyph. This will be false for connected scripts, fixed-size characters, and diacritics. It is generally false within a multi-glyph cluster, unless the script allows expansion of glyphs within a cluster, like Thai. More...
 
UINT32 reserved: 12
 

Detailed Description

Justification information per glyph.

Member Data Documentation

◆ allowResidualCompression

UINT32 DWRITE_JUSTIFICATION_OPPORTUNITY::allowResidualCompression

Allow this compression point to use up any remaining space even after all compression priorities have been used up.

◆ allowResidualExpansion

UINT32 DWRITE_JUSTIFICATION_OPPORTUNITY::allowResidualExpansion

Allow this expansion point to use up any remaining slack space even after all expansion priorities have been used up.

◆ applyToLeadingEdge

UINT32 DWRITE_JUSTIFICATION_OPPORTUNITY::applyToLeadingEdge

Apply expansion/compression to the leading edge of the glyph. This will be false for connected scripts, fixed-size characters, and diacritics. It is generally false within a multi-glyph cluster, unless the script allows expansion of glyphs within a cluster, like Thai.

◆ applyToTrailingEdge

UINT32 DWRITE_JUSTIFICATION_OPPORTUNITY::applyToTrailingEdge

Apply expansion/compression to the trailing edge of the glyph. This will be false for connected scripts, fixed-size characters, and diacritics. It is generally false within a multi-glyph cluster, unless the script allows expansion of glyphs within a cluster, like Thai.

◆ compressionMaximum

FLOAT DWRITE_JUSTIFICATION_OPPORTUNITY::compressionMaximum

Maximum amount of compression to apply to the side of the glyph. This may vary from 0 up to the glyph cluster size.

◆ compressionPriority

UINT32 DWRITE_JUSTIFICATION_OPPORTUNITY::compressionPriority

Priority of this compression point. Larger priorities are applied later, while priority zero does nothing.

◆ expansionMaximum

FLOAT DWRITE_JUSTIFICATION_OPPORTUNITY::expansionMaximum

Maximum amount of expansion to apply to the side of the glyph. This may vary from 0 to infinity, being zero for fixed-size characters and connected scripts, and non-zero for discrete scripts, and non-zero for cursive scripts at expansion points.

◆ expansionMinimum

FLOAT DWRITE_JUSTIFICATION_OPPORTUNITY::expansionMinimum

Minimum amount of expansion to apply to the side of the glyph. This may vary from 0 to infinity, typically being zero except for kashida.

◆ expansionPriority

UINT32 DWRITE_JUSTIFICATION_OPPORTUNITY::expansionPriority

Priority of this expansion point. Larger priorities are applied later, while priority zero does nothing.

◆ reserved

UINT32 DWRITE_JUSTIFICATION_OPPORTUNITY::reserved

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