From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29031 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: How do I control and embed the fonts in my pdfs? Date: Mon, 16 Aug 2021 07:42:13 +0000 Message-ID: References: <543536ca-7ced-4033-ad1a-ecdd3fedaf44n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29882"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBFVO5CEAMGQE6QTZZZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Aug 16 09:43:21 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-wr1-f62.google.com ([209.85.221.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mFXHE-0007W5-1W for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 16 Aug 2021 09:43:20 +0200 Original-Received: by mail-wr1-f62.google.com with SMTP id d12-20020a056000186cb02901548bff164dsf5171821wri.18 for ; Mon, 16 Aug 2021 00:43:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629099799; cv=pass; d=google.com; s=arc-20160816; b=qhTwZycNkCblFmk6+it4GsUKeM4Zk+j051UrW4bxIb4HMdXSTgBeXvMs7i+o5rDfOX zW3TVCz9iv6KPNisTqmOExLj1garxgwIr5h2FynJZcBkL0XLg0wzfjZQrpvLhZuY89sB zI0f3a9pC3tCZ6XyH6cxRXMVhAtO6q4I27z9+gmuiM3uHl/HyXqG94AikG6PR1o6iEJs p5anq91FB84loil916ptKpFMov59INvJocp/GCfeLTBaqIlBafSQOsgmk1/s3Jfcmd9R KIaPlNrZxBD+uzuco9PD8nI1RZSyr4tO2yp4DvQqOuD+W++IV9aRaZ7AdpVHn//SePAy G62w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=LWYJdm4O338OiYQees02bMb2rYAiYz0VGyVOIz6rIJE=; b=NW1yS5ASvk5Dd5TK10+pHWCAOphk2oKVtP46yNr426vpwU4PCQ8XdWsRL1+pV+EuNN dovFZ8eVA3WBcE/N+IPO0fFm3KIc3q6EUO2Pbe1oTyrYnqtvpk0Npf2/JjqrPJK3Nvw7 sY4sf4quiAQcnYiB3g2zaTejerKNEzZJ0pGa/jrTE0hFYL+JNDZ5tDEqb45dHjPdpv5w zm3exOKQcwvbuhAD/wo1PjmWTp1q2X4nE2w3HXj+PUWtRmiOSb4iIUr94iORAptk9EeF LcJDn1akCj4JktSeClLYqEEcd0+vpkiBbPzQ3jYgZxe48IsGvcMUTt7r2agO+qa5LJH4 yPyQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b="YAx1NXK/"; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=LWYJdm4O338OiYQees02bMb2rYAiYz0VGyVOIz6rIJE=; b=S9f4JuiFfQUaMHrkkgoNbvcrntmvQjI0jlEwtxZrn7CyjqGx7rB3YoZ2flDVvQxS3P lZtfIF0XZ4ZQNeNoIJktFC05mwBfgg9pC3avvYsaGA0RlIDBU0B/+7nOV0InwutTUFLl Yx+oOkQT0UPINxEPt5UU4DcILE4AXqYjDHQwnBXdflvjyIV91bpvNpbiwxAaMYVRgk4r xP3J3jHYh7/RK64uuEJvHk1McnV8BI40YxBHg3o6I7OXmGWxrXCjTNDnghZge8Ba4/ch GrRnKZDtSFFMz4ZWYXjT2AXkINj3Oz2SncEmrJzkve0gE/8UY9Y1at0uLEtUVT7kkxVI 2EpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=LWYJdm4O338OiYQees02bMb2rYAiYz0VGyVOIz6rIJE=; b=euAHtuM3FC6UPnlPEni3g5fVHV9hQMBG2Vc7q4Teac8I18tCFtPlKjiMpPmH7ilFGM MyO6AR2O8TEqaB72CdiNVmVRCfdmFo6zkISGOqQSYsh5xaRH07PjBR2WLOdmb8ihajbB mvcK+dNS5IH8YWMNcyk6ocs6cdXpzfnS5Swk9K6rHkXk+WfqCXSn2CtD/WThVEnhHnpQ z/T4EDXK/QGrmUrWx0sQ+cbW3/HfZ4O0kTfvTNt4N01JaMaptTE44y3rhlgm/B5HAynL eNUTjaCB1vmbChgHxvV8zUqtfIGb4SwlEYSswfGpOm72 Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533BGsThU7tRKvt8S5lU7ORa2rKZWiEnjWOcPf9Vw0qefTPVNiAz 48p2rNIB2rA18hxn57t/Tlw= X-Google-Smtp-Source: ABdhPJz3Sk28GPNTWsTjZ9sTS3VQiuys8EzMsMRsLDZuup8NvS7cpoyoz5wtSHXsMIGDL7u1aAygeA== X-Received: by 2002:a5d:456d:: with SMTP id a13mr12058275wrc.364.1629099799730; Mon, 16 Aug 2021 00:43:19 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a7b:c4c3:: with SMTP id g3ls3718690wmk.0.gmail; Mon, 16 Aug 2021 00:43:17 -0700 (PDT) X-Received: by 2002:a05:600c:4e87:: with SMTP id f7mr13015509wmq.42.1629099797335; Mon, 16 Aug 2021 00:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629099797; cv=none; d=google.com; s=arc-20160816; b=YpcOEt41J7VEtxtxOW0YDbKuxdguaQNJZzzMXQOJr6MMUCrWjucHTq1dRsLzM+lGK5 Vx1OMlP2nccfkItvSPn+10LGjUXS2/K9kUByKZxVtO3vb1P32IwG1D2eQUprruxbOgBO DFQ6I0ECejl3CeAXZYsBAX1s7nujHtk3Dt0MxmjoD/C016ZYLbPhrBk24ClgIKUMyyqW +9QjVt63HJowMgDx/XsrLAwhE32/nrNfyZMGfklJ5NwfWQrIy1jVJI8xY2hEVT+bpJeC G00tYqIKZ18zB8aGaEVBDt3XZ4G+GuyuBlC2dx0wdPp4KY2bdaAc1Qig+xReQYdfnVj9 P25w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=C5Cy7O35hXeD5LgXyL7DyusactcEB6VLlsF7iT9ya0g=; b=TmH/FMKJiaXD4zpPPL3dXTyuVwsq3nni9qESw2qwQbV3iRWbBy0pux/ChHXef8CkD/ dsnYsTywzIX1moFvzFkVHdMjbwRJdv8nvMvTj7nxgroM9bDCX3YpKVaJFuLXjwmEc1E9 JpG67eHZr1B4FdyHKO8rbsXmp7xJSS2aWjO5fu0sBQaq74ScRTbeKh7XsQpYErVuNjjJ gYSbiUruqSHDzmvn5FX7TuFLqW0C/AT4zv148/O3GleP2sKRBl0XtXT5iX+jMu8vHXUk K6KNj7h+5WzeVugYiLAjsyGzRh5hyAFGC8cO7HoOUzIQYTJaGEkvQrtv+poq4nlDCQl8 hlJg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b="YAx1NXK/"; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id l35si340396wms.1.2021.08.16.00.43.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Aug 2021 00:43:17 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 96E97240101 for ; Mon, 16 Aug 2021 09:43:16 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gp5kC6wVlz6tmN for ; Mon, 16 Aug 2021 09:43:15 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b="YAx1NXK/"; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29031 Archived-At: For font selection and recognized names, see the fontspec documentation[1] = p.=C2=A09-11. >From my experience, it seems to me that fonts are always embedded unless th= ey forbide it. Although there may be more straightforward ways to check it,= you can install pdftk and run `pdftk myfile.pdf output - uncompress | less= ` to check it directly in the uncompressed code (go directly at the end of = the output). [1]: https://www.ctan.org/pkg/fontspec Le Sunday 15 August 2021 =C3=A0 09:58:26PM, Hugh Esco a =C3=A9crit : > Also, how can I ensure that the font ultimately gets embedded in the resu= lt > file?=20 >=20 > -- Hugh Esco >=20 >=20 > On Monday, August 16, 2021 at 12:55:50 AM UTC-4 Hugh Esco wrote: >=20 > My tests seem to indicate that the fonts which are available to me ar= e a > function of the value of the `--latex-engine=3D` switch.=C2=A0 >=20 > If I set that switch to pdflatex (which seems to be the default), I c= an > choose any font installed as a .sty file at this path: `/usr/share/te= xlive/ > texmf-dist/tex/latex/psnfss/`, by setting a value to the fontenc key = at the > top of my markdown source file.=C2=A0 >=20 > But I have not been able to sort out how to access other fonts instal= led at > `/usr/share`, by setting the `--latex-engine` to `lualatext` or `xela= tex`.=C2=A0 >=20 > All my tests seem to look alike, and changing my fonts has no impact = on how > the resulting pdf looks.=C2=A0 >=20 > Can someone please point me to some documentation which would help me > understand how to use the full range of fonts available on this syste= m, > suitable for which ever value I set to the `--latext-engine` switch?= =C2=A0 >=20 > Thanks, > -- Hugh Esco >=20 >=20 > -- > You received this message because you are subscribed to the Google Groups > "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= email > to [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [2]https://groups.google.com/d/m= sgid/ > pandoc-discuss/a038e9eb-401c-4e63-b44c-86ec89d76e60n%40googlegroups.com. >=20 > References: >=20 > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/a038e9eb-401c-4e63-b= 44c-86ec89d76e60n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/YRoWyjkn%2BeewGWRV%40localhost.