For an application I am develloping right now, (a shogi software), for text mode, i need to make upside down the graphics of the pieces , because the opponent's pieces are reversed. However, Unicode does not provide upside down kanji characters. I am searching to reverse the kanjis in a style similar to this diagram of this wikipedia article : https://en.wikipedia.org/wiki/Shogi#Player_rank_and_handicapswhere they use CSS to do it. I can use filter programs or kernel API (ioctl). Thanks in advance for your response
Reverse Kanji letters in the console
terminal;c;unicode
None of the terminal emulators I've heard of supports upside down text, and there's nothing analogous to CSS there.Technically, one could come up with a certain escape sequence (probably along the lines of the bold, italic, underlined etc. ANSI sequences). Ideally at least a few popular terminal emulators (let's say at least xterm, vte and iterm2) would then implement this feature identically.I don't see a reasonable chance for this to happen, given that probably your app would be the only app using this feature.You might want to take a look at various ways that allow to draw pictures inside terminal emulators. The possibilities include Regis and Sixel (I've heard about these but don't know them  don't know if they are good enough for you), or custom solutions offered by some terminal emulators e.g. Terminology or Kitty (I'm not familiar with those solutions either). With such a solution, though, your app will probably be limited to run under a particular terminal emulator. Plus, you'd have to draw the kanjis yourself.I'd conclude that terminal emulators cannot do what you're looking for, and as such, if you really need upside down glyphs, choosing text mode is a wrong choice. You should go for a graphical app written in a graphical toolkit (e.g. GTK+ or Qt) where rotating text is a piece of cake.