From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Text scale mode and additional fonts Date: Sat, 30 Dec 2023 19:47:00 +0200 Message-ID: <837ckv4m7f.fsf@gnu.org> References: <871qb4dj8v.fsf@zohomail.eu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31677"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 30 18:47:38 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rJdQw-0007yY-4B for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 30 Dec 2023 18:47:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJdQV-0005bR-VR; Sat, 30 Dec 2023 12:47:11 -0500 Original-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 1rJdQU-0005bE-Hm for help-gnu-emacs@gnu.org; Sat, 30 Dec 2023 12:47:10 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJdQT-0002AT-Ut for help-gnu-emacs@gnu.org; Sat, 30 Dec 2023 12:47:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+l/l1D6afsZHfaY3ZXQr5HtNNDLYuHhMkZlNmqY9ygk=; b=WxFwg2F8tXzL SfQFdqaD8uX1fckFkYYIUwLPvaPR5fdB/FG5X8+VhwwAe2xZYpjTs7o2xHG4nggo6iHcx2OYFoZtU 3x32ca5OsrA1nwdnMRrSAM1rScQNP2rLs2wH4vAjfh+RZstFqsTE4iKD7VSwaShEBvyEjIL1HXxEV E4pTFPCY6BSA45A3TI6TGzdkrSAY4OFPiXrc+/fy7ekiDzwqL0j1u+r4A/1dPd5Pi0K+bZ2AiRxag TGo+GVoQIQGb9pm7DN2zIjOP8SthM44hfKL/w/RvMzQc2BjfR1KIjHlYQmOcmmNUNbDQl7vROTFLf 4mxq4B6g04SUgLXM7PEuxg==; In-Reply-To: <871qb4dj8v.fsf@zohomail.eu> (message from Rahguzar on Sat, 30 Dec 2023 12:10:31 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145686 Archived-At: > From: Rahguzar > Date: Sat, 30 Dec 2023 12:10:31 +0100 > > (setq +bidi-arabic-font (font-spec :family "Mehr Nastaliq Web" :size 28)) > > (set-fontset-font t 'arabic +bidi-arabic-font) > > this makes the initial situation better but now the Urdu text is not > affected by the `text-scale-mode` commands. That's because the :size attribute is absolute: 28. Instead, use a relative value, a float such as 1.5, then it should scale with the rest of the text.