From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Soham Gumaste Newsgroups: gmane.emacs.devel Subject: Q: Custom fontsets and using a non-default fontset Date: Mon, 2 Sep 2024 15:49:41 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13021"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 02 22:51:15 2024 Return-path: Envelope-to: ged-emacs-devel@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 1slE14-0003B6-Th for ged-emacs-devel@m.gmane-mx.org; Mon, 02 Sep 2024 22:51:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slE0I-0007gZ-4q; Mon, 02 Sep 2024 16:50:26 -0400 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 1slE0E-0007gC-3A for emacs-devel@gnu.org; Mon, 02 Sep 2024 16:50:22 -0400 Original-Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1slE0C-0003Pe-BO for emacs-devel@gnu.org; Mon, 02 Sep 2024 16:50:21 -0400 Original-Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-2052cba6477so1340065ad.2 for ; Mon, 02 Sep 2024 13:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725310218; x=1725915018; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=iu7Bml/uF0Z+CVEPXtrYb34hvaheiFjongV2Kt/PH/E=; b=St0+xpugSXQGkMpw3gMg4z08Td03AHFGlBZXT9FU3gPhUfpc0NRbGihegrOUF1XsK1 KP4QYtdzRP//h83s9787trjfzb8qkWMoMd1My0fDKQ5U7kM0KsIDU3DZo2O3CMZWthUX 4ITexzjvS8P9nVmrteU1v75P/1KbHKyBt1xLrG8mkC1rfr/axmFxgVyrr7+GPyxd8bbG txqpPWChPJ/0G5hbjtK4ySuo/vS90NHojxEJoPdGvhd70E8wnSqt0XGVbW7+Q9KHzotO j2iSdE63YDGabxhr3/XDwDZFaCPavLii7bHlJqATovMRveSdAjnf9TeUhUx9vPCD2o83 1uLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725310218; x=1725915018; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=iu7Bml/uF0Z+CVEPXtrYb34hvaheiFjongV2Kt/PH/E=; b=JSBkXTFURpGlxmeAxDWq+PLAWX7WyVz7EI6xG8Z/HT7qOD64Zsr0niZSE3PcbXILhw /Eqfn2B3ne6w1NXIQU65UwR6EazXe/fi622vlsAv0imm2i7SKeO+8joTHIVGwfzy/1Qd nu6SBLZnRurkWwzObbVuFzwHGIVGBkmgcT2F3T0dYFUOybWshECuEt0meBk8sq/A8FD2 p7bYA20isg8Frn+xBK3fg1JjkHtfQWCnC3vZ6FAxtPAmMRPpOoTg7Uw2kvfUi0WQ700E bOXszedpqWYrUlOWHL1Z5gSEcG/ilfTqTGM+1aBk6xi/k9/ZM1C5Zrei4Hs5jhy2ah0Z AHtw== X-Gm-Message-State: AOJu0YwHHIvUetmAxq84hdyB/Jsn7fmnk1zhm951WvVTVI8Xj7zKh9bH EOiYKW9nhBiCbLB8GAZIAnNYqsOiB7pWOYjyIMPjCm8bbqC/JV7+Gycoke10B/U/wLlz709toE6 qb/M4KjbqAGOipNxUU7CaeH7QCZzM+RMdCXU= X-Google-Smtp-Source: AGHT+IHG3AVBc5eVKomet/iIhDcr2GWuPpREX3LBKNlbV+RccFQ133cDaqvvnNwSAkbH2L1MsV3K3OcL1xUVzhArUiU= X-Received: by 2002:a17:903:18a:b0:206:8f25:a3d with SMTP id d9443c01a7336-2068f250d8bmr6595845ad.4.1725310217376; Mon, 02 Sep 2024 13:50:17 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=sohamg2@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323311 Archived-At: Hello, Recently I got too curious for my own good while messing with emacs (as one does) and discovered fontsets and transparent usage of multiple fonts for different unicode points/scripts/ranges. I discovered this [1] reply by Eli about *not* messing with creating your own fontset and rather just using the default "fontset-default". I did notice I am unable to set my own fontset as the default or the one in use as given by the frame-parameter 'font. How do I learn more about emacs fontsets? Is support for user defined fontsets something thats in the works, or is it just an internal API? The reply in [1] is around 6y old which is why I am curious about the current state of this. A use-case I have in mind is switching to a non-programmer fontset for presenting Org mode documents with org-present. [1]: https://www.reddit.com/r/emacs/comments/9l3n3y/comment/e750a2x/ Thanks -- Soham Gumaste sohamg2@gmail.com