From 5dd3e2b96a200f7b36bac60f0abfbe0be9f33f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= Date: Sat, 23 Oct 2021 18:41:24 +0200 Subject: [PATCH] docs font: Document render supporting UCS_4 --- docs/reST/ref/font.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/reST/ref/font.rst b/docs/reST/ref/font.rst index 6f0b69bf57..7ae66bd3a7 100644 --- a/docs/reST/ref/font.rst +++ b/docs/reST/ref/font.rst @@ -246,6 +246,10 @@ loaded instead. Font rendering is not thread safe: only a single thread can render text at any time. + .. versionchanged:: 2.0.3 Rendering UCS_4 unicode works, and does not + raise an exception. Use hasattr(pygame.font, 'UCS_4') to see if pygame + supports rendering UCS_4. + .. ## Font.render ## .. method:: size