Skip to content

Commit 64eb86c

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 5d103b9 commit 64eb86c

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
@@ -764,7 +764,6 @@ public bool TryGetVerticalGlyphAdvances(ReadOnlySpan<ushort> glyphIds, Span<usho
764764
/// Attempts to retrieve the metrics for the specified glyph.
765765
/// </summary>
766766
/// <remarks>This method returns metrics only if horizontal or vertical metrics are available for
767-
/// <remarks>This method returns metrics only if horizontal or vertical metrics are available for
768767
/// the specified glyph. If neither is available, the method returns false and the output parameter is set to
769768
/// its default value.</remarks>
770769
/// <param name="glyph">The identifier of the glyph for which to obtain metrics.</param>

0 commit comments

Comments
 (0)