9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] scat and latin1.6
@ 2004-09-27 19:03 andrey mirtchovski
  2004-09-28  0:40 ` Rob Pike
  0 siblings, 1 reply; 5+ messages in thread
From: andrey mirtchovski @ 2004-09-27 19:03 UTC (permalink / raw)
  To: 9fans

scat uses the following font when plotting objects:

	/lib/font/bit/lucida/unicode.6.font

unicode.6.font defines 0x0 to 0xff to use the file named 'latin1.6'
which doesn't exist in /lib/font/bit/lucida.  there are two other
files, namely latin1.6.0 and latin1.6.1 with which scat works fine.

is there a bug in the .font file or has anything else changed?  was
cachechars ever supposed to find out the depth of the font image file
itself?  scat used to work a couple of years ago but i have no dumps
from that time so i have no idea whether the font was removed at some
point.

by the way, exporting "The Digitized Sky Survey, 102 CD-ROMs" as a
(grid) service on sources could be a good idea ☺

andrey



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

* Re: [9fans] scat and latin1.6
  2004-09-27 19:03 [9fans] scat and latin1.6 andrey mirtchovski
@ 2004-09-28  0:40 ` Rob Pike
  2004-09-28  1:48   ` andrey mirtchovski
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Pike @ 2004-09-28  0:40 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I believe cachechars searches for the best match of bit depth.
I think all is well. You should see files latin1.6.0 and latin1.6.1.
If they're missing, replace them.

-rob


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

* Re: [9fans] scat and latin1.6
  2004-09-28  0:40 ` Rob Pike
@ 2004-09-28  1:48   ` andrey mirtchovski
  2004-09-28  5:38     ` Kenji Okamoto
  0 siblings, 1 reply; 5+ messages in thread
From: andrey mirtchovski @ 2004-09-28  1:48 UTC (permalink / raw)
  To: robpike, 9fans

> I believe cachechars searches for the best match of bit depth.
> I think all is well. You should see files latin1.6.0 and latin1.6.1.
> If they're missing, replace them.
> 
> -rob

latin1.6.0 and latin1.6.1 are there, but scat refuses to render text
with them:

	plan9% scat
	2004  9 28 01:45:16 GMT 18h37m28s +51°42'00" +114°07'47" 1140
	uranus
	uranus	22h21m50.0s -11°04'33.0" 123.97° 10.87° 00'04.3"
	plot
	stringwidth: bad character set for rune 0x0000 in /lib/font/bit/lucida/unicode.6.font
	stringwidth: bad character set for rune 0x0000 in /lib/font/bit/lucida/unicode.6.font

0x0000-0x00ff is /lib/font/bit/lucida/latin1.6 in unicode.6.font...

andrey



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

* Re: [9fans] scat and latin1.6
  2004-09-28  1:48   ` andrey mirtchovski
@ 2004-09-28  5:38     ` Kenji Okamoto
  2004-09-28  5:40       ` Kenji Okamoto
  0 siblings, 1 reply; 5+ messages in thread
From: Kenji Okamoto @ 2004-09-28  5:38 UTC (permalink / raw)
  To: 9fans

> latin1.6.0 and latin1.6.1 are there, but scat refuses to render text
> with them:
> 
> 	plan9% scat
> 	2004  9 28 01:45:16 GMT 18h37m28s +51°42'00" +114°07'47" 1140
> 	uranus
> 	uranus	22h21m50.0s -11°04'33.0" 123.97° 10.87° 00'04.3"
> 	plot
> 	stringwidth: bad character set for rune 0x0000 in /lib/font/bit/lucida/unicode.6.font
> 	stringwidth: bad character set for rune 0x0000 in /lib/font/bit/lucida/unicode.6.font

Sorry, from outside.

I tried this, and got success, I mean got graphic plot without problem here.

I replaced latin1.6.1 by latin.1.6.1

Kenji



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

* Re: [9fans] scat and latin1.6
  2004-09-28  5:38     ` Kenji Okamoto
@ 2004-09-28  5:40       ` Kenji Okamoto
  0 siblings, 0 replies; 5+ messages in thread
From: Kenji Okamoto @ 2004-09-28  5:40 UTC (permalink / raw)
  To: 9fans

> I replaced latin1.6.1 by latin.1.6.1

I replaced latin.1.6.0 by latin1.6.1, sorry.

Kenji



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

end of thread, other threads:[~2004-09-28  5:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-27 19:03 [9fans] scat and latin1.6 andrey mirtchovski
2004-09-28  0:40 ` Rob Pike
2004-09-28  1:48   ` andrey mirtchovski
2004-09-28  5:38     ` Kenji Okamoto
2004-09-28  5:40       ` Kenji Okamoto

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