9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Travis Moore <umbraticus@prosimetrum.com>
To: 9front@9front.org
Subject: Re: [9front] WANTED: instructions for adding fonts to troff
Date: Fri, 15 Dec 2017 11:48:35 +1300	[thread overview]
Message-ID: <329B9F5547D9B75C1FF4387482DCDCB5@prosimetrum.com> (raw)
In-Reply-To: 1CB5D4FBB66B36AF15288A640742E27C@5ess.inri.net

I improved the script somewhat and added two-char entries:

http://runjimmyrunrunyoufuckerrun.com/src/convpsfont.awk

The file in /sys/lib/postscript/troff/ should look like this:

0x0000 0x00ff GaramondNo8-Reg
0x0100 0x01ff LucidaSansUnicode01
0x0200 0x02ff LucidaSansUnicode02
0x0300 0x03ff LucidaSansUnicode03
0x0400 0x04ff LucidaSansUnicode04
0x0500 0x05ff LucidaSansUnicode05
0x2000 0x20ff LucidaSansUnicode20
0x2100 0x21ff LucidaSansUnicode21
0x2200 0x22ff LucidaSansUnicode22
0x2400 0x24ff LucidaSansUnicode24
0x2500 0x25ff LucidaSansUnicode25

This way characters up to 0xff will appear in the chosen font and
characters beyond will fall back to the Lucida unicode stuff.
See examples at:

http://runjimmyrunrunyoufuckerrun.com/tmp/

Travis


             reply	other threads:[~2017-12-14 22:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14 22:48 Travis Moore [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-20 11:39 Travis Moore
2017-12-13  3:06 sl
2017-12-13  3:02 Travis Moore
2017-12-13  1:40 sl
2017-12-13  0:07 Travis Moore

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=329B9F5547D9B75C1FF4387482DCDCB5@prosimetrum.com \
    --to=umbraticus@prosimetrum.com \
    --cc=9front@9front.org \
    /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).