Skip to content

Commit

Permalink
text/v2: deprecate GoTextFace.Script
Browse files Browse the repository at this point in the history
Updates #3175
  • Loading branch information
hajimehoshi committed Dec 27, 2024
1 parent 25cc679 commit db07dcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions text/v2/gotext.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db07dcf

Please sign in to comment.