Re: [9fans] Acme fonts

2020-11-20 Thread Stuart Morrow
a.k.a. twitalics

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9673b88bfb3c3d3b-Mebf727ef2c439ab357e56fe2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Acme fonts

2020-07-23 Thread Ethan Gardener
On Thu, Jul 23, 2020, at 6:27 AM, Lucio De Re wrote:
> 
> It does mean that acme needs some way to extend its grasp of
> delimiters into the extended fonts.

How about just masking off the top few bits when checking for delimiters? Not 
really a clean solution, but certainly simple. It would mean some long numbers 
in subfont files. If we use the top 4 bits:
0x1000 0x101f /mnt/font/MyriadPro-It/36a/x.bit
That doesn't look as bad as I thought it would.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9673b88bfb3c3d3b-Mb7b9badadb38745e744e6e5a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Acme fonts

2020-07-22 Thread Lucio De Re
On 7/22/20, Russ Cox  wrote:
> On Tue, Jul 21, 2020 at 7:22 PM Anthony Martin  wrote:
>
>> Russ, what did you do to that poor little Acme?! ☺
>>
>> Did you take the less daunting route using
>>
>>  - a combined font file with shapes for normal, italic, bold, etc. and
>>  - a filter to offset runes into "planes" for each font shape?
>>
>
> Yes, that's what I did. Completely awful - the text being displayed isn't
> usable as text. You can tell because when I double-click on the modified
> text acme doesn't know where the word boundaries are and ends up
> highlighting across punctuation that it normally wouldn't.

Remembering a discussion on 9fans where I suggested that capital
letters ought to be a different font, not a unique glyph (Russian, for
example, I believe just changes the font size, which we know is a
different font), I think Russ's is an excellent solution, given those
8 bits between 24 and 32 that one can abuse for the purpose.

It does mean that acme needs some way to extend its grasp of
delimiters into the extended fonts. Solving that without resorting to
a total separation between input and rendering, would be a winner, but
I am not competent enough to know if it is even remotely possible.

Incidentally, I opted for a tag line that looks like this:

 "... Snarf Undo Put  |Fmt |q |f78 look |b |e Font"

where I use "b" and "e" /bin commands to generate time stamps in my
"notepad" document. The details don't seem worth going into, "q", if I
remember right, is straight out of Russ's $home/bin/rc from years back
(with "g" which I have yet to enhance correctly to work on ".go"
directories). I got my inspiration remembering that a friend and
colleague (Windows user) adopted single letter command for all sorts
of shortcuts he memorised and even changed in different contexts.

The temptation to add a vertical edge to each acme window with a
single letter in little blocks - lower case and possibly capitals - is
only resisted by my reluctance to tackle a task I may not be
sufficiently competent to complete.

And for other ".go" developers, how many of you have found renaming a
module from ".go" to ".no" a practical approach to get it,
temporarily, perhaps, out of the way of the compiler?

Lucio.

PS: Sorry about the off-topic diversion. I do happen to be marvelling
over fonts among many other distractions from my day job. I still
don't quite have a proper understanding, so I get odd results when I
try to do anything creative,  but not everything is a failure,
thankfully.

PPS: Like Forsyth, I like the io/fs idea. I like "generics" a lot
less, and I find go modules (sorry, Russ) quite incomprehensible
.

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9673b88bfb3c3d3b-Mae90300b682bbcb6fa2f483c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Acme fonts

2020-07-22 Thread Rob Pike
I see, yes. Well, that's not too terrible.

-rob


On Thu, Jul 23, 2020 at 1:40 PM  wrote:

> > I don't understand that. Acme knows the characters' location or it
> couldn't
> > draw them. Are you sure it's not just the frame library's lousy handling
> of
> > italic fonts?
> 
> Unless I'm misunderstanding how this works, ',' (0x2c) gets mangled
> to something like 0x10002c.
> 
> So, acme knows the location, but not the character types. That means
> 'foo,bar,baz' with a mangled ',' codepoint would treat ',' as a word
> character instead of a separator. Double clicking within foo would
> select [foo,bar,baz] rather than just foo.
> 

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9673b88bfb3c3d3b-M83d3d78bd7b32d700bee5a3d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Acme fonts

2020-07-22 Thread ori
> I don't understand that. Acme knows the characters' location or it couldn't
> draw them. Are you sure it's not just the frame library's lousy handling of
> italic fonts?

