9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] lucidasans and 日本語表示
@ 2012-04-29  2:18 kokamoto
  2012-04-29  2:43 ` Rob Pike
  0 siblings, 1 reply; 15+ messages in thread
From: kokamoto @ 2012-04-29  2:18 UTC (permalink / raw)
  To: 9fans

Acme uses default font of lucidasans/euro.8.font, and it has
no ハンカク数字、全角数字etc, which make me trouble to
show Japanese mails from other systems.  So, please add the
line to the bottom of /font/lib/bit/lucidasans/euro.8.font
as bellow:

.....
.....
0x9a01 0x9bf5 ../shinonome/k14.9a01
0x9c04 0x9dfd ../shinonome/k14.9c04
0x9e1a 0x9fa0 ../shinonome/k14.9e1a
0xff01 0xffe5 ../shinonome/k14.ff01   <---- this line
0xFFFD 0xFFFD 0x80 lsr.14

Kenji




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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  2:18 [9fans] lucidasans and 日本語表示 kokamoto
@ 2012-04-29  2:43 ` Rob Pike
  2012-04-29  4:05   ` Benjamin Huntsman
  2012-04-29  4:42   ` kokamoto
  0 siblings, 2 replies; 15+ messages in thread
From: Rob Pike @ 2012-04-29  2:43 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

That font is called euro because it does not have the Asian ideographs
and is cheaper to load. Use unicode.8.font if you want them; I have
set font=unicode.9.font since the beginning.

The real question is what the default font should be; I leave that
decision to others.

-rob



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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  2:43 ` Rob Pike
@ 2012-04-29  4:05   ` Benjamin Huntsman
  2012-04-29  4:42   ` kokamoto
  1 sibling, 0 replies; 15+ messages in thread
From: Benjamin Huntsman @ 2012-04-29  4:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> The real question is what the default font should be

Not that my opinion counts for anything, but changing the font to latin1.7.font (or sometimes typelatin1.7.font) is usually the first thing I do on a fresh Plan 9 install. 
It's very readable, and you can fit a whole lot more on an average window the the current default pelm.

-Ben




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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  2:43 ` Rob Pike
  2012-04-29  4:05   ` Benjamin Huntsman
@ 2012-04-29  4:42   ` kokamoto
  2012-04-29  4:54     ` Steven Stallion
  2012-04-29  4:55     ` Lyndon Nerenberg
  1 sibling, 2 replies; 15+ messages in thread
From: kokamoto @ 2012-04-29  4:42 UTC (permalink / raw)
  To: 9fans

> The real question is what the default font should be; I leave that
> decision to others.

You mean change the hardcoded font name 
in /sys/src/cmd/acme/acme.c?
By the way, I'll follow your suggestion to add 日本語 
to unicode.8.font.

Kenji




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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  4:42   ` kokamoto
@ 2012-04-29  4:54     ` Steven Stallion
  2012-04-29  4:55     ` Lyndon Nerenberg
  1 sibling, 0 replies; 15+ messages in thread
From: Steven Stallion @ 2012-04-29  4:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sat, Apr 28, 2012 at 9:42 PM,  <kokamoto@hera.eonet.ne.jp> wrote:
>> The real question is what the default font should be; I leave that
>> decision to others.
>
> You mean change the hardcoded font name
> in /sys/src/cmd/acme/acme.c?
> By the way, I'll follow your suggestion to add 日本語
> to unicode.8.font.

Hi Kenji,

Something that I've found useful is to define the following in your profile:

fixedfont=/path/to/my/font
fn acme {builtin acme -f $fixedfont $*}

HTH,

Steve



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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  4:42   ` kokamoto
  2012-04-29  4:54     ` Steven Stallion
@ 2012-04-29  4:55     ` Lyndon Nerenberg
  2012-04-29  4:59       ` erik quanstrom
  2012-04-29  8:30       ` Rob Pike
  1 sibling, 2 replies; 15+ messages in thread
From: Lyndon Nerenberg @ 2012-04-29  4:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> You mean change the hardcoded font name
> in /sys/src/cmd/acme/acme.c?

No, add something like:

font = /lib/font/bit/fixed/unicode.7x13.font
fn acme {builtin acme -f $font $*}

to your lib/profile. This will set your acme and rio fonts to
unicode.7x13.font.  Substitute the pathname to your preferred font file,
then reboot your terminal.

