9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] netsurf or opossum
@ 2021-01-07  6:52 kokamoto
  2021-01-07  8:07 ` Lucio De Re
  0 siblings, 1 reply; 22+ messages in thread
From: kokamoto @ 2021-01-07  6:52 UTC (permalink / raw)
  To: 9fans

I got now rwo new web browsers which can do css and/or js on my
9front box.

Both have almost same functionality and speed etc.
A page with JS (https://eonet.ne.jp) is almost same as that by JS enabled netsurf.

Netsurf is written in C, and Opossum is in Go.
Most basic difference is that opossum is written for Plan 9
from the beginning which may be better for us...

How do you think?

Kenji


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M0b8185d6fd705fbab2715278
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-01-07  6:52 [9fans] netsurf or opossum kokamoto
@ 2021-01-07  8:07 ` Lucio De Re
  2021-01-07  8:28   ` Mark van Atten
  0 siblings, 1 reply; 22+ messages in thread
From: Lucio De Re @ 2021-01-07  8:07 UTC (permalink / raw)
  To: 9fans

> Netsurf is written in C, and Opossum is in Go.
> Most basic difference is that opossum is written for Plan 9
> from the beginning which may be better for us...
>
One point in favour, from a Go fan: Go is far more maintainable than
C. I can think of some disadvantages, though.

As I can't find opossum by simple google, that's as much as I can
contribute. Possum seems to be a web library, so I can't comment, at
least not yet.

Lucio,

On 1/7/21, kokamoto@hera.eonet.ne.jp <kokamoto@hera.eonet.ne.jp> wrote:
> I got now rwo new web browsers which can do css and/or js on my
> 9front box.
> 
> Both have almost same functionality and speed etc.
> A page with JS (https://eonet.ne.jp) is almost same as that by JS enabled
> netsurf.
> 
> How do you think?
> 
> Kenji
> 


-- 
Lucio De Re
2 Piet Retief St
Kestell (Eastern Free State)
9860 South Africa

Ph.: +27 71 471 3694
Cell: +27 83 251 5824

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M96ddc3caa3f22ccc00df27c5
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-01-07  8:07 ` Lucio De Re
@ 2021-01-07  8:28   ` Mark van Atten
  2021-01-07 20:50     ` Philip Silva via 9fans
  0 siblings, 1 reply; 22+ messages in thread
From: Mark van Atten @ 2021-01-07  8:28 UTC (permalink / raw)
  To: 9fans

http://git.pmikkelsen.com/ph/opossum

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Mf2d9006c5749e4decf646828
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-01-07  8:28   ` Mark van Atten
@ 2021-01-07 20:50     ` Philip Silva via 9fans
  2021-01-07 23:24       ` kokamoto
  2021-01-08  5:48       ` kokamoto
  0 siblings, 2 replies; 22+ messages in thread
From: Philip Silva via 9fans @ 2021-01-07 20:50 UTC (permalink / raw)
  To: 9fans

To be fair I think the rendering quality can be attributed to the html/css processing. For instance parsing is completely done by golang.org/x/net/html and github.com/aymerick/douceur. (Also one can get quite far with handling display: inline/inline-block/flex and height/width attributes)

One disadvantage might be that some existing HTML styling attributes aren't implemented yet like colspan or "standard" tags like textarea or radio inputs although that's easy to implement. Also it's quite speculative how far one could get with JS which is essentially based on goja and domino. But it's promising that jQuery click handlers work in isolated examples, despite the onclick attribute not even being implemented.

Probably it's also worth mentioning that memory consumption is comparable to that of a regular browser on macOS. Maybe this could be solved by some kind of tree slicing.

In any case I think developing is fun most of the time!

Greetings, Philip


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Am Donnerstag, 7. Januar 2021 09:28 schrieb Mark van Atten <vanattenmark@gmail.com>:

> http://git.pmikkelsen.com/ph/opossum
>
> -----------------------------------------
>
> 9fans: 9fans
> Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Mf2d9006c5749e4decf646828
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Mc647b1b9c4ce279c9a88b6a4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-01-07 20:50     ` Philip Silva via 9fans
@ 2021-01-07 23:24       ` kokamoto
  2021-01-08  5:48       ` kokamoto
  1 sibling, 0 replies; 22+ messages in thread
From: kokamoto @ 2021-01-07 23:24 UTC (permalink / raw)
  To: 9fans

Thank you very much for your technical explanation, Philip.

By the way the file sizes of both are:

--rwxrwxr-x M 24 sys sys 51135788 Jan  7 15:33 /amd64/bin/netsurf
--rwxr-xr-x M 24 sys sys 15456437 Jan  7 09:32 /amd64/bin/opossum

Kenji


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Me2d2ec238760de604631385b
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-01-07 20:50     ` Philip Silva via 9fans
  2021-01-07 23:24       ` kokamoto
@ 2021-01-08  5:48       ` kokamoto
  2021-04-22  1:34         ` kokamoto
  1 sibling, 1 reply; 22+ messages in thread
From: kokamoto @ 2021-01-08  5:48 UTC (permalink / raw)
  To: 9fans

> Also it's quite speculative how far one could get with JS which is essentially based on goja and domino. 

Yes, JS works in more limited than netsurf, although the latter has a little functions.

One big disadvantage is not having 'colspan'...

Kenji


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M772bbdaf91487f202670df6e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-01-08  5:48       ` kokamoto
@ 2021-04-22  1:34         ` kokamoto
  2021-04-22  7:36           ` Philip Silva via 9fans
  2021-04-22  7:39           ` Philip Silva via 9fans
  0 siblings, 2 replies; 22+ messages in thread
From: kokamoto @ 2021-04-22  1:34 UTC (permalink / raw)
  To: 9fans

> One big disadvantage is not having 'colspan'...

Nice, now it has this, and do resizing of the window!

Kenji


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Maa74ff3b8e96100d5c595a51
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-04-22  1:34         ` kokamoto
@ 2021-04-22  7:36           ` Philip Silva via 9fans
  2021-04-22  7:39           ` Philip Silva via 9fans
  1 sibling, 0 replies; 22+ messages in thread
From: Philip Silva via 9fans @ 2021-04-22  7:36 UTC (permalink / raw)
  To: 9fans

> > One big disadvantage is not having 'colspan'...
>
> Nice, now it has this, and do resizing of the window!

True! At least the colspan is gracefully ignored, but probably it's really not that important :D

Philip

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Mbe2264f63687cbdc84fd6c2e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-04-22  1:34         ` kokamoto
  2021-04-22  7:36           ` Philip Silva via 9fans
@ 2021-04-22  7:39           ` Philip Silva via 9fans
  2021-04-23  4:37             ` kokamoto
  1 sibling, 1 reply; 22+ messages in thread
From: Philip Silva via 9fans @ 2021-04-22  7:39 UTC (permalink / raw)
  To: 9fans

Although I guess generally it's good to have more than one Browser available.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Mfe40f44f07f618e8e041c150
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-04-22  7:39           ` Philip Silva via 9fans
@ 2021-04-23  4:37             ` kokamoto
  2021-04-23 13:10               ` Philip Silva via 9fans
  0 siblings, 1 reply; 22+ messages in thread
From: kokamoto @ 2021-04-23  4:37 UTC (permalink / raw)
  To: 9fans

Please look at http://google.co.jp

We see many 'NULL' on this page.

Kenji


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M26405485fc05d412397ae633
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-04-23  4:37             ` kokamoto
@ 2021-04-23 13:10               ` Philip Silva via 9fans
  2021-04-24  0:18                 ` kokamoto
  0 siblings, 1 reply; 22+ messages in thread
From: Philip Silva via 9fans @ 2021-04-23 13:10 UTC (permalink / raw)
  To: 9fans

That was unexpected, but it should be much better now! Now the character set hint is actually used

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Am Freitag, 23 April 2021 06:37 schrieb <kokamoto@hera.eonet.ne.jp>:

> Please look at http://google.co.jp
>
> We see many 'NULL' on this page.
>
> Kenji
>
>
> ---------------------------------------------------------------------------------
>
> 9fans: 9fans
> Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M26405485fc05d412397ae633
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Me661195a090dd94d77e2ea9e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-04-23 13:10               ` Philip Silva via 9fans
@ 2021-04-24  0:18                 ` kokamoto
  2021-04-24  2:00                   ` kokamoto
  2021-04-24 15:51                   ` Philip Silva via 9fans
  0 siblings, 2 replies; 22+ messages in thread
From: kokamoto @ 2021-04-24  0:18 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

Yes, now we can see right Japanese text!
Very quick fix, thanks.

Kenji

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M5edc10f1830b81c5be2d7bc0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: message/rfc822, Size: 11350 bytes --]

From: "Philip Silva via 9fans" <9fans@9fans.net>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] netsurf or opossum
Date: Fri, 23 Apr 2021 13:10:39 +0000
Message-ID: <flcgMkFgxMravAEbit9D7Pik5PTUw00ZChOZYkRgAlCsRbRuHIHG2eoUSpDYQ2p4L3sGS2G_rVYCJR7WF0yhKbbfT6Qb0_oc0yDNWq_95_o=@protonmail.com>

That was unexpected, but it should be much better now! Now the character set hint is actually used

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Am Freitag, 23 April 2021 06:37 schrieb <kokamoto@hera.eonet.ne.jp>:

> Please look at http://google.co.jp
>
> We see many 'NULL' on this page.
>
> Kenji
>
>
> ---------------------------------------------------------------------------------
>
> 9fans: 9fans
> Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M26405485fc05d412397ae633
> Delivery options: https://9fans.topicbox.com/groups/9fans/subscription



------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Me661195a090dd94d77e2ea9e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-04-24  0:18                 ` kokamoto
@ 2021-04-24  2:00                   ` kokamoto
  2021-04-24 15:51                   ` Philip Silva via 9fans
  1 sibling, 0 replies; 22+ messages in thread
From: kokamoto @ 2021-04-24  2:00 UTC (permalink / raw)
  To: 9fans

> Yes, now we can see right Japanese text!

It's not enough.
There is still 'NUL' character when 漢字 and ( or ), hankaku moji,
are mixed: like
例(日本語) ==>例NUL日本語NUL

Kenji


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Md930fcb8c502bf42ec80451d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-04-24  0:18                 ` kokamoto
  2021-04-24  2:00                   ` kokamoto
@ 2021-04-24 15:51                   ` Philip Silva via 9fans
  2021-04-25  4:07                     ` kokamoto
  1 sibling, 1 reply; 22+ messages in thread
From: Philip Silva via 9fans @ 2021-04-24 15:51 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 655 bytes --]

Awesome, no problem!

> There is still 'NUL' character when 漢字 and ( or ), hankaku moji,
are mixed: like
> 例(日本語) ==>例NUL日本語NUL

I wonder what that could be. So with the current version (910bfe from yesterday) it can work if the input is UTF-8: http://psilva.sdf.org/ja.html Do you maybe have a link with an example?

Philip

> Yes, now we can see right Japanese text!
> Very quick fix, thanks.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M451400dca342486b2cec37f1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: 16192235181.d5bdD.392845@tb-mx1 --]
[-- Type: message/rfc822, Size: 11351 bytes --]




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

* Re: [9fans] netsurf or opossum
  2021-04-24 15:51                   ` Philip Silva via 9fans
@ 2021-04-25  4:07                     ` kokamoto
  2021-04-26 18:25                       ` Philip Silva via 9fans
  0 siblings, 1 reply; 22+ messages in thread
From: kokamoto @ 2021-04-25  4:07 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

I included a picture taken on 9legacy's opossum screen.
On the 6th line, there is a words of '日本語Nul言語Nul', 
which should be '日本語(言語)'.

The '(' or ')' is replaced by NUL character, which may be
caused from a library under your program, not from yours.
This is just my guess.

Kenji

[-- Attachment #2.1: Type: text/plain, Size: 576 bytes --]

from postmaster@ci5hp2:
The following attachment had content that we can't
prove to be harmless.  To avoid possible automatic
execution, we changed the content headers.
The original header was:

        Content-Type: application/x-bzip2
        Content-Disposition: attachment; filename=opossum.bz2
        Content-Transfer-Encoding: base64
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M31cba2fbe975ce2cf7e736f1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2.2: opossum.bz2.suspect --]
[-- Type: application/octet-stream, Size: 27826 bytes --]

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

* Re: [9fans] netsurf or opossum
  2021-04-25  4:07                     ` kokamoto
@ 2021-04-26 18:25                       ` Philip Silva via 9fans
  2021-04-26 19:29                         ` ori
  0 siblings, 1 reply; 22+ messages in thread
From: Philip Silva via 9fans @ 2021-04-26 18:25 UTC (permalink / raw)
  To: 9fans

Hm ok, that's rather tricky to reproduce. (Also unfortunately I don't have a running 9legacy system) One thing I noticed though that for instance on https://ja.wikipedia.org the parentheses are usually fullwidth parentheses and on 9front rendered to the UTF8 face :-). I added a commit which maps these and other characters to their canonical widths. That's really a quick fix but it seems to improve things, maybe also there. It could also be solved font-wise, at some point I definitely want to write a function that checks which fonts are available.

Philip

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M4f7bb0fa486c25a34386f8b0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-04-26 18:25                       ` Philip Silva via 9fans
@ 2021-04-26 19:29                         ` ori
  2021-05-03 20:45                           ` Philip Silva via 9fans
  0 siblings, 1 reply; 22+ messages in thread
From: ori @ 2021-04-26 19:29 UTC (permalink / raw)
  To: 9fans

Quoth Philip Silva via 9fans <9fans@9fans.net>:
> Hm ok, that's rather tricky to reproduce. (Also unfortunately I don't have a running 9legacy system) One thing I noticed though that for instance on https://ja.wikipedia.org the parentheses are usually fullwidth parentheses and on 9front rendered to the UTF8 face :-). I added a commit which maps these and other characters to their canonical widths. That's really a quick fix but it seems to improve things, maybe also there. It could also be solved font-wise, at some point I definitely want to write a function that checks which fonts are available.
> 
> Philip
>

Yes, that seems like a font issue, and should be fixed there.
I'll gladly commit patches that fix missing glyphs.


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Mb38bcf3351cd98e81a0c0707
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-04-26 19:29                         ` ori
@ 2021-05-03 20:45                           ` Philip Silva via 9fans
  2021-05-04  0:56                             ` kokamoto
  0 siblings, 1 reply; 22+ messages in thread
From: Philip Silva via 9fans @ 2021-05-03 20:45 UTC (permalink / raw)
  To: 9fans

Hi!

Here's a patch for most of the fullwidth glyphs in lucidasans and vga! The subfonts are already used in each font file. I guess one way to quickly test would be:

hget https://ja.wikipedia.org | htmlfmt > /tmp/wp
for (font in /lib/font/bit/lucidasans/unicode.*.font /lib/font/bit/vga/unicode.font) {
  acme /tmp/wp
}

Probably a similar patch could also easily be created for the bold and italic versions, but that's too much work for now :)

Philip

diff -r 859a4e61471b lib/font/bit/lucidasans/unicode.10.font
--- a/lib/font/bit/lucidasans/unicode.10.font   Mon May 03 21:04:39 2021 +0200
+++ b/lib/font/bit/lucidasans/unicode.10.font   Mon May 03 22:35:32 2021 +0200
@@ -55,6 +55,7 @@
 0x9a01 0x9bf5  ../shinonome/k16.9a01
 0x9c04 0x9dfd  ../shinonome/k16.9c04
 0x9e1a 0x9fa0  ../shinonome/k16.9e1a
+0xff01 0xffe5  ../shinonome/k16.ff01
 0xfb1e 0xfb1e  ../lucida/Althebrew.9.0
 0xfff9 0xffff  ../dejavu/dejavu.16.fff9
 0xfb00 0xfc00  ../dejavu/dejavu.16.fb00
diff -r 859a4e61471b lib/font/bit/lucidasans/unicode.13.font
--- a/lib/font/bit/lucidasans/unicode.13.font   Mon May 03 21:04:39 2021 +0200
+++ b/lib/font/bit/lucidasans/unicode.13.font   Mon May 03 22:35:32 2021 +0200
@@ -56,3 +56,4 @@
 0x9c00 0x9dff ../jis/jis9c00.24
 0x9e00 0x9fff ../jis/jis9e00.24
 0xfb1e 0xfb1e  ../lucida/Althebrew.12.0
+0xfee0 0xff5e  lsr.24
diff -r 859a4e61471b lib/font/bit/lucidasans/unicode.6.font
--- a/lib/font/bit/lucidasans/unicode.6.font    Mon May 03 21:04:39 2021 +0200
+++ b/lib/font/bit/lucidasans/unicode.6.font    Mon May 03 22:35:32 2021 +0200
@@ -56,6 +56,7 @@
 0x9a01 0x9bf5  ../shinonome/k12.9a01
 0x9c04 0x9dfd  ../shinonome/k12.9c04
 0x9e1a 0x9fa0  ../shinonome/k12.9e1a
+0xff01 0xffe5  ../shinonome/k12.ff01
 0xfb00 0xfbff  ../fixed/6x12.FB00
 0xfe00 0xfeff  ../fixed/6x12.FE00
 0xff00 0xffff  ../fixed/6x12.FF00
diff -r 859a4e61471b lib/font/bit/lucidasans/unicode.7.font
--- a/lib/font/bit/lucidasans/unicode.7.font    Mon May 03 21:04:39 2021 +0200
+++ b/lib/font/bit/lucidasans/unicode.7.font    Mon May 03 22:35:32 2021 +0200
@@ -59,6 +59,7 @@
 0x9a01 0x9bf5  ../shinonome/k12.9a01
 0x9c04 0x9dfd  ../shinonome/k12.9c04
 0x9e1a 0x9fa0  ../shinonome/k12.9e1a
+0xff01 0xffe5  ../shinonome/k12.ff01
 0xfb00 0xfbff  ../fixed/7x14.FB00
 0xff00 0xffff  ../fixed/7x14.FF00
 0x0600 0x06ff  ../fixed/9x15.0600
diff -r 859a4e61471b lib/font/bit/lucidasans/unicode.8.font
--- a/lib/font/bit/lucidasans/unicode.8.font    Mon May 03 21:04:39 2021 +0200
+++ b/lib/font/bit/lucidasans/unicode.8.font    Mon May 03 22:35:32 2021 +0200
@@ -66,6 +66,7 @@
 0x9a01 0x9bf5  ../shinonome/k14.9a01
 0x9c04 0x9dfd  ../shinonome/k14.9c04
 0x9e1a 0x9fa0  ../shinonome/k14.9e1a
+0xff01 0xffe5  ../shinonome/k14.ff01
 0xfb00 0xfbff  ../fixed/9x18.FB00
 0xfe00 0xfeff  ../fixed/9x18.FE00
 0xff00 0xffff  ../fixed/9x18.FF00
diff -r 859a4e61471b lib/font/bit/vga/unicode.font
--- a/lib/font/bit/vga/unicode.font     Mon May 03 21:04:39 2021 +0200
+++ b/lib/font/bit/vga/unicode.font     Mon May 03 22:35:32 2021 +0200
@@ -191,6 +191,7 @@
 0x9a01 0x9bf5  ../shinonome/k12.9a01
 0x9c04 0x9dfd  ../shinonome/k12.9c04
 0x9e1a 0x9fa0  ../shinonome/k12.9e1a
+0xff01 0xffe5  ../shinonome/k12.ff01
 0x0e00 0x0eff  ../fixed/7x14.0E00
 0x1600 0x16ff  ../fixed/7x14.1600
 0x2400 0x24ff  ../fixed/7x14.2400


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Am Montag, 26 April 2021 21:29 schrieb <ori@eigenstate.org>:


> Yes, that seems like a font issue, and should be fixed there.
> I'll gladly commit patches that fix missing glyphs.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M868b7e06206f0a22d9fdd868
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-05-03 20:45                           ` Philip Silva via 9fans
@ 2021-05-04  0:56                             ` kokamoto
  2021-05-04  4:11                               ` kokamoto
  0 siblings, 1 reply; 22+ messages in thread
From: kokamoto @ 2021-05-04  0:56 UTC (permalink / raw)
  To: 9fans

> diff -r 859a4e61471b lib/font/bit/lucidasans/unicode.10.font
> --- a/lib/font/bit/lucidasans/unicode.6.font   Mon May 03 21:04:39 2021 +0200
> +++ b/lib/font/bit/lucidasans/unicode.6.font   Mon May 03 22:35:32 2021 +0200
> @@ -55,6 +55,7 @@
>  0x9a01 0x9bf5  ../shinonome/k12.9a01
>  0x9c04 0x9dfd  ../shinonome/k12.9c04
>  0x9e1a 0x9fa0  ../shinonome/k12.9e1a

These lines are ../naga10/knj10.xxx in my list, which I haven't check,
just following 9legacy standard.
Additionary, I have no vga fonts.

Are you using additional patches for this?