Unless I'm misunderstanding how this works, ',' (0x2c) gets mangled
to something like 0x10002c.

So, acme knows the location, but not the character types. That means
'foo,bar,baz' with a mangled ',' codepoint would treat ',' as a word
character instead of a separator. Double clicking within foo would
select [foo,bar,baz] rather than just foo.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9673b88bfb3c3d3b-Ma1bbc7a36aef69605f5b4f10
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Acme fonts

2020-07-22 Thread Rob Pike
>
> *You can tell because when I double-click on the modified text acme
> doesn't know where the word boundaries are and ends up highlighting across
> punctuation that it normally wouldn't.*


I don't understand that. Acme knows the characters' location or it couldn't
draw them. Are you sure it's not just the frame library's lousy handling of
italic fonts?

-rob

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9673b88bfb3c3d3b-M85cc17b0c380fcef6686d3ed
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] Acme fonts

2020-07-21 Thread Anthony Martin
[cc -golang-nuts, +9fans]

> io/fs draft design
>  - Video: https://golang.org/s/draft-iofs-video

Russ, what did you do to that poor little Acme?! ☺

Did you take the less daunting route using

 - a combined font file with shapes for normal, italic, bold, etc. and
 - a filter to offset runes into "planes" for each font shape?

Or did you modify Acme to support some sort of rich text mark-up?

Cheers,
  Anthony

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T9673b88bfb3c3d3b-M0780616af05536293a1a676c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] Acme: fonts

2013-12-11 Thread Christopher Wilson
Okay that explains a lot. I've had trouble with acme on Mac 10.7 and 10.8
On Dec 11, 2013 1:17 PM, erik quanstrom quans...@labs.coraid.com wrote:

  I am running plan9port on my Mac, not Plan-9 or Inferno so there is no
  fontsrv.  I can, however, run:

 fontsrv only exists in plan9port.

 - erik




Re: [9fans] Acme: fonts

2013-12-11 Thread sl
 still a bit pixilated

1 bit fonts are legible. this is a feature.

sl



Re: [9fans] Acme: fonts

2013-12-11 Thread Oleksandr Iakovliev
On 2013-12-11 19:45 , Blake McBride wrote:
 The problem is that the fonts are low-res and pixilated (when compared
 to almost any other program on the Mac).  (I think I saw the same
 problem under Linux.)

You can turn the pixilation in the advantage by using Terminus font -
one of my favorites for the programming in console/terminal!


signature.asc
Description: OpenPGP digital signature


Re: [9fans] Acme: fonts

2013-12-11 Thread Rubén Berenguel
When I installed p9ports in my new Macbook Air (around 4 months ago),
fontsrv didn't compile out of the box, I had to compile it separately.
For me all available fonts read perfectly well and sharp (Mac OS X 10.9 on
Air 13 and Mac OS X 10.6.8 on Macbook 13)

Regards,

Ruben


On Wed, Dec 11, 2013 at 8:26 PM, s...@9front.org wrote:

  still a bit pixilated

 1 bit fonts are legible. this is a feature.

 sl




Re: [9fans] Acme: fonts

2013-12-11 Thread Blake McBride
I checked.  fontsrv didn't compile.  I'm sure I can get it to compile but I
don't see the point.  Acme comes up, I can change fonts, etc..  What will
fontsrv buy me?

Incidentally, when I look on the net at picture or videos of acme, the
fonts they show on all of those are pixilated too.  See:

https://upload.wikimedia.org/wikipedia/commons/9/98/Acme.png
http://research.swtch.com/acme

Those look like mine.  Obviously it is highly usable, but the fonts shown
are pixilated and not smooth like fonts that come with the Mac, Linux, etc.

Thanks.



On Wed, Dec 11, 2013 at 1:33 PM, Rubén Berenguel ru...@mostlymaths.netwrote:

 When I installed p9ports in my new Macbook Air (around 4 months ago),
 fontsrv didn't compile out of the box, I had to compile it separately.
 For me all available fonts read perfectly well and sharp (Mac OS X 10.9 on
 Air 13 and Mac OS X 10.6.8 on Macbook 13)

 Regards,

 Ruben


 On Wed, Dec 11, 2013 at 8:26 PM, s...@9front.org wrote:

  still a bit pixilated

 1 bit fonts are legible. this is a feature.

 sl





