Could you tell me How to use TText with Japanese Fonts?

Dear ROOT Support,

Could you tell me How to use TText with Japanese Fonts?
I would like to use Japanese fonts with TText.

I have check the TGFonts (root.cern.ch/root/html/TGLFontManager.html), but I cannot look out how to do it.
Is it possible to display Japanese Fonts with TText Class?
How can I regsister Japanese TTF fonts?
I use ROOT version Version 5.34/19 in a Debian Linux box.

With best regards
buynnnmmm1

The best would be to use TMathText:

root.cern.ch/root/html534/TMathText.html

[quote=“couet”]The best would be to use TMathText:

root.cern.ch/root/html534/TMathText.html[/quote]

Dear ROOT Support,

Thank you very much for your help!

I can display Japanese text with PyROOT and TMathText.

I found the following site by searching the Japanese site TMathText.

oxon.hatenablog.com/entry/20130503/1367532176

How to display the Japanese using TMathText and PyROOT was written there.

Thank you very much!

With best regards
buynnnmmm1


Hi buynnnmmm1,

I am the author of the blog entry. How did you change the font from the default DroidSansFallback.ttf to Mika-Chan font?