From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id eNtXGPJEH2Qo1QAASxT56A (envelope-from ) for ; Sat, 25 Mar 2023 20:01:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KEZ/F/JEH2QYEQEAG6o9tA (envelope-from ) for ; Sat, 25 Mar 2023 20:01:06 +0100 Received: from lists.gnu.org (unknown [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B96B6F4D8 for ; Sat, 25 Mar 2023 20:01:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pg97L-0001U7-0v; Sat, 25 Mar 2023 14:59:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pg97J-0001Tl-E2 for emacs-orgmode@gnu.org; Sat, 25 Mar 2023 14:59:53 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pg97H-0001PU-4J for emacs-orgmode@gnu.org; Sat, 25 Mar 2023 14:59:52 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0AC1524024C for ; Sat, 25 Mar 2023 19:59:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1679770788; bh=+fE7dPW9pKBU7VXVaOVJecMjuzDghi9j81B4PIRJjho=; h=From:To:Cc:Subject:Date:From; b=HOgPkhFirXwZm/CmAwrGnihIa73OBsVZZG1U3Mle5n5rBDBemYX53wFrNcd/TyOhm PYB41pBQwAae/Spsi76SqxTivzZB4UMlsobolEJ7Pm/gyEkjNxF9klAuuxDaBXbq+7 WHtJr5ZSNnSGPQlldNeVwytDGTqM3WGAqlOTU6QkfamlcrWeQ3qC5UA02kvEKLZgoO 5gZQJGGDUfjfKfFt9E/IoGJkJ3nPM5gpaUlJcmsey25727o8kWy5413PFtcGINSqKU Dt1DSyB03nzY08tC7Y5sQqEjHsEYCUQEH+O8XYNdLglgA/ZMPgG1xUL17FzWBwK4UR vYmJSi9ZA2+3w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PkT0J5SJpz6tmS; Sat, 25 Mar 2023 19:59:44 +0100 (CET) From: Ihor Radchenko To: Zelphir Kaltstahl Cc: emacs-orgmode@gnu.org Subject: Re: org mode table alignment issue with CJK characters In-Reply-To: <93f9f065-a379-4f22-e3fa-4fb322da65c5@posteo.de> References: <66e9f2d3-5f7c-e925-a0e3-832d081b4365@posteo.de> <871qlcogw6.fsf@localhost> <93f9f065-a379-4f22-e3fa-4fb322da65c5@posteo.de> Date: Sat, 25 Mar 2023 19:01:43 +0000 Message-ID: <87o7ogmz8o.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679770866; a=rsa-sha256; cv=none; b=dhPFhtKJ1CU5+CmcO9TlYM994IQM9p647tTaAqUIpmJiMFrvOZYg5U2Woo1OWZfsopOuX3 qZTbGhqiFHMi56x/EWClLuEbiu+07P56gTd0H4BaBn1K4BBVhxbJMUUTeuZy7Ie6iwnP3h eP8j8UYdB6Dxal3tHcXmuO8Cd63yQZIz4HyuPh+Bdn/qEtPRm4fwXlAQFIDupQf5ViRh+p VdFQjl0WPb7EovPIK2TM09j9ml22Lqk6kNF9HC69LWiCYgpB+PXvcrWhh8WS61o5ZxEDl3 pc5w9l5k/qPbc4Zflv8VfPWMuWQ1z8/xRM/OH8uu+ztNcgNFaHGoRYbwJTKVhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HOgPkhFi; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679770866; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=R8Y42riqmh/Jj7cb5TJz30K52MuNIQO8T6Gz8j08rYI=; b=obweA6Glq+5sTwnz9N2ods/Kt0p1UIH3m7gfmttEAo9xkNIQS+AHMDvEDhW/JkpPDPN8A8 Q3P7WDAFMA4Fxt7otiXr4xF8yvX3eAcCu70O6jE9M54mKbgHV44ZGB66ZL8TDBs29Z1y2i DwVeVsSERHWDqgd2J7tyVdKY1f07ySyUa6YC5O7m3VseWDokmMy35jseroJri5JlPdoPnw xb7onKOPqwVetrDf175cgjkeCCm/SX2HUpVPVZe2onYpFVOpQm99lF7o+VlkxxsDeXaJYX Vhinik9AUvVwue11xCiC7e9wGNVYXcNiRxbB0Ry5UDlvljaLFbgeWIsPZIhoeQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HOgPkhFi; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.75 X-Spam-Score: -3.75 X-Migadu-Queue-Id: B96B6F4D8 X-TUID: h2qnBy4mOTfY Zelphir Kaltstahl writes: > 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"? I did trial and error. AFAIU, it totally depends on the font's width-to-height ratios. AFAIK, Emacs tries to make all the fonts have the same height - leading to horizontal misalignment you observed. The extra custom scaling will make line height vary for latin-only vs. latin+CJK lines. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at