From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/24436 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Craig Parker Newsgroups: gmane.text.pandoc Subject: Re: Why does Pandoc fail to create a PDF for certain fonts, but works for other fonts with otherwise the same command? Date: Tue, 11 Feb 2020 09:46:50 -0500 Message-ID: References: <87lfp9nr1b.fsf@fastmail.fm> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------E1ACD7F0398152A751A7A5B0" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="2330"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 To: tutiluren via pandoc-discuss Original-X-From: pandoc-discuss+bncBDAZNM4HRACRBWVMRXZAKGQEQCDDBNQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Feb 12 02:35:26 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f184.google.com ([209.85.167.184]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j1gw1-0000Wp-QZ for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 12 Feb 2020 02:35:25 +0100 Original-Received: by mail-oi1-f184.google.com with SMTP id 21sf173965oiy.15 for ; Tue, 11 Feb 2020 17:35:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581471325; cv=pass; d=google.com; s=arc-20160816; b=E7NJlQ+jIFxWtiwu65UHrN94959sYOXDN8peKz9GtOvXPeJcMNe21TDqhNtPpeKGHb hKSyj9dVxmwL6Yzp2SYBRjFNLNVK8dVuUwGW7xDxgEYjQ+x9RRLXDu9LWI4tfMl2K5hO G0BrG3V2+Sr0Ql5S/wVxKOl+HXMuOApCbFJH+8kmvAQZEckejyXFyntAWibB7LtCyOZE GuzsRO4J1EsZhXlbkNHmf9kfNtpNuqFquApgs3xuXwNGp9i77qoMg2lR6MOZlEqn34hX 10M3HeO/Ual+YM1hsi1xLpwr0/r87BMv/1+zvamjADvWI09/Hppn/n4HIATQVfctXvvZ N7Cg== 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:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:sender:dkim-signature; bh=uootZ2Mnszioc6nPvSHWmA+433KxiKDIpqn9XLoKcgM=; b=aeuqZldiCBClrPFm2O2EDrK+E7RwfMJg/bAciWis3PvQHkTnDyYmQZivAc424giCGh rthTjFRDQN7pYRQOcTO0anNMEIqcN6+pq+wsbYVILNT1fOaLvxa4FoRb9AcpTCSYF1TD kwQW3Rp9IN1cfc12OPqtGB4P2jp44WqHl2Gw3W+ltle4/Igc5RbEPvlfY81zW2MX9R/l 1F/0IakMQs9t6YeZgs09SPf4qiTmzy3zz+zBZdtpNyqdOhXd4jfSTIVG0MOH7R9gNuuy /nMGjZqV0AmL6+M/pRlAIPk+9r+rlkrQ/J5hdroAB0sDXqdT1L35pqX3FDpNowNSBebF hgWA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@linuxacademy.com header.s=google header.b="Lrr0Zjr/"; spf=pass (google.com: domain of craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org designates 2607:f8b0:4864:20::829 as permitted sender) smtp.mailfrom=craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language: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=uootZ2Mnszioc6nPvSHWmA+433KxiKDIpqn9XLoKcgM=; b=S6QTzgC40MVb0zdmzrbDI+c7Hzo0pY6Xwu8MInhV9Kmmwo+FUkpdUnHowsSodh2kca Ax++Xrh2bCA20tAkpM7evSWjHL5+LbWvQ0Ec6awN2ucEdkCM0mW5zOFtq31cXq+fF9/N COKA1cUefUXdLhs3sgPKvEb13dp6+qQWogLHfuvXGevQIIFt2DN65J1Gq/JIaPdcVh7k 9+cMr8ZOXQReeQPy6hPGZGPtvkJli89hkg6qb2f5H4wlbwHYXRaKhXh6hAo1PsfYsfRv iQktXsUqvtNnFiDUcd+YbRudY/52I86/P3dlTiZRTudjrQR174tbt/yjZbv8jg+7TV5q O5Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :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=uootZ2Mnszioc6nPvSHWmA+433KxiKDIpqn9XLoKcgM=; b=i5wx4VIYUvpTuATW/cNnWal/q4mE2Bw/l7pZQVe9Ld+U1qFYOYm73Trs16DTcLa5Yb 1vYnG8XiNGcFoDA3DCLe21A1KR9JqZQbCSRLNQ6rx+nTQNV76CVfDes1vb1JQvqu7tb1 b18p9Z52disccb0Ibf2+aIWUGbmjademzNxJcmzFdREE732aKkbITGrx1D+kRJn8qXTZ JXQd2MIOwOiZUy1UKf5XxaynvHLwjcQSRODkWaoR6XVXuhlI6DpoNBdH3JW3rq0yRNQY HHMREqaTzXJ+S/Y1rjhL3Jvq2MBIliSwMCblEg1xt5PUwBQv9Pcmm0vQBRVYipEkH4K0 eQhA== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAWNsVmr4ZUKe4SlXYmBVXz7qsew/m2r1G4sJyYsscldztknQ/JE 7OkKon+ymdpLthX6imP4eFM= X-Google-Smtp-Source: APXvYqyPK7aA1EUOEJXi2+Bof7a0ih/hM9XtwPEygxleXDXannrY3WgZGhRz+FjdPFeBv8qjxpZpgw== X-Received: by 2002:a05:6808:181:: with SMTP id w1mr4861316oic.176.1581471324832; Tue, 11 Feb 2020 17:35:24 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:649:: with SMTP id z9ls6168713oih.3.gmail; Tue, 11 Feb 2020 17:35:22 -0800 (PST) X-Received: by 2002:a05:6808:ab1:: with SMTP id r17mr4569246oij.141.1581471322563; Tue, 11 Feb 2020 17:35:22 -0800 (PST) Original-Received: by 2002:aca:c409:0:0:0:0:0 with SMTP id u9msoif; Tue, 11 Feb 2020 06:46:53 -0800 (PST) X-Received: by 2002:a17:90a:c389:: with SMTP id h9mr4318507pjt.128.1581432412663; Tue, 11 Feb 2020 06:46:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581432412; cv=none; d=google.com; s=arc-20160816; b=Rwzx0FI22QxnyJAVcgbdYtYccTLcQEzbhU1J0/lEiBT29XrO1esklpQw4tpvx5g0Kl plVMPPbFvmKig1UROedFQrWPQWQEoA4keB5MHAtzQ4K9ZJHDL6+omDqloQidbLczCb0v QAhyTxdh+DE7j8VIhBXIXLEyzPAkhIXSCNadqUDyc/+biGmiCMY5wSXB1jVy9A7IieXq TzZDulsHsFJyI/j935gNDV46KzOE+XBp2HvSsFElW6J/fIWNetZkMbIlSWLy0EVuwE56 96zsVOPvmCIRPluxXCns9wSmPRB1/epYiS2b+8dhT7jRrNbUHYccRh6r3VwI7UeJ8gpg V/Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=LZRucswWtycn1C4DQwF6jYJ1qZkLOrP86iT8qxPdMH8=; b=ImKQSP9ZrLEczUNlx5QYv08tSHcoUT6l+KIvtFPyPGy/YNrzE7LbA6uAMHuyD2aCDd 5mWig6rr+/2r8T0FYnTE+QSzK6iGzmovxYhUzdqYjRsHwAbgijagm7Apv/Ze7tEjxmth 5i3+UtOGs0bN0j9wSQZGrcB6Fo4wKovWCyHY4b0q3pb7JH4TqL0Tqr7knTRT0n6Z1zW8 2pdItRHeNAeDIZrbWyrw44sOtOd2nedupCUC3Wboneuua3pzUtFdt//fnvoGOcizxmVD faOWxoDPktC2ELxZ7aaVLjKuS6L+asL2g4QXkiKweb6XAAEcwjZdwKCrrMPR0AF3OM9g 7qNA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@linuxacademy.com header.s=google header.b="Lrr0Zjr/"; spf=pass (google.com: domain of craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org designates 2607:f8b0:4864:20::829 as permitted sender) smtp.mailfrom=craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org Original-Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com. [2607:f8b0:4864:20::829]) by gmr-mx.google.com with ESMTPS id y13si199932plp.0.2020.02.11.06.46.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Feb 2020 06:46:52 -0800 (PST) Received-SPF: pass (google.com: domain of craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org designates 2607:f8b0:4864:20::829 as permitted sender) client-ip=2607:f8b0:4864:20::829; Original-Received: by mail-qt1-x829.google.com with SMTP id d18so8072299qtj.10 for ; Tue, 11 Feb 2020 06:46:52 -0800 (PST) X-Received: by 2002:aed:2202:: with SMTP id n2mr15768764qtc.4.1581432411848; Tue, 11 Feb 2020 06:46:51 -0800 (PST) Original-Received: from [192.168.0.106] (d-24-233-97-107.nh.cpe.atlanticbb.net. [24.233.97.107]) by smtp.gmail.com with ESMTPSA id k29sm2256250qtu.54.2020.02.11.06.46.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Feb 2020 06:46:51 -0800 (PST) In-Reply-To: Content-Language: en-US X-Original-Sender: craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@linuxacademy.com header.s=google header.b="Lrr0Zjr/"; spf=pass (google.com: domain of craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org designates 2607:f8b0:4864:20::829 as permitted sender) smtp.mailfrom=craigp-UzRat0APdLvLPIzirxu/xA@public.gmane.org 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:24436 Archived-At: This is a multi-part message in MIME format. --------------E1ACD7F0398152A751A7A5B0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable The list has already seen this, so I'm just sending it to you... Give HTML to PDF another whirl. It's fine with WeasyPrint. I've got a=20 walkthrough (and a template you can grab on github) here:=20 https://linuxacademy.com/blog/tutorials/convert-markdown-to-pdf-tutorial/ On 2/11/20 9:44 AM, tutiluren via pandoc-discuss wrote: > > The info I'm finding on the net is that this indicates the font > you're using is a Postscript Type 1 font, which XeTeX doesn't > fully support. It should work if you use is a TTF or an OTF font. > (The file name should have a `.ttf` or `.otf` file extension. Type > 1 fonts will have `.pfb`, `.pfm` or `.afm`, according to Wikipedia.) > > Thanks for clarifying. However, the file name for Courier/Courier=20 > Standard on my Windows 10 is actually "coure.fon" (it was tricky to=20 > find out, because that particular dir behaves very differently from=20 > all others), but the same principle holds: only "modern" font formats=20 > seem to work. > > There sure are a lot of death traps on the way to converting a PDF=20 > document! And this is for a fixed-letter-size, fixed-column-width,=20 > plaintext document... After the nightmare I went through a few years=20 > ago, I won't ever even *try* to convert a fancy HTML + CSS document to=20 > PDF ever again! > --=20 > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send=20 > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 > . > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/M-ohGso--3-2%40tutanota.= com=20 > . --=20 Learn by Doing with Linux Academy Multicloud Training=20 *#1 Learn-by-Doing Multicloud Training Platform* =09 =09 =09 *Craig Parker* Technical Writer Schedule a Meeting or Call 125 Bear Creek Parkway. Keller. Texas 76248 LinuxAcademy.com Learn faster and deeper with REAL Hands-On Labs.=20 =C2=A9 Linux Academy, 2019. All Rights Reserved. Pinehead=C2=AE and the Linux Academy Logo=C2=AE are registered trademarks o= f Linux=20 Academy in the U.S. and other countries. Linux=C2=AE is a registered=20 trademark of Linus Torvalds in the U.S. and other countries. --=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/e6ceb7c0-b82f-cc32-e25e-e0fc5d961104%40linuxacademy.com. --------------E1ACD7F0398152A751A7A5B0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