--lyndon




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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  4:55     ` Lyndon Nerenberg
@ 2012-04-29  4:59       ` erik quanstrom
  2012-04-29  8:30       ` Rob Pike
  1 sibling, 0 replies; 15+ messages in thread
From: erik quanstrom @ 2012-04-29  4:59 UTC (permalink / raw)
  To: 9fans

> font = /lib/font/bit/fixed/unicode.7x13.font
> fn acme {builtin acme -f $font $*}
>
> to your lib/profile. This will set your acme and rio fonts to
> unicode.7x13.font.  Substitute the pathname to your preferred font file,
> then reboot your terminal.

or plumb the string
	Local font = /lib/font/bit/fixed/unicode.7x13.font; fn acme {builtin acme -f $font $*}
instead of rebooting.

- erik



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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  4:55     ` Lyndon Nerenberg
  2012-04-29  4:59       ` erik quanstrom
@ 2012-04-29  8:30       ` Rob Pike
  2012-04-29  9:04         ` kokamoto
  2012-04-29 14:25         ` Lyndon Nerenberg
  1 sibling, 2 replies; 15+ messages in thread
From: Rob Pike @ 2012-04-29  8:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sun, Apr 29, 2012 at 2:55 PM, Lyndon Nerenberg <lyndon@orthanc.ca> wrote:
>> You mean change the hardcoded font name
>> in /sys/src/cmd/acme/acme.c?
>
>
> No, add something like:
>
> font = /lib/font/bit/fixed/unicode.7x13.font
> fn acme {builtin acme -f $font $*}

You don't need to do the second line.  Acme uses $font automatically.

-rob



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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  8:30       ` Rob Pike
@ 2012-04-29  9:04         ` kokamoto
  2012-04-29  9:52           ` kokamoto
  2012-04-29 14:25         ` Lyndon Nerenberg
  1 sibling, 1 reply; 15+ messages in thread
From: kokamoto @ 2012-04-29  9:04 UTC (permalink / raw)
  To: 9fans

> You don't need to do the second line.  Acme uses $font automatically.

Yes, I just added ../shinonome/k.14.xxxx to /lib/font/bit/lucidasans/unicode.8.font,
such as:
0x3000 0x30fe ../shinonome/k14.3000
0x4e00 0x4ffe ../shinonome/k14.4e00
0x5005 0x51fe ../shinonome/k14.5005
0x5200 0x53fa ../shinonome/k14.5200
0x5401 0x55fe ../shinonome/k14.5401
0x5606 0x57fc ../shinonome/k14.5606
....
0x961c 0x97ff ../shinonome/k14.961c
0x9801 0x99ff ../shinonome/k14.9801
0x9a01 0x9bf5 ../shinonome/k14.9a01
0x9c04 0x9dfd ../shinonome/k14.9c04
0x9e1a 0x9fa0 ../shinonome/k14.9e1a
0xfb1e	0xfb1e	../lucida/Althebrew.7.0
0xff01 0xffe5 ../shinonome/k14.ff01

and set font=/lib/font/bit/lucidasans/unicode.8.font.   It works charm.
Thank you very much all.

Kenji




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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  9:04         ` kokamoto
@ 2012-04-29  9:52           ` kokamoto
  0 siblings, 0 replies; 15+ messages in thread
From: kokamoto @ 2012-04-29  9:52 UTC (permalink / raw)
  To: 9fans

I lied.

I forgot to delete the ../shinonome lines from euro.8.font file.
Then, I found the the "fn acme {builtin acme -f $font $*}" line
is neccessary on my version of acme.

Kenji

>> You don't need to do the second line.  Acme uses $font automatically.
>
> Yes, I just added ../shinonome/k.14.xxxx to /lib/font/bit/lucidasans/unicode.8.font,
> such as:
> 0x3000 0x30fe ../shinonome/k14.3000
> 0x4e00 0x4ffe ../shinonome/k14.4e00
> 0x5005 0x51fe ../shinonome/k14.5005
> 0x5200 0x53fa ../shinonome/k14.5200
> 0x5401 0x55fe ../shinonome/k14.5401
> 0x5606 0x57fc ../shinonome/k14.5606
> ....
> 0x961c 0x97ff ../shinonome/k14.961c
> 0x9801 0x99ff ../shinonome/k14.9801
> 0x9a01 0x9bf5 ../shinonome/k14.9a01
> 0x9c04 0x9dfd ../shinonome/k14.9c04
> 0x9e1a 0x9fa0 ../shinonome/k14.9e1a
> 0xfb1e	0xfb1e	../lucida/Althebrew.7.0
> 0xff01 0xffe5 ../shinonome/k14.ff01
>
> and set font=/lib/font/bit/lucidasans/unicode.8.font.   It works charm.
> Thank you very much all.
>
> Kenji




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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29  8:30       ` Rob Pike
  2012-04-29  9:04         ` kokamoto
