9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucio De Re <lucio.dere@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Acme fonts
Date: Thu, 23 Jul 2020 07:27:08 +0200	[thread overview]
Message-ID: <CAJQ9t7gMtrhSGfHrQ=x6rY+_7C9iBt5JLwXnQMS9FvGxT_46rQ@mail.gmail.com> (raw)
In-Reply-To: <CADSkJJXK2WwPLUkWm-uyvxoY_f7Dir60AbObPvDTtpMxash73w@mail.gmail.com>

On 7/22/20, Russ Cox <rsc@swtch.com> wrote:
> On Tue, Jul 21, 2020 at 7:22 PM Anthony Martin <ality@pbrane.org> wrote:
>
>> Russ, what did you do to that poor little Acme?! ☺
>>
>> Did you take the less daunting route using
>>
>>  - a combined font file with shapes for normal, italic, bold, etc. and
>>  - a filter to offset runes into "planes" for each font shape?
>>
>
> Yes, that's what I did. Completely awful - the text being displayed isn't
> usable as text. You can tell because when I double-click on the modified
> text acme doesn't know where the word boundaries are and ends up
> highlighting across punctuation that it normally wouldn't.

Remembering a discussion on 9fans where I suggested that capital
letters ought to be a different font, not a unique glyph (Russian, for
example, I believe just changes the font size, which we know is a
different font), I think Russ's is an excellent solution, given those
8 bits between 24 and 32 that one can abuse for the purpose.

It does mean that acme needs some way to extend its grasp of
delimiters into the extended fonts. Solving that without resorting to
a total separation between input and rendering, would be a winner, but
I am not competent enough to know if it is even remotely possible.

Incidentally, I opted for a tag line that looks like this:

     "... Snarf Undo Put  |Fmt |q |f78 look |b |e Font"

where I use "b" and "e" /bin commands to generate time stamps in my
"notepad" document. The details don't seem worth going into, "q", if I
remember right, is straight out of Russ's $home/bin/rc from years back
(with "g" which I have yet to enhance correctly to work on ".go"
directories). I got my inspiration remembering that a friend and
colleague (Windows user) adopted single letter command for all sorts
of shortcuts he memorised and even changed in different contexts.

The temptation to add a vertical edge to each acme window with a
single letter in little blocks - lower case and possibly capitals - is
only resisted by my reluctance to tackle a task I may not be
sufficiently competent to complete.

And for other ".go" developers, how many of you have found renaming a
module from ".go" to ".no" a practical approach to get it,
temporarily, perhaps, out of the way of the compiler?

Lucio.

PS: Sorry about the off-topic diversion. I do happen to be marvelling
over fonts among many other distractions from my day job. I still
don't quite have a proper understanding, so I get odd results when I
try to do anything creative,  but not everything is a failure,
thankfully.

PPS: Like Forsyth, I like the io/fs idea. I like "generics" a lot
less, and I find go modules (sorry, Russ) quite incomprehensible
<sigh!>.

  parent reply	other threads:[~2020-07-23  5:27 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAA8EjDRkQDO+wL1tuTQ6GMxs7rqNji4qFM80F5Kz-H0UR24R4w@mail.gmail.com>
2020-07-21 23:21 ` Anthony Martin
2020-07-22 18:52   ` [9fans] " Russ Cox
2020-07-22 22:47     ` Charles Forsyth
2020-07-22 23:05       ` Rob Pike
2020-07-23  3:38         ` ori
2020-07-23  4:31           ` Rob Pike
2020-07-23  5:27     ` Lucio De Re [this message]
2020-07-23 13:08       ` Ethan Gardener
2020-11-20 21:31     ` Yaroslav K
2020-11-20 22:01       ` Stuart Morrow
2013-12-11 18:45 [9fans] Acme: fonts Blake McBride
2013-12-11 18:52 ` andrey mirtchovski
2013-12-11 19:05   ` Christopher Wilson
2013-12-11 19:12   ` Blake McBride
2013-12-11 19:15     ` erik quanstrom
2013-12-11 19:19       ` Christopher Wilson
2013-12-11 19:26     ` sl
2013-12-11 19:33       ` Rubén Berenguel
2013-12-11 19:50         ` Blake McBride
2013-12-11 19:53           ` Rubén Berenguel
2013-12-11 20:04             ` Blake McBride
2013-12-11 20:12               ` Rubén Berenguel
2013-12-11 20:26                 ` Mark van Atten
2013-12-11 20:03           ` sl
2013-12-11 20:06             ` erik quanstrom
2013-12-11 20:30               ` sl
2013-12-11 20:40                 ` erik quanstrom
2013-12-11 20:47                 ` Mark van Atten
2013-12-11 21:04                   ` sl
2013-12-11 20:15           ` Aram Hăvărneanu
2013-12-11 20:38             ` Blake McBride
2013-12-11 21:10               ` Blake McBride
2013-12-11 21:14                 ` andrey mirtchovski
2013-12-11 21:21                   ` Blake McBride
2013-12-11 21:25                     ` Blake McBride
2013-12-11 21:25                 ` Lyndon Nerenberg
2013-12-11 21:56                   ` Blake McBride
2013-12-11 22:00                     ` Lyndon Nerenberg
2013-12-11 22:05                     ` Blake McBride
2013-12-11 22:08                     ` Mark van Atten
2013-12-11 19:32 ` Oleksandr Iakovliev
  -- strict thread matches above, loose matches on Subject: below --
2003-10-14 12:17 [9fans] acme fonts David Presotto
2003-10-14 15:51 ` Rob Pike
2003-10-15  3:27   ` david presotto
2003-10-14 16:04 ` chris
2003-10-13 16:43 Fco.J.Ballesteros
2003-10-13 16:49 ` David Presotto
2003-10-13 16:56   ` Fco.J.Ballesteros
2003-10-13 19:02   ` vdharani
2003-10-13 19:35     ` Dan Cross
2003-10-14  8:09   ` Charles Forsyth
2003-10-14  8:13     ` Rob Pike
2003-10-14 11:17       ` David Presotto
2003-10-14 23:44       ` George Michaelson
2003-10-15  5:30         ` Charles Forsyth
2003-10-15 10:28           ` Brantley Coile
2003-10-14 19:36     ` vdharani
2003-10-15  5:40       ` Charles Forsyth
2003-10-14  0:04 ` rob pike, esq.
2003-10-15  7:29   ` Fco.J.Ballesteros

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='CAJQ9t7gMtrhSGfHrQ=x6rY+_7C9iBt5JLwXnQMS9FvGxT_46rQ@mail.gmail.com' \
    --to=lucio.dere@gmail.com \
    --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).