From 60883e1a4442670319d43361accd084413886b39 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 11 Sep 2024 00:22:17 +0900 Subject: [PATCH] text/v2: add comments --- text/v2/gox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/v2/gox.go b/text/v2/gox.go index 8143663f5..22415170f 100644 --- a/text/v2/gox.go +++ b/text/v2/gox.go @@ -84,7 +84,7 @@ func (s *GoXFace) Metrics() Metrics { CapHeight: fixed26_6ToFloat64(fm.CapHeight), } - // There is an issue that XHeight is negative for some old fonts (golang/go#69378). + // There is an issue that XHeight and CapHeight are negative for some old fonts (golang/go#69378). if fm.XHeight < 0 { m.XHeight *= -1 }