9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fgb/abaco vs quanstro/abaco
@ 2010-02-03 18:56 Rudolf Sykora
  2010-02-03 19:25 ` erik quanstrom
  2010-02-04  0:12 ` Federico G. Benavento
  0 siblings, 2 replies; 18+ messages in thread
From: Rudolf Sykora @ 2010-02-03 18:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

What's the difference between fgb/abaco vs quanstro/abaco?
Are there any differences in used fonts? (I use fgb's and letters are
not so nice; I don't know much about fonts, though...)

Is there a simple way of trying out both? (They have the same name, so
I guess I can't just contrib/install both...)

Thanks
R



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-03 18:56 [9fans] fgb/abaco vs quanstro/abaco Rudolf Sykora
@ 2010-02-03 19:25 ` erik quanstrom
  2010-02-03 19:39   ` geoff
  2010-02-04 12:35   ` Rudolf Sykora
  2010-02-04  0:12 ` Federico G. Benavento
  1 sibling, 2 replies; 18+ messages in thread
From: erik quanstrom @ 2010-02-03 19:25 UTC (permalink / raw)
  To: 9fans

>
> What's the difference between fgb/abaco vs quanstro/abaco?
> Are there any differences in used fonts? (I use fgb's and letters are
> not so nice; I don't know much about fonts, though...)
>
> Is there a simple way of trying out both? (They have the same name, so
> I guess I can't just contrib/install both...)

fonts are the main difference.  you can run abaco from
sources directly without installing, of course.  something
like (untested, since i have the fonts installed)

	9fs sources
	s = /n/sources/contrib/quanstro/root
	bind -a $s/lib/font/bit /lib/font/bit
	if(! test -f /mnt/webfs/ctl)
		webfs
	$s/386/bin/abaco 9fans.net/archive

- erik



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-03 19:25 ` erik quanstrom
@ 2010-02-03 19:39   ` geoff
  2010-02-03 19:53     ` erik quanstrom
  2010-02-04 12:35   ` Rudolf Sykora
  1 sibling, 1 reply; 18+ messages in thread
From: geoff @ 2010-02-03 19:39 UTC (permalink / raw)
  To: 9fans

Or you could just type

	abaco

or, better,

	readweb

See abaco(1).




^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-03 19:39   ` geoff
@ 2010-02-03 19:53     ` erik quanstrom
  0 siblings, 0 replies; 18+ messages in thread
From: erik quanstrom @ 2010-02-03 19:53 UTC (permalink / raw)
  To: 9fans

On Wed Feb  3 14:46:34 EST 2010, geoff@plan9.bell-labs.com wrote:
> Or you could just type
>
> 	abaco
>
> or, better,
>
> 	readweb

that's true.  but the original question / problem was
how to look at the difference in one version of abaco vs
another since they can't be installed via contrib/install
concurrently.

my suggestion was to run the uninstalled version and
use its fonts without installing them by running directly
from sources.  i believe this does require some
magic spells beyond "abaco".

- erik



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-03 18:56 [9fans] fgb/abaco vs quanstro/abaco Rudolf Sykora
  2010-02-03 19:25 ` erik quanstrom
@ 2010-02-04  0:12 ` Federico G. Benavento
  2010-02-04 10:04   ` Rudolf Sykora
  1 sibling, 1 reply; 18+ messages in thread
From: Federico G. Benavento @ 2010-02-04  0:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

ok, I should remove fgb/abaco as is the same one included in the distribution.
about the fonts, you can use whatever font you want just put a
$home/lib/abaco.fonts
see /sys/src/cmd/abaco/abaco.fonts for reference or just copy it there
in your $home/lib
and install fgb/freefont

On Wed, Feb 3, 2010 at 4:56 PM, Rudolf Sykora <rudolf.sykora@gmail.com> wrote:
> Hello,
>
> What's the difference between fgb/abaco vs quanstro/abaco?
> Are there any differences in used fonts? (I use fgb's and letters are
> not so nice; I don't know much about fonts, though...)
>
> Is there a simple way of trying out both? (They have the same name, so
> I guess I can't just contrib/install both...)
>
> Thanks
> R
>
>



--
Federico G. Benavento



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04  0:12 ` Federico G. Benavento
@ 2010-02-04 10:04   ` Rudolf Sykora
  2010-02-04 12:29     ` Federico G. Benavento
  0 siblings, 1 reply; 18+ messages in thread
From: Rudolf Sykora @ 2010-02-04 10:04 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 4 February 2010 01:12, Federico G. Benavento <benavento@gmail.com> wrote:
> ok, I should remove fgb/abaco as is the same one included in the distribution.
> about the fonts, you can use whatever font you want just put a
> $home/lib/abaco.fonts
> see /sys/src/cmd/abaco/abaco.fonts for reference or just copy it there
> in your $home/lib
> and install fgb/freefont

I have tried this. But encountered some problems.

First, trying to run abaco, I got
abaco: openfont: '/lib/font/bit/lucidasans/passwd.6.font' does not exist.

Although I was just after a 'pull', and there is a file on
http://plan9.bell-labs.com/sources/plan9/lib/font/bit/lucidasans/
actually
--rw-rw-r-- geoff  sys   26 Jul 29  2009 passwd.6.font
It hadn't been pulled. (All other files there have glenda as an owner,
with one more exception; don't know if this had been the cause.)
Anyway, I hgot the missing file, and got
abaco: openfont: bad height or ascent in font file

Now I don't know what to do...
Thanks
R



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 10:04   ` Rudolf Sykora
@ 2010-02-04 12:29     ` Federico G. Benavento
  2010-02-04 12:33       ` Rudolf Sykora
  0 siblings, 1 reply; 18+ messages in thread
From: Federico G. Benavento @ 2010-02-04 12:29 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Anyway, I hgot the missing file, and got
> abaco: openfont: bad height or ascent in font file

how did you get the missing file?


--
Federico G. Benavento



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 12:29     ` Federico G. Benavento
@ 2010-02-04 12:33       ` Rudolf Sykora
  2010-02-04 12:59         ` Federico G. Benavento
  0 siblings, 1 reply; 18+ messages in thread
From: Rudolf Sykora @ 2010-02-04 12:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 4 February 2010 13:29, Federico G. Benavento <benavento@gmail.com> wrote:
>> Anyway, I hgot the missing file, and got
>> abaco: openfont: bad height or ascent in font file
>
> how did you get the missing file?
>
>
> --
> Federico G. Benavento
>
>

hget http://plan9.bell-labs.com/sources/plan9/lib/font/bit/lucidasans/passwd.6.font
> /lib/font/bit/lucidasans/passwd.6.font

Thanks
R



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-03 19:25 ` erik quanstrom
  2010-02-03 19:39   ` geoff
@ 2010-02-04 12:35   ` Rudolf Sykora
  1 sibling, 0 replies; 18+ messages in thread
From: Rudolf Sykora @ 2010-02-04 12:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 3 February 2010 20:25, erik quanstrom <quanstro@labs.coraid.com> wrote:
> fonts are the main difference.  you can run abaco from
> sources directly without installing, of course.  something
> like (untested, since i have the fonts installed)
>
>        9fs sources
>        s = /n/sources/contrib/quanstro/root
>        bind -a $s/lib/font/bit /lib/font/bit
>        if(! test -f /mnt/webfs/ctl)
>                webfs
>        $s/386/bin/abaco 9fans.net/archive
>
> - erik

Ok. I tried this way, too.

If I try it exactly as written, I have the same problem as I described
in response to Benavento's e-mail, i.e.
abaco: openfont: bad height or ascent in font file
and more, there is a note about suicide.

When I do 'bind -b' instead, abaco starts, but often complains (there
is a short-lasting note anytime I try to scroll):
bad character rune set for 0x0000 in /lib/font/bit/lucidasans/passwd.6.font
Otherwise fonts are nicer. Nonetheless, some letters are missing, I
see rectangles (I speak Czech and the language uses quite a few
accented characters).

Any explanation or help as to what is wrong?

R



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 12:33       ` Rudolf Sykora
@ 2010-02-04 12:59         ` Federico G. Benavento
  2010-02-04 13:29           ` Rudolf Sykora
  2010-02-04 13:43           ` Rudolf Sykora
  0 siblings, 2 replies; 18+ messages in thread
From: Federico G. Benavento @ 2010-02-04 12:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

that's what I thought

cat that file and you'll see it's an html file actually
why don't you just /usr/glenda/bin/rc/pull ??

On Thu, Feb 4, 2010 at 10:33 AM, Rudolf Sykora <rudolf.sykora@gmail.com> wrote:
> On 4 February 2010 13:29, Federico G. Benavento <benavento@gmail.com> wrote:
>>> Anyway, I hgot the missing file, and got
>>> abaco: openfont: bad height or ascent in font file
>>
>> how did you get the missing file?
>>
>>
>> --
>> Federico G. Benavento
>>
>>
>
> hget http://plan9.bell-labs.com/sources/plan9/lib/font/bit/lucidasans/passwd.6.font
>> /lib/font/bit/lucidasans/passwd.6.font
>
> Thanks
> R
>
>



--
Federico G. Benavento



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 12:59         ` Federico G. Benavento
@ 2010-02-04 13:29           ` Rudolf Sykora
  2010-02-04 14:41             ` erik quanstrom
  2010-02-04 13:43           ` Rudolf Sykora
  1 sibling, 1 reply; 18+ messages in thread
From: Rudolf Sykora @ 2010-02-04 13:29 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 4 February 2010 13:59, Federico G. Benavento <benavento@gmail.com> wrote:
> that's what I thought
>
> cat that file and you'll see it's an html file actually
> why don't you just /usr/glenda/bin/rc/pull ??

You're right. It's really a html file... :(
So now I have taken it from /n/sources... and abaco now seems to be
running much better... :)

I did use pull at first. But the file was not pulled for some reason.
I wrote I did use pull in my previous post (where I also wrote about
'strange' ownership of the missing file in the sources).
And since I didn't get the file by pull, I remembered there is that
http access...

I have just started using replica and don't know what it actually does and when.
It's for sure I was missing the file, the file is in the sources, and
didn't get pulled.
Why?

Thanks
R



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 12:59         ` Federico G. Benavento
  2010-02-04 13:29           ` Rudolf Sykora
@ 2010-02-04 13:43           ` Rudolf Sykora
  2010-02-04 14:31             ` Rudolf Sykora
  2010-02-04 15:27             ` erik quanstrom
  1 sibling, 2 replies; 18+ messages in thread
From: Rudolf Sykora @ 2010-02-04 13:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Noticed one more thing.
I now see accented characters almost fine.
The problem is with capital letters having accents over them. These
are shifted downwards and have their lowest parts cut away. E.g ČTK
(CTK with a hook over C; hope you see it) is shown so that the Č is
shifted downwards, its top is adjusted to the same vertical position
with the T and the bottom of the Č is not visible...
Can this be somehow easily helped?

Thanks
Ruda



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 13:43           ` Rudolf Sykora
@ 2010-02-04 14:31             ` Rudolf Sykora
  2010-02-04 15:27             ` erik quanstrom
  1 sibling, 0 replies; 18+ messages in thread
From: Rudolf Sykora @ 2010-02-04 14:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Finally.
What I am really trying to achieve is to read my gmail e-mail with abaco.
I found this:

Gmail's basic HTML interface *almost* works with abaco
"out of the box". The failure isn't abaco, it's webfs. If you
take /n/sources/contrib/fgb/cookies.c, bind or copy it
over /sys/src/cmd/webfs/cookies.c, and rebuild, the new
webfs and abaco will work fine.

and tried to follow it (since out of the box, abaco doesn't seem to
work), but cookies.c is no longer at the mentioned place. So is it no
longer neccessary to follow the steps? (That would imply my trouble is
elsewhere.)
When I try to log in to my account, nothing really happens. When I
click on the Back button then, I get some message like 'next
https://mail.google.com/.........long...... (but for error)'

Any advice on this?
Thanks
R



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 13:29           ` Rudolf Sykora
@ 2010-02-04 14:41             ` erik quanstrom
  2010-02-04 15:06               ` Rudolf Sykora
  0 siblings, 1 reply; 18+ messages in thread
From: erik quanstrom @ 2010-02-04 14:41 UTC (permalink / raw)
  To: 9fans

> I have just started using replica and don't know what it actually does and when.
> It's for sure I was missing the file, the file is in the sources, and
> didn't get pulled.
> Why?

replica attempts to keep a file tree up-to-date with a master file tree,
while respecting local changes.

- erik



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 14:41             ` erik quanstrom
@ 2010-02-04 15:06               ` Rudolf Sykora
  0 siblings, 0 replies; 18+ messages in thread
From: Rudolf Sykora @ 2010-02-04 15:06 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 4 February 2010 15:41, erik quanstrom <quanstro@quanstro.net> wrote:
>> I have just started using replica and don't know what it actually does and when.
>> It's for sure I was missing the file, the file is in the sources, and
>> didn't get pulled.
>> Why?
>
> replica attempts to keep a file tree up-to-date with a master file tree,
> while respecting local changes.
>
> - erik

This I'd expect, but I still don't quite understand.
In the sources there is a file /lib/fonts/something,
and I don't have this file locally.
I run pull.
And nothing happens as far as this file is concerned. No message about
it being on the server and not locally, either. This I don't
understand...

Thanks
R



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 13:43           ` Rudolf Sykora
  2010-02-04 14:31             ` Rudolf Sykora
@ 2010-02-04 15:27             ` erik quanstrom
  2010-02-04 15:58               ` Rudolf Sykora
  1 sibling, 1 reply; 18+ messages in thread
From: erik quanstrom @ 2010-02-04 15:27 UTC (permalink / raw)
  To: 9fans

On Thu Feb  4 08:45:16 EST 2010, rudolf.sykora@gmail.com wrote:
> Noticed one more thing.
> I now see accented characters almost fine.
> The problem is with capital letters having accents over them. These
> are shifted downwards and have their lowest parts cut away. E.g ČTK
> (CTK with a hook over C; hope you see it) is shown so that the Č is
> shifted downwards, its top is adjusted to the same vertical position
> with the T and the bottom of the Č is not visible...
> Can this be somehow easily helped?

unfortunately, there is no provision for proportional interline spacing.
i use cyberbit as my day-to-day font, and it has the problem you mention.
if i look at the font image with page (/lib/font/bit/cyberbit/cyberbit.14.0101),
the image looks correct, so the problem lies with the font height (technically
the extra decent), which unfortunately looks right for lines without tall
characters with an accent.

this is a great summer-of-code project, since it requires deep changes,
but not mysterious or complicated changes.  there is currently no per-
character height information in font(6) subfonts. one would also need
to add a stringheight(2) and work that into the various libraries and
programs, like

acme aux/statusbar, faces, gping, mc, p9bitpost, rio, samterm, plot, stats,
	trace, drawterm, abaco games/jukebox games/9clock libcontrol
	libdraw libframe

- erik



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 15:27             ` erik quanstrom
@ 2010-02-04 15:58               ` Rudolf Sykora
  2010-02-04 16:04                 ` erik quanstrom
  0 siblings, 1 reply; 18+ messages in thread
From: Rudolf Sykora @ 2010-02-04 15:58 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> if i look at the font image with page (/lib/font/bit/cyberbit/cyberbit.14.0101),
> the image looks correct, so the problem lies with the font height (technically

> - erik

when I look at e.g.
page /lib/font/bit/freefont/sansbd/sansbd.18.01d6
it doesn't look well... (some bottoms are chopped; though I don't know
what that really implies...)
R



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [9fans] fgb/abaco vs quanstro/abaco
  2010-02-04 15:58               ` Rudolf Sykora
@ 2010-02-04 16:04                 ` erik quanstrom
  0 siblings, 0 replies; 18+ messages in thread
From: erik quanstrom @ 2010-02-04 16:04 UTC (permalink / raw)
  To: 9fans

> when I look at e.g.
> page /lib/font/bit/freefont/sansbd/sansbd.18.01d6
> it doesn't look well... (some bottoms are chopped; though I don't know
> what that really implies...)

that there is also a problem with the baseline in the
conversion of this font.

that's an easy problem to fix.  just fiddle ttf2subf.

- erik



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2010-02-04 16:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-03 18:56 [9fans] fgb/abaco vs quanstro/abaco Rudolf Sykora
2010-02-03 19:25 ` erik quanstrom
2010-02-03 19:39   ` geoff
2010-02-03 19:53     ` erik quanstrom
2010-02-04 12:35   ` Rudolf Sykora
2010-02-04  0:12 ` Federico G. Benavento
2010-02-04 10:04   ` Rudolf Sykora
2010-02-04 12:29     ` Federico G. Benavento
2010-02-04 12:33       ` Rudolf Sykora
2010-02-04 12:59         ` Federico G. Benavento
2010-02-04 13:29           ` Rudolf Sykora
2010-02-04 14:41             ` erik quanstrom
2010-02-04 15:06               ` Rudolf Sykora
2010-02-04 13:43           ` Rudolf Sykora
2010-02-04 14:31             ` Rudolf Sykora
2010-02-04 15:27             ` erik quanstrom
2010-02-04 15:58               ` Rudolf Sykora
2010-02-04 16:04                 ` erik quanstrom

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).