Skip to content

Commit 52f4eb2

Browse files
committed
Fix duplicated <remarks> open tag in TryGetGlyphMetrics doc
The vertical-metrics doc update left two consecutive `<remarks>` opening lines with a single closing tag, producing malformed XML (CS1570). That is only a warning under Debug but a hard error in Release, where Directory.Build.props sets TreatWarningsAsErrors=true — so CI (warnings as errors) would fail this branch. Drop the duplicate line.
1 parent bda509f commit 52f4eb2

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Avalonia.Base/Media/GlyphTypeface.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,6 @@ public bool TryGetVerticalGlyphAdvances(ReadOnlySpan<ushort> glyphIds, Span<usho
704704
/// Attempts to retrieve the metrics for the specified glyph.
705705
/// </summary>
706706
/// <remarks>This method returns metrics only if horizontal or vertical metrics are available for
707-
/// <remarks>This method returns metrics only if horizontal or vertical metrics are available for
708707
/// the specified glyph. If neither is available, the method returns false and the output parameter is set to
709708
/// its default value.</remarks>
710709
/// <param name="glyph">The identifier of the glyph for which to obtain metrics.</param>

0 commit comments

Comments
 (0)