From db07dcfe9ffec469e3129e1c94504a129893cf84 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 27 Dec 2024 17:47:17 +0900 Subject: [PATCH] text/v2: deprecate GoTextFace.Script Updates #3175 --- text/v2/gotext.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/text/v2/gotext.go b/text/v2/gotext.go index a88387c7c..305ef0868 100644 --- a/text/v2/gotext.go +++ b/text/v2/gotext.go @@ -58,6 +58,8 @@ type GoTextFace struct { // Script is a hint for a script code hint of (ISO 15924). // If this is empty, the script is guessed from the specified language. + // + // Deprecated: as of v2.9. Use Language instead. Script language.Script variations []font.Variation