Re: [9fans] Acme: fonts

2013-12-11 Thread Rubén Berenguel
Check here:

https://vimeo.com/64487176

The slight pixelation comes from the video compression. The font is Monaco,
on my old Macbook

How are you exactly changing fonts, though?


On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride bl...@mcbride.name wrote:

 I checked.  fontsrv didn't compile.  I'm sure I can get it to compile but
 I don't see the point.  Acme comes up, I can change fonts, etc..  What will
 fontsrv buy me?

 Incidentally, when I look on the net at picture or videos of acme, the
 fonts they show on all of those are pixilated too.  See:

 https://upload.wikimedia.org/wikipedia/commons/9/98/Acme.png
 http://research.swtch.com/acme

 Those look like mine.  Obviously it is highly usable, but the fonts shown
 are pixilated and not smooth like fonts that come with the Mac, Linux, etc.

 Thanks.



 On Wed, Dec 11, 2013 at 1:33 PM, Rubén Berenguel ru...@mostlymaths.netwrote:

 When I installed p9ports in my new Macbook Air (around 4 months ago),
 fontsrv didn't compile out of the box, I had to compile it separately.
 For me all available fonts read perfectly well and sharp (Mac OS X 10.9 on
 Air 13 and Mac OS X 10.6.8 on Macbook 13)

 Regards,

 Ruben


 On Wed, Dec 11, 2013 at 8:26 PM, s...@9front.org wrote:

  still a bit pixilated

 1 bit fonts are legible. this is a feature.

 sl






Re: [9fans] Acme: fonts

2013-12-11 Thread Blake McBride
Your font does look better than what I have (but not perfect).
 Monaco didn't come with 9p9.  Where did you get that?

I am changing font via the Acme Font command on the tag line; i.e.

 Font /usr/local/plan9port/font/fixed/unicode.9x15B.font

It is changing the font.  The change is obvious.

Since most Mac (or Linux) apps have fonts that appear smoothly, fonts
without significant compression exist.  How can I get uncompressed / much
higher resolution fonts for acme?

Thanks.

Blake



On Wed, Dec 11, 2013 at 1:53 PM, Rubén Berenguel ru...@mostlymaths.netwrote:

 Check here:

 https://vimeo.com/64487176

 The slight pixelation comes from the video compression. The font is
 Monaco, on my old Macbook

 How are you exactly changing fonts, though?


 On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride bl...@mcbride.name wrote:

 I checked.  fontsrv didn't compile.  I'm sure I can get it to compile
 but I don't see the point.  Acme comes up, I can change fonts, etc..  What
 will fontsrv buy me?

 Incidentally, when I look on the net at picture or videos of acme, the
 fonts they show on all of those are pixilated too.  See:

 https://upload.wikimedia.org/wikipedia/commons/9/98/Acme.png
 http://research.swtch.com/acme

 Those look like mine.  Obviously it is highly usable, but the fonts shown
 are pixilated and not smooth like fonts that come with the Mac, Linux, etc.

 Thanks.



 On Wed, Dec 11, 2013 at 1:33 PM, Rubén Berenguel 
 ru...@mostlymaths.netwrote:

 When I installed p9ports in my new Macbook Air (around 4 months ago),
 fontsrv didn't compile out of the box, I had to compile it separately.
 For me all available fonts read perfectly well and sharp (Mac OS X 10.9 on
 Air 13 and Mac OS X 10.6.8 on Macbook 13)

 Regards,

 Ruben


 On Wed, Dec 11, 2013 at 8:26 PM, s...@9front.org wrote:

  still a bit pixilated

 1 bit fonts are legible. this is a feature.

 sl







Re: [9fans] Acme: fonts

2013-12-11 Thread sl
 Those look like mine.  Obviously it is highly usable, but the fonts shown
 are pixilated and not smooth like fonts that come with the Mac, Linux, etc.

It's a matter of taste, but I prefer the sharpness of the 1 bit fonts. The gray,
fuzzy stuff eventually takes a toll on my eyes.

sl



Re: [9fans] Acme: fonts

2013-12-11 Thread erik quanstrom
 It's a matter of taste, but I prefer the sharpness of the 1 bit fonts. The 
 gray,
 fuzzy stuff eventually takes a toll on my eyes.

