shiny/text: drop panic when GlyphAdvance returns !ok

As the commit message of CL 474376 notes, the "TODO: is falling back
on the U+FFFD glyph the responsibility of the Drawer or the Face?"
was resolved. There's no need to panic anymore.

Updates golang/go#58252.

Change-Id: Ic4bcc3dfb8a463e7abcfccdbcf826644327f1aec
Auto-Submit: Dmitri Shuralyov <>
Reviewed-by: Nigel Tao (INACTIVE; USE INSTEAD) <>
Reviewed-by: Nigel Tao <>
Reviewed-by: Dmitri Shuralyov <>
LUCI-TryBot-Result: Go LUCI <>
1 file changed
tree: 8d1f89e27a25eda9b916b9068934148d762ff9db
  1. apidiff/
  2. cmd/
  3. constraints/
  4. devtools/
  5. ebnf/
  6. ebnflint/
  7. errors/
  8. event/
  9. inotify/
  10. io/
  11. jsonrpc2/
  12. maps/
  13. mmap/
  14. protoveneer/
  15. rand/
  16. shiny/
  17. shootout/
  18. slices/
  19. slog/
  20. sumdb/
  21. trace/
  22. typeparams/
  23. utf8string/
  24. .gitattributes
  25. .gitignore
  26. codereview.cfg
  28. go.mod
  29. go.sum



This subrepository holds experimental and deprecated (in the old directory) packages.

The idea for this subrepository originated as the pkg/exp directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get these packages.

Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.

In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)

Caveat emptor.