// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.Fonts {
///
/// Defines how text decorations (underline, overline, strikethrough) are positioned relative to font metrics.
///
public enum DecorationPositioningMode
{
///
/// Uses the primary (base) font's metrics for the entire run or line,
/// ensuring a consistent decoration position across mixed fonts and scripts.
/// Matches typical browser behavior.
///
PrimaryFont = 0,
///
/// Uses each glyph's own font metrics to position its decoration.
/// Decoration positions may vary between glyphs and fallback fonts within the same line.
/// Matches typical Microsoft Word behavior.
///
GlyphFont = 1,
}
}