From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/24425 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: tutiluren via pandoc-discuss 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 15:44:10 +0100 (CET) Message-ID: References: <87lfp9nr1b.fsf@fastmail.fm> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_7034_702349666.1581432250256" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="116881"; mail-complaints-to="usenet@ciao.gmane.io" To: Pandoc Discuss Original-X-From: pandoc-discuss+bncBCTLFMPUZ4LBBO73RLZAKGQEODLZ2YQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Feb 11 15:44:14 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f60.google.com ([209.85.208.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j1Wlp-000UJU-0g for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 11 Feb 2020 15:44:13 +0100 Original-Received: by mail-ed1-f60.google.com with SMTP id v11sf9408606edw.11 for ; Tue, 11 Feb 2020 06:44:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581432252; cv=pass; d=google.com; s=arc-20160816; b=bK5zMybdyOWpftQ/nV4APfdIReQSaw58Q+zI1LjJ4rBH0Y5zzSai4x+26r0HqH6GJw pySF8YxK3hiLavBM5RObmaHut1t++0Dro/suKWSqPPMGkl5XYvBc3KMsulPnbS5RbEqU y3rsfIT8DREoO5OGppFf0rM06XaUutLj9p2vzTHuebDVogm2N3zEaG8n9N2wn2Xccm6U U16MU5tzSZR3GXDElWWhk+XIKZaOpwh+zLNMXnooHKYirqMIOn84JCQLtOPFO3YKE8Qk qWwRd2ee4hqWXeKWhr13JYiUrrw2uk9M01csBAxxYjLorjlL+1XstjM7cT9lxYfaheXG VspA== 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:mime-version:subject :references:in-reply-to:message-id:to:from:date:dkim-signature; bh=0ZzB4dCx0M3z6v208FMoH9y9Vxgt+4xW7KTeaBSOgIw=; b=ZByLcnvKSMPuJ/JO7siwX2FSRe8HypJKnwKQNNzq3knjY9vQ5gtWFcC4oBgh7JtCIB LYWEFSqVDznvDClKntRhZ/eIlHsucELIeXFoPxuSsJrn7MQRUkgA+Z1FkBXR7RVQI2m0 F1asKm6ZhS2FtSYAfOeyjs65alcTkwevjQS/lXm3ZVHQrYKdMzGSizh6mgjo22IbPSBI WGq2SrlyCmdMmy7UCkm10iQNzIYPf79CiBlwF+4EYqf0T+pBYCDj2qZX+YB7zbZr1SRE TLOINHhBO0FcVmjffQIp2sN0LkzxFGgMmTnxpHEdXsyGReJKZydGkrkczXS9zNGuA1wR 0HOg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@tutanota.com header.s=s1 header.b=JwqyH8DR; spf=pass (google.com: domain of tutiluren-q7wo9g+UVklWk0Htik3J/w@public.gmane.org designates 81.3.6.162 as permitted sender) smtp.mailfrom=tutiluren-q7wo9g+UVklWk0Htik3J/w@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tutanota.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :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=0ZzB4dCx0M3z6v208FMoH9y9Vxgt+4xW7KTeaBSOgIw=; b=VlWkotT7UENHejG1S1Qod3ibxLIKu2vtt4Q0hsBDea7PW4fCumGxOs6DYP+WUWRRk8 +tA3fRolrKkPJ5ILbirIKbXpG3DRRqZYH4AXZVjBvP9l3OXjBu+e2+/6st/BAqg74Ajr B72ohnVm6ZUEE40YtnUzcXm03wgg8wifsB2CHzRY+MBMjCAwvt8bN9XTLH8gBQL//IUS k4RC87JgxVaPVpPbXw3wmUS0Di2Nlknp4L2J4oG8QknwmvnilrpUSnR9TlARZbtmCiWu IA4hNdNzL2cEM+6/ijoR5oX8egcGEeHYyXbBF4ryFyR8aDYlNSumv3B7G86/z/AK94BO VJ3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version: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=0ZzB4dCx0M3z6v208FMoH9y9Vxgt+4xW7KTeaBSOgIw=; b=sqQR9sLOVfgHFc+bEnIj3uzN4I0IO+Xxd/lJp/Yc1tjJ4yVFfwhsEVE4CAxkvx3q9w Put8ZrFZexs2VX0Okd6V3tHcztF21pDd+6C40eVukJe7CYBfFccDLA6eC31lXzqyL8Vo F0O3ID34yr+akhtMUdbK4b95Udo3wwSScED8zAwDeU969yBMdw2pJ9+FW29WBdYgjtdW NuqS3JCyPGfr5lBpQhqmuf9tJg2oOKW/D7riIVV2dg8bp8WWuEw8VqPZF8jWcX4ukPUT tvDXmJVTXYzpxOjH1D0yvWBwqs7siu8c6y3MwAv6rfYERpdtrcq1qVdygenu7gF+cBww eVUA== X-Gm-Message-State: APjAAAWxUZbxESc3YhMPXHfB20gfx8X7mOFFGGpeApaBoMaFW0PX0WUd mWVOsCEPsc26q52wJK4sFeo= X-Google-Smtp-Source: APXvYqz31MNOITF2iasHk6tX8vg04gt10Qcq4ZVH5sGEseEfp+9fgBmQM/UXZ3z7ltzniaBfixspMQ== X-Received: by 2002:a17:906:7c47:: with SMTP id g7mr6565140ejp.281.1581432252693; Tue, 11 Feb 2020 06:44:12 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aa7:d9ce:: with SMTP id v14ls6274187eds.5.gmail; Tue, 11 Feb 2020 06:44:10 -0800 (PST) X-Received: by 2002:aa7:d285:: with SMTP id w5mr6397943edq.246.1581432250579; Tue, 11 Feb 2020 06:44:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581432250; cv=none; d=google.com; s=arc-20160816; b=sIZY616fe/H2GflUH4Nbk7q/2uwgEf49gxer4HIhgtSriuhTJ5F3Di8kRinfE/sXIU If8DuTeBgp+IVmDFxTW+ff7mqdFyL0RPc12EuxgejHynYJ3S2owImKC9XphjSgj3sbIs pPKsOOvIk1YJ/czf7piwb6yiL8XXbVo0iy7xPTYHJNxZGfU44CvyP8/5oRChSRdt5YYM 4TTn3nFs8/tJ4TVcrPXlSfHoxLDvI25jRHPRODgGHX103Zu0SVhCSxQ2mSFcgg5iE6cs CVHPbqWTBpVkL0+hl/EYuqgINOz39yDKbVJ5l06jtA8OEyuTP74NjdNvhEcoDRVR1Brh fKpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:subject:references:in-reply-to:message-id:to:from:date :dkim-signature; bh=S9ZnoTSCet1eknmsxnh55q9sKD/9sSqdeuj6zo6wJ3w=; b=KHTCui0ro8iMvbvJBfv7BdesbLSDET3v0b9Gf96++pnuPM1yQKQmUQcAJO8I8g5dqP x460ERNIB4+ROwaxPjL8irvDi8jWbfs86hx8TjXejUYiKjUYiTu8pKGOzdM4mpGaN1d5 D0RmGzPOB0jWhCrXrH0gJDqZJDjOh9H0XGUigw4keR0NgcMhV0a9B1MMv4ll1145vCQG 90LofU/qGLXzAyOLzQyZmFcJJ9pd0QPhCj4ZffRZgX+9PrPsArVi0LRU+nCfcF89mS/K n/nJi/3X5eUPV+Qd6edbR+I00p4kY/hPRh1XfhckqlddCluWQB8Hg0NGy0v05cBDUNCJ M8ww== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@tutanota.com header.s=s1 header.b=JwqyH8DR; spf=pass (google.com: domain of tutiluren-q7wo9g+UVklWk0Htik3J/w@public.gmane.org designates 81.3.6.162 as permitted sender) smtp.mailfrom=tutiluren-q7wo9g+UVklWk0Htik3J/w@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tutanota.com Original-Received: from w1.tutanota.de (w1.tutanota.de. [81.3.6.162]) by gmr-mx.google.com with ESMTPS id df10si215861edb.1.2020.02.11.06.44.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Feb 2020 06:44:10 -0800 (PST) Received-SPF: pass (google.com: domain of tutiluren-q7wo9g+UVklWk0Htik3J/w@public.gmane.org designates 81.3.6.162 as permitted sender) client-ip=81.3.6.162; Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 40A20FBF3C4 for ; Tue, 11 Feb 2020 14:44:10 +0000 (UTC) In-Reply-To: <87lfp9nr1b.fsf-97jfqw80gc6171pxa8y+qA@public.gmane.org> X-Original-Sender: tutiluren-q7wo9g+UVklWk0Htik3J/w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@tutanota.com header.s=s1 header.b=JwqyH8DR; spf=pass (google.com: domain of tutiluren-q7wo9g+UVklWk0Htik3J/w@public.gmane.org designates 81.3.6.162 as permitted sender) smtp.mailfrom=tutiluren-q7wo9g+UVklWk0Htik3J/w@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=tutanota.com X-Original-From: 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:24425 Archived-At: ------=_Part_7034_702349666.1581432250256 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > The info I'm finding on the net is that this indicates the font you're u= sing is a Postscript Type 1 font, which XeTeX doesn't fully support. It sho= uld 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, becaus= e that particular dir behaves very differently from all others), but the sa= me 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 docume= nt... 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! --=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/M-ohGso--3-2%40tutanota.com. ------=_Part_7034_702349666.1581432250256 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

The info I'm= finding on the net is that this indicates the font you're using is a Posts= cript 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 "co= ure.fon" (it was tricky to find out, because that particular dir behaves ve= ry 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 n= ightmare 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 &= 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/M-ohGso= --3-2%40tutanota.com.
------=_Part_7034_702349666.1581432250256--