unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Implementing Vertical Text support in Emacs
@ 2022-06-13 15:29 समीर सिंह Sameer Singh
  2022-06-13 16:16 ` [External] : " Drew Adams
  2022-06-13 16:30 ` Eli Zaretskii
  0 siblings, 2 replies; 19+ messages in thread
From: समीर सिंह Sameer Singh @ 2022-06-13 15:29 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]

Recently while implementing the Mongolian script, I thought, maybe vertical
text support should be added to Emacs too.

Vertical text is used in scripts like the CJK characters, Mongolian, Phags
Pa, Ogham etc.
Scripts like the CJK characters do not need to be rotated when written
vertically and can be written either from ltr or rtl,
while scripts like Mongolian are rotated and written from left to right.

So my questions are: Should this be done? If so, where should I start.
How to correctly mix non vertical and vertical scripts in the same buffer,
if it is even possible.
Should this be a minor mode only?

Here are some reference links:
This UAX#50 defines default orientation for various unicode characters:
https://www.unicode.org/reports/tr50/tr50-26.html
This website defines orientation of all unicode characters:
https://www.unicode.org/Public/vertical/revision-17/VerticalOrientation-17.html

Robust Vertical Text Layout: Using the Unicode BIDI Algorithm to Handle
Complexities in Typesetting Multi-Script Vertical Text:
https://www.unicode.org/notes/tn22/RobustVerticalLayout.pdf

css-writing-modes-4: https://www.w3.org/TR/css-writing-modes-4/

OTF Tags for vertical text:
https://docs.microsoft.com/en-us/typography/opentype/spec/features_uz#tag-vert
https://docs.microsoft.com/en-us/typography/opentype/spec/features_uz#tag-vrtr

This is what the UAX#9 says about bidi text in vertical orientation:
https://unicode.org/reports/tr9/#Vertical_Text

A website that has vertical text orientation: https://wikibilig.mn/

I do not promise that this would be completed, but atleast I can try.
Thanks.

[-- Attachment #2: Type: text/html, Size: 2288 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2022-11-24 11:39 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-13 15:29 Implementing Vertical Text support in Emacs समीर सिंह Sameer Singh
2022-06-13 16:16 ` [External] : " Drew Adams
2022-06-13 16:30 ` Eli Zaretskii
2022-06-15 10:08   ` Richard Stallman
2022-06-15 10:22     ` Po Lu
2022-06-15 11:09       ` समीर सिंह Sameer Singh
2022-06-16 22:48         ` Richard Stallman
2022-06-17  1:43           ` समीर सिंह Sameer Singh
2022-06-17  6:12             ` Eli Zaretskii
2022-09-08 18:44               ` समीर सिंह Sameer Singh
2022-09-08 19:05                 ` Eli Zaretskii
2022-09-10 15:53                   ` समीर सिंह Sameer Singh
2022-09-10 16:17                     ` Eli Zaretskii
2022-09-29 19:57                       ` समीर सिंह Sameer Singh
2022-09-30  6:30                         ` Eli Zaretskii
2022-11-20 11:18                           ` समीर सिंह Sameer Singh
2022-11-20 11:43                             ` Eli Zaretskii
2022-11-20 12:08                               ` समीर सिंह Sameer Singh
2022-11-24 11:39                                 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).