emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: org mode table alignment issue with CJK characters
Date: Sat, 25 Mar 2023 18:27:53 +0000	[thread overview]
Message-ID: <93f9f065-a379-4f22-e3fa-4fb322da65c5@posteo.de> (raw)
In-Reply-To: <871qlcogw6.fsf@localhost>

On 3/25/23 18:55, Ihor Radchenko wrote:
> Zelphir Kaltstahl <zelphirkaltstahl@posteo.de> writes:
>
>> My settings for org mode regarding fonts/faces are:
>> ...
> It may be tricky to get the scaling right sometimes.
> I use the following:
>
> ;; Credit for the suggestion about `face-font-rescale-alist': @viz:okash.it (Matrix)
> (push `("Sarasa Mono hc" . ,(/ 16.0 13.0)) face-font-rescale-alist)
>
> An example table I created is aligned perfectly.

Ahhh, thank you! That did it!

I saw some font scaling stuff suggested for other fonts, but thought, that it 
was not necessary for Sarasa.

Just in case I want to use other fonts at some point: How did you (or anyone 
else) derive the 16/13 number? Is there a general way, other than "try numbers 
and see what fits"?

-- 
repositories: https://notabug.org/ZelphirKaltstahl



  reply	other threads:[~2023-03-25 18:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-23 14:44 org mode table alignment issue with CJK characters Zelphir Kaltstahl
2023-03-25 12:56 ` Zelphir Kaltstahl
2023-03-25 17:55 ` Ihor Radchenko
2023-03-25 18:27   ` Zelphir Kaltstahl [this message]
2023-03-25 19:01     ` Ihor Radchenko

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.orgmode.org/

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

  git send-email \
    --in-reply-to=93f9f065-a379-4f22-e3fa-4fb322da65c5@posteo.de \
    --to=zelphirkaltstahl@posteo.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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/org-mode.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).