Chinese characters are rendered as unicode hashes by Graphoid service, e.g. https://zh.wikipedia.org/wiki/User:Shizhao/%E6%B2%99%E7%9B%92
Graphoid needs to select a font, or multiple fonts, on the basis of the required characters. One library able to do so is pangocairo, as in this example: https://gist.github.com/santhoshtr/bea3da00651bcd18e282
See also: https://meta.wikimedia.org/wiki/Fonts