From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EEZzJ0BL5GHT5gAAgWs5BA (envelope-from ) for ; Sun, 16 Jan 2022 17:43:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mEPiI0BL5GFmHAAAauVa8A (envelope-from ) for ; Sun, 16 Jan 2022 17:43:44 +0100 Received: from lists.gnu.org (lists.gnu.org [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 0766E33EE6 for ; Sun, 16 Jan 2022 17:43:44 +0100 (CET) Received: from localhost ([::1]:37510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n98d4-0002Ig-Pz for larch@yhetil.org; Sun, 16 Jan 2022 11:43:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n98bm-0002IS-S9 for emacs-orgmode@gnu.org; Sun, 16 Jan 2022 11:42:22 -0500 Received: from mout02.posteo.de ([185.67.36.66]:35003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n98bk-0003Fp-8h for emacs-orgmode@gnu.org; Sun, 16 Jan 2022 11:42:22 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 059CC240104 for ; Sun, 16 Jan 2022 17:42:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642351338; bh=dr/yO0J76oGbuOO7gsG/U+3gqXpV6QxQgoTqsTZ9rLU=; h=From:To:Subject:Date:From; b=f3222f/u1WAn6vPOVSs3YrcUcyrGnjJZT73wbRgnd2lgXdnTNIDPv1FwPaWt/e2Wi CGxgcnQZxHVWDlctga+L+2DdZJK7pEznxEnz+iP2jEoAIBPmsUfOADn7agP+NOQlTI HJnctt/0/hTOQZcWcFf7TmN9smkEfg/Dybt1Uwe9fQgNUC/CET1cUi6FwmLco3dYHz HdTbqlV9owonlBuHfpCbJ2YbZb7NUwwaixYguPY0BtIxCjIjnCxW1bXQpAy4uA8Hhe RgyOlclj7odsy5dr6LT792mlCiPFfujMpPGJRsq0bFFxBfOgFUfOSIuL6tWm/oAdcl IrlhC1Amcd92g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JcLRY3b1Bz9rxQ for ; Sun, 16 Jan 2022 17:42:17 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: [ann] org-font-spec-preview (preview fonts and test open type features) Date: Sun, 16 Jan 2022 16:42:16 +0000 Message-ID: <87k0ezeion.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642351424; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+M/2Pwp39SSHxrXBr2QaHgaAXx9vHdXxhLCxsEXPLE0=; b=qZsp4k/z6JuGG6ZvtrWdm5QWC9Nu6a9CkN5zl2LrugLUCaqtH4LR1nyAMnf47WpXUBCmdt 1eVSG5Xp3A7s4WHtuYa7n6yu1pBXcnIrNRfdwgBQHXUcckNuYSYFg98PYPncf47c6EA1Ob cwXNW2MOOuOvchHMvMiMX+GYtjCOThOZFT3bUV1fbAVUF2nc1eIGmElOEloFyX2io2Cfih hDNV9SrBarSvksyasX+OEsgGrIDwFPy5WY5LhAJAnAMCTTromIIHub4FBDe0G0P4oadr8F eOiiKvHUu8dw/imCwwjyqL4Wn2UZiDTqlou4aVPkGaFm2s76SBUg45ApOAqCrw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642351424; a=rsa-sha256; cv=none; b=aa/r/zoUQRg0m5WvK7r/QIesgq6n4X5Lg4u06RtFV5WY4/ElUR1IwCYgTP7KOGZZDJ7Thv UtGdO3iy/uqI8ourBSz7oiyQ2qRZYla3h76MSqBQPBhAY5rtilhqcosNq6KvMlwIuUuREC 2VUsKznwgy1rETXo3MkqzptJ5R+WMSrJ/ZUWDMRbcvds9+mPVOImKOezXx1KsdfZ+x6o0P 9yGKsKe5ZYwnnncsUDy75qN3vXrHEaHjGO6HerEFem7jVnYMGR+HOVKUA3IcI2mxg4X4aw 8+v9lr7ME3HZ0UYfIBl85AfVoowTveR+9ghO7YB0rWTnLsDS68EHIvfWicoxUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="f3222f/u"; 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-Spam-Score: -4.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="f3222f/u"; 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-Queue-Id: 0766E33EE6 X-Spam-Score: -4.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: q4AqBvkdwrcu Hi, I've polished some raw ideas that I shared here a few days ago, and I have written this little package: https://gitlab.com/maciaschain/org-font-spec-preview org-font-spec-preview allows you to preview arbitrary text strings in a chosen font (or generate a complete specimen) as well as test opentype features in real time. The preview is done in a temporary buffer, by executing org-latex-preview, and must be compiled with LuaTeX, since LuaTeX allows to load fonts that are not installed in the system. Two user commands are provided: - ofsp-system-font: Run ido and choose the candidate font from a list of fonts installed on the system; - ofsp-dired-font: Preview a font file in Dired. Feedback welcome! Best regards, Juan Manuel