@ 2012-04-29 14:25         ` Lyndon Nerenberg
  2012-04-29 22:38           ` Rob Pike
  1 sibling, 1 reply; 15+ messages in thread
From: Lyndon Nerenberg @ 2012-04-29 14:25 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On 2012-04-29, at 1:30 AM, Rob Pike wrote:

> You don't need to do the second line.  Acme uses $font automatically.

Only the p9p version of acme.  The native plan9 acme doesn't.



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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29 14:25         ` Lyndon Nerenberg
@ 2012-04-29 22:38           ` Rob Pike
  2012-04-29 22:45             ` Lyndon Nerenberg
  0 siblings, 1 reply; 15+ messages in thread
From: Rob Pike @ 2012-04-29 22:38 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

That's odd but easy to change.

-rob



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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29 22:38           ` Rob Pike
@ 2012-04-29 22:45             ` Lyndon Nerenberg
  2012-04-29 23:38               ` Matthew Veety
  0 siblings, 1 reply; 15+ messages in thread
From: Lyndon Nerenberg @ 2012-04-29 22:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On 2012-04-29, at 3:38 PM, Rob Pike wrote:

> That's odd but easy to change.

After chasing down and reading Presotto's rant about proportional fonts in acme?  I will live happily ever after with acme's current default behaviour, just to honour one of the best flames of all time :-)

--lyndon




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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29 22:45             ` Lyndon Nerenberg
@ 2012-04-29 23:38               ` Matthew Veety
  2012-04-29 23:47                 ` Lyndon Nerenberg
  0 siblings, 1 reply; 15+ messages in thread
From: Matthew Veety @ 2012-04-29 23:38 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 04/29/12 18:45, Lyndon Nerenberg wrote:
>
> On 2012-04-29, at 3:38 PM, Rob Pike wrote:
>
>> That's odd but easy to change.
>
> After chasing down and reading Presotto's rant about proportional fonts in acme?  I will live happily ever after with acme's current default behaviour, just to honour one of the best flames of all time :-)
>
> --lyndon
>
>

Well either way I fixed that shit. Hit me up if you want me to post the
patch.

On another note: why does p9p's acme work as expected but not plan9's?

--
Matthew Veety



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

* Re: [9fans] lucidasans and 日本語表示
  2012-04-29 23:38               ` Matthew Veety
@ 2012-04-29 23:47                 ` Lyndon Nerenberg
  0 siblings, 0 replies; 15+ messages in thread
From: Lyndon Nerenberg @ 2012-04-29 23:47 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On 2012-04-29, at 4:38 PM, Matthew Veety wrote:

> Well either way I fixed that shit. Hit me up if you want me to post the patch.

Fuck that – repost the flame! 

The acme fix is trivial in comparison ;-)




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

end of thread, other threads:[~2012-04-29 23:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-29  2:18 [9fans] lucidasans and 日本語表示 kokamoto
2012-04-29  2:43 ` Rob Pike
2012-04-29  4:05   ` Benjamin Huntsman
2012-04-29  4:42   ` kokamoto
2012-04-29  4:54     ` Steven Stallion
2012-04-29  4:55     ` Lyndon Nerenberg
2012-04-29  4:59       ` erik quanstrom
2012-04-29  8:30       ` Rob Pike
2012-04-29  9:04         ` kokamoto
2012-04-29  9:52           ` kokamoto
2012-04-29 14:25         ` Lyndon Nerenberg
2012-04-29 22:38           ` Rob Pike
2012-04-29 22:45             ` Lyndon Nerenberg
2012-04-29 23:38               ` Matthew Veety
2012-04-29 23:47                 ` Lyndon Nerenberg

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