9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] unexpected tabs in man pages after font change
Date: Thu,  5 Mar 2015 06:15:22 -0800	[thread overview]
Message-ID: <faaa823d36313b8cfa399aaa4753c501@brasstown.quanstro.net> (raw)
In-Reply-To: <CAHL7psE+Lw5355k5QR7VUD240-9Z7SgNgSN6P8=XF7CmUHwW-w@mail.gmail.com>

> Interestingly enough the problem disappears with a mono font.
>
> I suspect that troff is inserting such tabs instead of spaces when it
> thinks they are the same. Indeed libframe (as far I could understand from
> the manual and the sources) properly handles such variable width fonts.
>
> Looks like I've to inform troff about the glyphs sizes... but how?

i don't use a mono font so i don't like your col -x solution, and this
works for me regardless.

if $font is set correctly, i believe all this should work out.  make sure
that $tabstop=acme tabstop as well.  the default for acme is 4, but
it is imported by $tabstop, and overridden with Tab.

cpu'ing can screw with your $font.

- erik



  reply	other threads:[~2015-03-05 14:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 16:13 Giacomo Tesio
2015-03-04 17:11 ` Giacomo Tesio
2015-03-05 14:15   ` erik quanstrom [this message]
2015-03-05 15:22     ` Giacomo Tesio
2015-03-04 21:31 ` Aram Hăvărneanu
2015-03-04 22:29   ` Giacomo Tesio
2015-03-04 22:39     ` Stanley Lieber
2015-03-04 23:09       ` Giacomo Tesio
2015-03-05  0:02         ` Giacomo Tesio
2015-03-04 23:56 sl
2015-03-05  0:17 ` Giacomo Tesio
2015-03-05 14:10 ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=faaa823d36313b8cfa399aaa4753c501@brasstown.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).