# Cyrillic support in root

**URL:** <https://root-forum.cern.ch/t/cyrillic-support-in-root/40150>\
**Category:** ROOT\
**Created:** [June 30, 2020, 2:25pm UTC](https://root-forum.cern.ch/t/cyrillic-support-in-root/40150 "2020-06-30T14:25:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![yurkop](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/y/35a633/32.png) [@yurkop](https://root-forum.cern.ch/u/yurkop)\
**Post date:** [June 30, 2020, 2:25pm UTC](https://root-forum.cern.ch/t/cyrillic-support-in-root/40150/1 "2020-06-30T14:25:54Z")

</div>

Hello, has anything changed in the latest root versions in terms of support of cyrillic letters? The statement in 2005 was: no support, but there was a workaround using QT layer [cyrillic-letters-in-root](https://root-forum.cern.ch/t/cyrillic-letters-in-root/1464/5). Now QT support is completely removed. Is it absolutely not possible to use cyrillic (or any other, Chinese etc) characters? Or is there still some workaround, at least?

\_ROOT Version:6.18/04  
\_Platform: Linux Mint 19.3

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [June 30, 2020, 3:05pm UTC](https://root-forum.cern.ch/t/cyrillic-support-in-root/40150/2 "2020-06-30T15:05:37Z")

</div>

If you want to produce graphical text you can use [TMathText](https://root.cern/doc/master/classTMathText.html).

---

<div class="post-metadata">

**Author:** ![11126](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/11126/32/22568_2.png) [@11126](https://root-forum.cern.ch/u/11126)\
**Post date:** [June 30, 2020, 7:10pm UTC](https://root-forum.cern.ch/t/cyrillic-support-in-root/40150/3 "2020-06-30T19:10:59Z")

</div>

Hi. If I need something with cyrillic letters then I just make pictures without any labels and after that use LaTeX (PGF/Tikz) or Metapost to write whatever I want.

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [July 1, 2020, 7:53am UTC](https://root-forum.cern.ch/t/cyrillic-support-in-root/40150/4 "2020-07-01T07:53:59Z")

</div>

or use TMathText …  
Or TTextDump  
[https://root.s3-website.cern.ch/saving-canvas-in-TeX/](https://root.s3-website.cern.ch/saving-canvas-in-TeX/)

---

<div class="post-metadata">

**Author:** ![yurkop](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/y/35a633/32.png) [@yurkop](https://root-forum.cern.ch/u/yurkop)\
**Post date:** [July 1, 2020, 12:19pm UTC](https://root-forum.cern.ch/t/cyrillic-support-in-root/40150/5 "2020-07-01T12:19:59Z")

</div>

Thanks for your answers. TMathText is something that I didn’t know about. It works at least in graphical output. But it’s a pity that Cyrillic doesn’t work at all in GUI. Widgets do not react on the change of the keyboard layout. And, what’s more important, Cyrillic text is not displayed properly in any of the GUI widgets.

I can list all fonts which are available to root by gVirtualX-\>ListFonts(), and Cyrillic fonts are there. Then I can change the font of a widget using gClient-\>GetFont(), like in guilabels tutorial. The font is changed, but the last two font name elements which are responsible for the language setting (CHARSET\_REGISTRY and CHARSET\_ENCODING) are always ignored.

Why is it so? Is it not possible to change this behavior?

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [July 1, 2020, 12:39pm UTC](https://root-forum.cern.ch/t/cyrillic-support-in-root/40150/6 "2020-07-01T12:39:54Z")

</div>

For Cyrillic in the GUI I let @bellenot answer you.

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [July 1, 2020, 12:41pm UTC](https://root-forum.cern.ch/t/cyrillic-support-in-root/40150/7 "2020-07-01T12:41:49Z")

</div>

No, there is no support for extended characters in the GUI. But this should be fixed with the coming ROOT7 Web based GUI

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [July 15, 2020, 12:41pm UTC](https://root-forum.cern.ch/t/cyrillic-support-in-root/40150/8 "2020-07-15T12:41:50Z")

</div>

Closed on July 15, 2020, 12:41pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