s/taste/eyesight/, perhaps?

- erik



Re: [9fans] Acme: fonts

2013-12-11 Thread Rubén Berenguel
In my current computer the fonts look as crisp as any native Mac app,
except for slashes where some jagginess can be seen on close inspection.
Usually I'm not close enough to the computer to notice, but large fonts
have this (currently I'm using Cochin 20 and AnonymousPro 16) To get Monaco
or any other otf font from the system you actually need to compile and runt
fontsrv. I think I had to go through some hoops to compile it (don't
remember exactly, it was 4 months ago) but essentially should be going to
the fontsrv directory and mk (I guess some uncommenting was needed
somewhere in a makefile) once you have it, run it with  to keep it live to
list all fonts with 9p ls font to see what's available.

Ruben


On Wed, Dec 11, 2013 at 9:04 PM, Blake McBride bl...@mcbride.name wrote:

 Your font does look better than what I have (but not perfect).
  Monaco didn't come with 9p9.  Where did you get that?

 I am changing font via the Acme Font command on the tag line; i.e.

  Font /usr/local/plan9port/font/fixed/unicode.9x15B.font

 It is changing the font.  The change is obvious.

 Since most Mac (or Linux) apps have fonts that appear smoothly, fonts
 without significant compression exist.  How can I get uncompressed / much
 higher resolution fonts for acme?

 Thanks.

 Blake



 On Wed, Dec 11, 2013 at 1:53 PM, Rubén Berenguel ru...@mostlymaths.netwrote:

 Check here:

 https://vimeo.com/64487176

 The slight pixelation comes from the video compression. The font is
 Monaco, on my old Macbook

 How are you exactly changing fonts, though?


 On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride bl...@mcbride.namewrote:

 I checked.  fontsrv didn't compile.  I'm sure I can get it to compile
 but I don't see the point.  Acme comes up, I can change fonts, etc..  What
 will fontsrv buy me?

 Incidentally, when I look on the net at picture or videos of acme, the
 fonts they show on all of those are pixilated too.  See:

 https://upload.wikimedia.org/wikipedia/commons/9/98/Acme.png
 http://research.swtch.com/acme

 Those look like mine.  Obviously it is highly usable, but the fonts
 shown are pixilated and not smooth like fonts that come with the Mac,
 Linux, etc.

 Thanks.



 On Wed, Dec 11, 2013 at 1:33 PM, Rubén Berenguel 
 ru...@mostlymaths.netwrote:

 When I installed p9ports in my new Macbook Air (around 4 months ago),
 fontsrv didn't compile out of the box, I had to compile it separately.
 For me all available fonts read perfectly well and sharp (Mac OS X 10.9 on
 Air 13 and Mac OS X 10.6.8 on Macbook 13)

 Regards,

 Ruben


 On Wed, Dec 11, 2013 at 8:26 PM, s...@9front.org wrote:

  still a bit pixilated

 1 bit fonts are legible. this is a feature.

 sl








Re: [9fans] Acme: fonts

2013-12-11 Thread Aram Hăvărneanu
On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride bl...@mcbride.name wrote:
 I'm sure I can get it to compile but I don't see the point.

The point is that fontsrv allows p9p programs (including acme) to use
whatever true-type font you already have on the system.

-- 
Aram Hăvărneanu



Re: [9fans] Acme: fonts

2013-12-11 Thread Mark van Atten
cd /usr/local/plan9/src/cmd/fontsrv/
9 mk install

works fine on my system (p9p on OSX 10.8.5)

Mark.


On Wed, Dec 11, 2013 at 9:12 PM, Rubén Berenguel ru...@mostlymaths.net wrote:
 In my current computer the fonts look as crisp as any native Mac app, except
 for slashes where some jagginess can be seen on close inspection. Usually
 I'm not close enough to the computer to notice, but large fonts have this
 (currently I'm using Cochin 20 and AnonymousPro 16) To get Monaco or any
 other otf font from the system you actually need to compile and runt
 fontsrv. I think I had to go through some hoops to compile it (don't
 remember exactly, it was 4 months ago) but essentially should be going to
 the fontsrv directory and mk (I guess some uncommenting was needed somewhere
 in a makefile) once you have it, run it with  to keep it live to list all
 fonts with 9p ls font to see what's available.

 Ruben


 On Wed, Dec 11, 2013 at 9:04 PM, Blake McBride bl...@mcbride.name wrote:

 Your font does look better than what I have (but not perfect).  Monaco
 didn't come with 9p9.  Where did you get that?

 I am changing font via the Acme Font command on the tag line; i.e.

  Font /usr/local/plan9port/font/fixed/unicode.9x15B.font

 It is changing the font.  The change is obvious.

 Since most Mac (or Linux) apps have fonts that appear smoothly, fonts
 without significant compression exist.  How can I get uncompressed / much
 higher resolution fonts for acme?

 Thanks.

 Blake



 On Wed, Dec 11, 2013 at 1:53 PM, Rubén Berenguel ru...@mostlymaths.net
 wrote:

 Check here:

 https://vimeo.com/64487176

 The slight pixelation comes from the video compression. The font is
 Monaco, on my old Macbook

 How are you exactly changing fonts, though?


 On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride bl...@mcbride.name
 wrote:

 I checked.  fontsrv didn't compile.  I'm sure I can get it to compile
 but I don't see the point.  Acme comes up, I can change fonts, etc..  What
 will fontsrv buy me?

 Incidentally, when I look on the net at picture or videos of acme, the
 fonts they show on all of those are pixilated too.  See:

 https://upload.wikimedia.org/wikipedia/commons/9/98/Acme.png
 http://research.swtch.com/acme

 Those look like mine.  Obviously it is highly usable, but the fonts
 shown are pixilated and not smooth like fonts that come with the Mac, 
 Linux,
 etc.

 Thanks.



 On Wed, Dec 11, 2013 at 1:33 PM, Rubén Berenguel ru...@mostlymaths.net
 wrote:

 When I installed p9ports in my new Macbook Air (around 4 months ago),
 fontsrv didn't compile out of the box, I had to compile it separately. 
 For
 me all available fonts read perfectly well and sharp (Mac OS X 10.9 on Air
 13 and Mac OS X 10.6.8 on Macbook 13)

 Regards,

 Ruben


 On Wed, Dec 11, 2013 at 8:26 PM, s...@9front.org wrote:

  still a bit pixilated

 1 bit fonts are legible. this is a feature.

 sl









Re: [9fans] Acme: fonts

2013-12-11 Thread sl
 It's a matter of taste, but I prefer the sharpness of the 1 bit fonts. The 
 gray,
 fuzzy stuff eventually takes a toll on my eyes.

 s/taste/eyesight/, perhaps?

Perhaps, but I like to think differences of opinion don't necessarily
indicate physical disability.

sl



Re: [9fans] Acme: fonts

2013-12-11 Thread Blake McBride
On Wed, Dec 11, 2013 at 2:15 PM, Aram Hăvărneanu ara...@mgk.ro wrote:

 On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride bl...@mcbride.name wrote:
  I'm sure I can get it to compile but I don't see the point.

 The point is that fontsrv allows p9p programs (including acme) to use
 whatever true-type font you already have on the system.


Now that is valuable information!!  Thanks!

Blake


Re: [9fans] Acme: fonts

2013-12-11 Thread erik quanstrom
On Wed Dec 11 15:32:25 EST 2013, s...@9front.org wrote:
  It's a matter of taste, but I prefer the sharpness of the 1 bit fonts. The 
  gray,
  fuzzy stuff eventually takes a toll on my eyes.
 
  s/taste/eyesight/, perhaps?
 
 Perhaps, but I like to think differences of opinion don't necessarily
 indicate physical disability.

i apoligize if this was misinterpreted.

i was speaking only about myself.  and assuming that even folks of
nominally normal vision differed in their perception.

- erik



Re: [9fans] Acme: fonts

2013-12-11 Thread Mark van Atten
On Wed, Dec 11, 2013 at 9:30 PM,  s...@9front.org wrote:
 It's a matter of taste, but I prefer the sharpness of the 1 bit fonts. The 
 gray,
 fuzzy stuff eventually takes a toll on my eyes.

 s/taste/eyesight/, perhaps?

 Perhaps, but I like to think differences of opinion don't necessarily
 indicate physical disability.

 sl

When I began using acme, sam, 9term, I much cared about ttf fonts. But
I, too, have come to prefer the sharpness of the 1 bit fonts.

Perhaps a case of acquisition of a taste catalysed by decreasing eyesight.

Now I usually start acme from standard 9term with
acme -f $font
so it uses lucm/unicode.9.font (this on a 27 1920x1080 screen).

Mark.



Re: [9fans] Acme: fonts

2013-12-11 Thread sl
 When I began using acme, sam, 9term, I much cared about ttf fonts. But
 I, too, have come to prefer the sharpness of the 1 bit fonts.

A running joke is that prolonged used of Plan 9 damages your eyesight
until you no longer care what anything looks like. Presumably, at this
point, lucm/unicode.9.font is welcome simply because the runes are
large enough to distinguish on screen.

Rob planned for the future.

sl



Re: [9fans] Acme: fonts

2013-12-11 Thread Blake McBride
Okay.  I build and installed fontsrv.  I have it running.  Now when I do:

9p ls font

it lists all the fonts on my system.  One of them is Courier.  From acme,
I tried:

Font Courier

But that doesn't work.  It tells me:

can't open font file Courier: No such file or directory

It seems fontsrv is working or the 9p ls font wouldn't work.  How can I
access the font from acme?

Thanks.

Blake



On Wed, Dec 11, 2013 at 2:38 PM, Blake McBride bl...@mcbride.name wrote:


 On Wed, Dec 11, 2013 at 2:15 PM, Aram Hăvărneanu ara...@mgk.ro wrote:

 On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride bl...@mcbride.name
 wrote:
  I'm sure I can get it to compile but I don't see the point.

 The point is that fontsrv allows p9p programs (including acme) to use
 whatever true-type font you already have on the system.


 Now that is valuable information!!  Thanks!

 Blake





Re: [9fans] Acme: fonts

2013-12-11 Thread andrey mirtchovski
see the first reply in this thread

On Wednesday, December 11, 2013, Blake McBride wrote:

 Okay.  I build and installed fontsrv.  I have it running.  Now when I do:


 9p ls font

 it lists all the fonts on my system.  One of them is Courier.  From
 acme, I tried:

 Font Courier

 But that doesn't work.  It tells me:

 can't open font file Courier: No such file or directory

 It seems fontsrv is working or the 9p ls font wouldn't work.  How can I
 access the font from acme?

 Thanks.

 Blake



 On Wed, Dec 11, 2013 at 2:38 PM, Blake McBride 
 bl...@mcbride.namejavascript:_e({}, 'cvml', 'bl...@mcbride.name');
  wrote:


 On Wed, Dec 11, 2013 at 2:15 PM, Aram Hăvărneanu 
 ara...@mgk.rojavascript:_e({}, 'cvml', 'ara...@mgk.ro');
  wrote:

 On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride 
 bl...@mcbride.namejavascript:_e({}, 'cvml', 'bl...@mcbride.name');
 wrote:
  I'm sure I can get it to compile but I don't see the point.

 The point is that fontsrv allows p9p programs (including acme) to use
 whatever true-type font you already have on the system.


 Now that is valuable information!!  Thanks!

 Blake






Re: [9fans] Acme: fonts

2013-12-11 Thread Blake McBride
I see.  Sorry.  I tried two different ones and I got:

can't open font file /mnt/font/Courier: bad height or ascent in font file
can't open font file /mnt/font/Menlo-Regular: bad height or ascent in font
file




On Wed, Dec 11, 2013 at 3:14 PM, andrey mirtchovski
mirtchov...@gmail.comwrote:

 see the first reply in this thread


 On Wednesday, December 11, 2013, Blake McBride wrote:

 Okay.  I build and installed fontsrv.  I have it running.  Now when I
 do:

 9p ls font

 it lists all the fonts on my system.  One of them is Courier.  From
 acme, I tried:

 Font Courier

 But that doesn't work.  It tells me:

 can't open font file Courier: No such file or directory

 It seems fontsrv is working or the 9p ls font wouldn't work.  How can I
 access the font from acme?

 Thanks.

 Blake



 On Wed, Dec 11, 2013 at 2:38 PM, Blake McBride bl...@mcbride.namewrote:


 On Wed, Dec 11, 2013 at 2:15 PM, Aram Hăvărneanu ara...@mgk.ro wrote:

 On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride bl...@mcbride.name
 wrote:
  I'm sure I can get it to compile but I don't see the point.

 The point is that fontsrv allows p9p programs (including acme) to use
 whatever true-type font you already have on the system.


 Now that is valuable information!!  Thanks!

 Blake






Re: [9fans] Acme: fonts

2013-12-11 Thread Blake McBride
Sorry again.  Re-read first post.  I forgot the 12a/font part since it
wasn't displayed in the ls.  Now it works as I had hoped.  This totally
answers my question.

Thank you all!

Blake



On Wed, Dec 11, 2013 at 3:21 PM, Blake McBride bl...@mcbride.name wrote:

 I see.  Sorry.  I tried two different ones and I got:

 can't open font file /mnt/font/Courier: bad height or ascent in font file
 can't open font file /mnt/font/Menlo-Regular: bad height or ascent in
 font file




 On Wed, Dec 11, 2013 at 3:14 PM, andrey mirtchovski mirtchov...@gmail.com
  wrote:

 see the first reply in this thread


 On Wednesday, December 11, 2013, Blake McBride wrote:

  Okay.  I build and installed fontsrv.  I have it running.  Now when I
 do:

 9p ls font

 it lists all the fonts on my system.  One of them is Courier.  From
 acme, I tried:

 Font Courier

 But that doesn't work.  It tells me:

 can't open font file Courier: No such file or directory

 It seems fontsrv is working or the 9p ls font wouldn't work.  How can I
 access the font from acme?

 Thanks.

 Blake



 On Wed, Dec 11, 2013 at 2:38 PM, Blake McBride bl...@mcbride.namewrote:


 On Wed, Dec 11, 2013 at 2:15 PM, Aram Hăvărneanu ara...@mgk.ro wrote:

 On Wed, Dec 11, 2013 at 8:50 PM, Blake McBride bl...@mcbride.name
 wrote:
  I'm sure I can get it to compile but I don't see the point.

 The point is that fontsrv allows p9p programs (including acme) to use
 whatever true-type font you already have on the system.


 Now that is valuable information!!  Thanks!

 Blake







Re: [9fans] Acme: fonts

2013-12-11 Thread Lyndon Nerenberg

On Dec 11, 2013, at 1:10 PM, Blake McBride bl...@mcbride.name wrote:

 How can I access the font from acme?

See the EXAMPLES section of the fontsrv(1) manpage.


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [9fans] Acme: fonts

2013-12-11 Thread Blake McBride
Interesting.  On the bottom it says fontsrv has no support for X11.  Is
there a way to use the fonts that come with Linux?

Another question.  Is there a way to use a specific font with sam?

Thanks!

Blake



On Wed, Dec 11, 2013 at 3:25 PM, Lyndon Nerenberg lyn...@orthanc.ca wrote:


 On Dec 11, 2013, at 1:10 PM, Blake McBride bl...@mcbride.name wrote:

  How can I access the font from acme?

 See the EXAMPLES section of the fontsrv(1) manpage.



Re: [9fans] Acme: fonts

2013-12-11 Thread Lyndon Nerenberg

On Dec 11, 2013, at 1:56 PM, Blake McBride bl...@mcbride.name wrote:

 Another question.  Is there a way to use a specific font with sam?

See the EXAMPLES section of the fontsrv(1) manpage.


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [9fans] Acme: fonts

2013-12-11 Thread Blake McBride
Figured it out.

export font=/mnt/font/Courier/12a/font
sam 



On Wed, Dec 11, 2013 at 3:56 PM, Blake McBride bl...@mcbride.name wrote:

 Interesting.  On the bottom it says fontsrv has no support for X11.  Is
 there a way to use the fonts that come with Linux?

 Another question.  Is there a way to use a specific font with sam?

 Thanks!

 Blake



 On Wed, Dec 11, 2013 at 3:25 PM, Lyndon Nerenberg lyn...@orthanc.cawrote:


 On Dec 11, 2013, at 1:10 PM, Blake McBride bl...@mcbride.name wrote:

  How can I access the font from acme?

 See the EXAMPLES section of the fontsrv(1) manpage.





Re: [9fans] Acme: fonts

2013-12-11 Thread Mark van Atten
On Wed, Dec 11, 2013 at 10:56 PM, Blake McBride bl...@mcbride.name wrote:
 Interesting.  On the bottom it says fontsrv has no support for X11.  Is
 there a way to use the fonts that come with Linux?

It does support X11 now.

Mark.