From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 12606 invoked from network); 10 Jan 2022 16:45:48 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 10 Jan 2022 16:45:48 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 80bc482b for ; Mon, 10 Jan 2022 11:45:44 -0500 (EST) Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id e4fee247 for ; Mon, 10 Jan 2022 11:45:44 -0500 (EST) Received: by mail-wr1-f52.google.com with SMTP id k30so10335650wrd.9 for ; Mon, 10 Jan 2022 08:45:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=V77w1J1BGgAo/qgxZAEHwnsAE2AkzAbt0Uan7DqLH2g=; b=ocHHLk1yPa55ypFjflyeDNMihezlGwFi3noOYRyTVProPdrtU6BfVwGZ7Ptu66Ld1K B0NDbWgGbcxgfqqnW9GvnFL4ef5XKxW4UmSRz8yCkmBt+UQoF8zMHMCyQtmDX4mpKLAA UJTvWs/H5HuxzFwP+tB7mozTQjYc7aVQi0MLlhzKI8+oCud32n6Pp83a4u09vyTafByA C3rLv+y3QA5hFSELrWGh0A/+M7KQAbODFbODXEkcPr/r/9vJjVv6edL/pWYMgXd7oopI Arx2364yubNE7XoxrfhTP75keTDP5NmGP8z0EKRrForwm5y+WLoWQhegtZ2e76d11ym5 wB5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=V77w1J1BGgAo/qgxZAEHwnsAE2AkzAbt0Uan7DqLH2g=; b=0s8v+yJrcCk391AnVaTnQeR/CPiiNO2Jvuv3s1wBI5M6haBdch/Biv51dPDPGBX5Pp kaX6b0HZbS3MqK/vv+iv4c9wJr5Dps0ompCtMO3oAkO1arPbl4C5sWF9eBdudbQ6Xi9j lKIqmZc3qrnW3u7k0Fn62U/IudbGGw5dYQ2mChjcM8vryX/S1YDoT/p/6LuJMox7W9WU VPBdBUo96QekZX8NLA+bbV8Efc06g61nE0dHBBYMBYEHmVqWReVCMVYBORmKSCuqcllt q5VxPZ+YhpD296jINxYpC1I7UoQ/yn8qZ4F7K4XPdR8y1lvV9YjNthhx51jp79uthNpq EbOA== X-Gm-Message-State: AOAM531MpTHF2EGlER5TwWXJoxS90aj81JlmxnXrmHMF5U6SkUO445TZ 1ukMuwKXNpwLcYX0SqtSHvs= X-Google-Smtp-Source: ABdhPJy6DbBiPXC2lsR5aOHEvkTEgnnxtaJ7gmFKbKwiOHPIA8yzkNqQNOxGGf8bjzdoEBnet3/xLw== X-Received: by 2002:adf:f14f:: with SMTP id y15mr397206wro.564.1641833142779; Mon, 10 Jan 2022 08:45:42 -0800 (PST) Received: from beryllium.local (dyndsl-095-033-039-027.ewe-ip-backbone.de. [95.33.39.27]) by smtp.gmail.com with ESMTPSA id a71sm7206054wme.39.2022.01.10.08.45.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jan 2022 08:45:42 -0800 (PST) Received: from localhost (beryllium.local [local]) by beryllium.local (OpenSMTPD) with ESMTPA id 173a428e; Mon, 10 Jan 2022 17:45:39 +0100 (CET) Date: Mon, 10 Jan 2022 16:45:39 +0000 From: Humm To: Ingo Schwarze Cc: discuss@mandoc.bsd.lv Subject: Re: \h in PostScript and PDF output Message-ID: Mail-Followup-To: Ingo Schwarze , discuss@mandoc.bsd.lv References: X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Quoth Ingo Schwarze: >I believe that the patch appended below fixes the bug; it survived >my testing without finding regressions, and i intend to commit it to >openbsd.org and bsd.lv shortly. Does it work for you, too? It does. >Do you want to be credited in the commit message and in the next release >notes for reporting the bug? If so, please send me a complete real name. >If you do not send a complete real name, i shall credit you as > Humm >in the commit commit message but probably not mention you at all >in the release notes. The release notes do not contain mail addresses, >and "Humm" alone isn't really helpful to identify anybody. Sure, Lennart Jablonka it is then. >While researching this table, i found nineteen (19!) additional >candidate places where i strongly suspect that a call to term_len() >is either missing or this function is called incorrectly, resulting in >more or less wrong positioning of PostScript and PDF output (ASCII, >UTF-8, and HTML output are not wrong in these cases). I'll have >to further inspect, fix, and test those nineteen places one by one. >Uh oh... Good luck have fun! >I freely admit that while mandoc PostScript and PDF output is usable >for many simple purposes, its quality is significantly below the >quality of ASCII, UTF-8, and HTML output, in several respects - >some of these respects are conceptional, and bugs are also more >numerous for PostScript and PDF. Yeah, the PDF and PostScript output doesn’t look as beautiful as I have come to expect from computerized typesetting. >Right, that's incredibly stupid. I hate it when people who do not >understand the man(7) language but go ahead and write man(7) code >generators anyway. In this particular case, the man(7) language >provides the .TP macro for just that purpose, so mucking around >with .RS and rather fragile low-level roff(7) code is quite absurd. I agree. .TP introduces vertical space between paragraphs. For some reason, the author cares about that/doesn’t want it. -- Humm -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv