9front - general discussion about 9front
 help / color / mirror / Atom feed
From: sl@stanleylieber.com
To: 9front@9front.org
Subject: Re: [9front] mothra: proposal
Date: Thu, 19 Mar 2020 21:27:16 -0400	[thread overview]
Message-ID: <20200320012716.OfhD4afRUsqI283bTvaGHR8ysB4qXRf_JSwgV_b6lRg@z> (raw)
In-Reply-To: <4683315B9C3DE021CEF6ED7969DA706A@eigenstate.org>

>>>		a.) our dejavusans is fuzzy as hell, and it sucks.
>>>			1.) users can easily choose their own fonts
>>>			and
>>>			recompile.
> 
> Hm. It looks fine on my screen -- but, sure.

it looked fine on my screen when i first made it, too; but that was in
drawterm, iirc running on windows.  if i understand correctly, the os was
making up for whatever makes it look fuzzy on native 9front.  namely,
weird interactions between how ttf2subf attempts to deal with antialiasing
and whatever is painting stuff on the screen.

the font itself was converted from ttf using a pre-cinap version of ttf2subf.

>>>	2.) backport my changes to libpanel to remove useless panel
>>>	borders and fake shadow lines.  stop underlining hyperlinks,
>>>	and instead make them blue.[0][1]
>>>		a.) perhaps in a saner manner.
>>>			1.) currently, lines, borders, bullet points,
>>>			etc., are defined in all sorts of different
>>>			places, not even entirely inside of libpanel.
>>>			i made no attempt to address this.  in rio,
>>>			we ended up putting all the color definitions
>>>			into one file, for easy modification.
> 
> I'm mostly ok with this, though I'm not a big fan of losing the
> "command" vs "body" visual distinction.

there are still a couple of lines separating those sections:

	http://plan9.stanleylieber.com/mothra/img/20200319.png

but i'm not opposed to tweaking this.  my biggest desire is to
minimize the ui's decoration, and emphasize the content.


> I also see lines drawn
> between menu items. I may want to tweak it a bit more to match
> the look of rio/sam windows.

that's fine with me, too.


>>>	3.) implement -b flag for dark mode, white-on-black text.[2]
>>>		a.) similar to rio -b, and vt -b.
>
> I don't like theming, but I like the propagation of dark mode
> flags even less. If we want this, libdraw needs to signal to
> programs which colors they should use, without a '-b' flag.

i'm not capable of implementing this.  also, by this logic we'd
need to change existing behavior of rio ad vt.  would we delete
the existing flags?  i'm not married to -b, but i'm also not
advocating full-blown theming.  (fwiw, i also don't quite
understand the vehement objection to it; standardizing it
in one library seems like the right approach.)


>>>[0] http://plan9.stanleylieber.com/src/mothra.white.tgz
>>>[1] http://plan9.stanleylieber.com/src/mothra.black.tgz
>>>[2] http://plan9.stanleylieber.com/mothra/img/20200310.png
> 
> Sending this out in the form of patches would make it easier
> to see what's changed.

there are extensive changes in my stuff, some not related to what
we're talking about above.  i don't think it would be especially
easier to understand my attempts to parse it all out, since you
can also just diff each one on your own machine.  it's been so
long since i wrote this stuff, and i barely understood what i
was doing anyway, that you will probably understand my code
better than i did/do, myself.

to think, many years ago i thought mothra would be a good entry
point to c.  my changes to it are still the most c i've ever
written in one place.


>> forgot:
>> 
>> 4.) plumb menu item.
>> 
>> sl
> 
> The plumb menu is a definite yes from me.

caveat:

mothra sometimes only knows relative urls (because some web
pages only offer relative urls as links), and relies on webfs
to figure out the correct request to match whatever it clicks
on.  this sometimes breaks plumbing, as i implemented it.

sl


  reply	other threads:[~2020-03-20  1:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19 13:24 Stanley Lieber
2020-03-19 22:48 ` ori
2020-03-20  1:27   ` sl [this message]
     [not found] <C85FC655E82FCBE5B94289CB1073F9CC@ewsd.inri.net>
2020-03-20  3:00 ` ori
2020-03-20  3:21   ` Stanley Lieber
2020-03-20  5:04     ` umbraticus
     [not found] <F33C8113101B37111E4E412220D1377D@ewsd.inri.net>
2020-03-21 11:27 ` Ethan Gardener
     [not found] <42A469F0BBA88991B13EB7B76C0079B3@ewsd.inri.net>
2020-04-12 19:16 ` ori
2020-04-12 19:21 ` ori
2020-04-12 19:42   ` Stanley Lieber
2020-04-13  0:43   ` sl

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=20200320012716.OfhD4afRUsqI283bTvaGHR8ysB4qXRf_JSwgV_b6lRg@z \
    --to=sl@stanleylieber.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).