Kenji


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M0350000791b151c190d97b3c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-05-04  0:56                             ` kokamoto
@ 2021-05-04  4:11                               ` kokamoto
  2021-05-04  4:14                                 ` kokamoto
  2021-05-08 10:12                                 ` Philip Silva via 9fans
  0 siblings, 2 replies; 22+ messages in thread
From: kokamoto @ 2021-05-04  4:11 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

Woops, you are using 9front...

By the way, I attached two images, the screens are taken from 1 to 2.
The shot1 shows that I entered 日本語 in the Google search window,
and the second does the result of 1.

You see 日本語 string changed to other unknown word.
This is interesting enough.

Kenji

PS: this is also a test of 9legacy's upas to attach figures☺

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Mf1f22b9bf569d4323607da38
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: opossum1.png --]
[-- Type: image/png, Size: 36287 bytes --]

[-- Attachment #3: opossum2.png --]
[-- Type: image/png, Size: 72353 bytes --]

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

* Re: [9fans] netsurf or opossum
  2021-05-04  4:11                               ` kokamoto
@ 2021-05-04  4:14                                 ` kokamoto
  2021-05-08 10:12                                 ` Philip Silva via 9fans
  1 sibling, 0 replies; 22+ messages in thread
From: kokamoto @ 2021-05-04  4:14 UTC (permalink / raw)
  To: 9fans

> PS: this is also a test of 9legacy's upas to attach figures☺

Ok, I got right mail with figures.

Kenji


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-M5d59097b8c3833de4eecc4c7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

* Re: [9fans] netsurf or opossum
  2021-05-04  4:11                               ` kokamoto
  2021-05-04  4:14                                 ` kokamoto
@ 2021-05-08 10:12                                 ` Philip Silva via 9fans
  1 sibling, 0 replies; 22+ messages in thread
From: Philip Silva via 9fans @ 2021-05-08 10:12 UTC (permalink / raw)
  To: 9fans

The figures turn out to be quite practical though! :) Non-utf8 Encoding for most forms should work now, although some corner-cases for POST are still missing.

Probably the fonts could be copied over or you can look for fonts that include subfonts covering the fullwidth ranges 0xff01-0xffe5. By the way, the fonts are configurable now, so the $font env variable is parsed, e.g. it's possible to start with:

font=/lib/font/bit/pelm/unicode.9.font go run .

All unicode.###.font files are then used for scaling, unfortunately anti aliased fonts don't work well yet.

Also I found ttf2subf and the fontsel tool quite practical:

http://9front.org/extra/ttf2subf.tgz
http://shithub.us/sigrid/fontsel/HEAD/info.html
https://plan9.io/wiki/plan9/fonts/index.html

Philip

> You see 日本語 string changed to other unknown word.
>
> PS: this is also a test of 9legacy's upas to attach figures☺

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Mbb6f7d85b8d0afb3b15d51c9
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

end of thread, other threads:[~2021-05-08 18:28 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07  6:52 [9fans] netsurf or opossum kokamoto
2021-01-07  8:07 ` Lucio De Re
2021-01-07  8:28   ` Mark van Atten
2021-01-07 20:50     ` Philip Silva via 9fans
2021-01-07 23:24       ` kokamoto
2021-01-08  5:48       ` kokamoto
2021-04-22  1:34         ` kokamoto
2021-04-22  7:36           ` Philip Silva via 9fans
2021-04-22  7:39           ` Philip Silva via 9fans
2021-04-23  4:37             ` kokamoto
2021-04-23 13:10               ` Philip Silva via 9fans
2021-04-24  0:18                 ` kokamoto
2021-04-24  2:00                   ` kokamoto
2021-04-24 15:51                   ` Philip Silva via 9fans
2021-04-25  4:07                     ` kokamoto
2021-04-26 18:25                       ` Philip Silva via 9fans
2021-04-26 19:29                         ` ori
2021-05-03 20:45                           ` Philip Silva via 9fans
2021-05-04  0:56                             ` kokamoto
2021-05-04  4:11                               ` kokamoto
2021-05-04  4:14                                 ` kokamoto
2021-05-08 10:12                                 ` Philip Silva via 9fans

9fans - fans of the OS Plan 9 from Bell Labs

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9fans

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9fans 9fans/ http://inbox.vuxu.org/9fans \
		9fans@9fans.net
	public-inbox-index 9fans

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9fans


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git