The list has already seen this, so I'm just sending it to you...

Give HTML to PDF another whirl. It's fine with WeasyPrint. I've got a walkthrough (and a template you can grab on github) here: https://linuxacademy.com/blog/tutorials/convert-markdown-to-pdf-tut= orial/


On 2/11/20 9:44 AM, tutiluren via pandoc-discuss wrote:

The info I'm finding on the net is that this indicates the font you're using is a Postscript Type 1 font, which XeTeX doesn't fully support. It should work if you use is a TTF or an OTF font. (The file name should have a `.ttf` or `.otf` file extension. Type 1 fonts will have `.pfb`, `.pfm` or `.afm`, according to Wikipedia.)
Thanks for clarifying. However, the file name for Courier/Courier Standard on my Windows 10 is actually "coure.fon" (it was tricky to find out, because that particular dir behaves very differently from all others), but the same principle holds: only "modern" font formats seem to work.

There sure are a lot of death traps on the way to converting a PDF document! And this is for a fixed-letter-size, fixed-column-width, plaintext document... After the nightmare I went through a few years ago, I won't ever even *try* to convert a fancy HTML + CSS document to PDF ever again!
--
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 pandoc-discuss+unsubscribe-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.org= m.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/M-ohGso--3-2%40tutanota.com.
--
3D"Learn

#1 Learn-by-Doing Multicloud Training Platform



Craig Parker
Technical Writer
Schedule a Meeting or Call<= /a>


125 Bear Creek Parkway. Keller. Texas 76248

LinuxAcademy.com
3D"Learn



=C2=A9 Linux Academy, 2019. All Right= s Reserved.
Pinehead=C2=AE and the Linux Academy Logo=C2=AE are registered trad= emarks of Linux Academy in the U.S. and other countries. Linux=C2=AE is a registered trademark of Linus Torvalds in the U.S. and other countries.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/e6ceb7c0-b82f-cc32-e25e-e0fc5d961104%40linuxacademy.co= m.
--------------E1ACD7F0398152A751A7A5B0--