unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "समीर सिंह Sameer Singh" <lumarzeli30@gmail.com>
To: emacs-devel@gnu.org
Subject: Implementing Vertical Text support in Emacs
Date: Mon, 13 Jun 2022 20:59:45 +0530	[thread overview]
Message-ID: <CAOR1sLxUU26XYXnEO7EbXzgro2K6Pnxg18wbRYjn+teYhYf_9A@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2022-06-13 15:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-13 15:29 समीर सिंह Sameer Singh [this message]
2022-06-13 16:16 ` [External] : Implementing Vertical Text support in Emacs 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOR1sLxUU26XYXnEO7EbXzgro2K6Pnxg18wbRYjn+teYhYf_9A@mail.gmail.com \
    --to=lumarzeli30@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).