9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Leimbach <leimy2k@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Fonts
Date: Wed, 15 Jul 2009 14:01:36 -0700	[thread overview]
Message-ID: <3e1162e60907151401y4789a455x4abf87e4a04ca5e7@mail.gmail.com> (raw)
In-Reply-To: <dd6fe68a0907082225n36438db5r8a8e7dbf4a249e5f@mail.gmail.com>

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

Just tried this from the mercurial snapshot from last night.
fontsrv appears to work but complains about fuse not being set up properly.

Does this mean acme is not going to work?

Should I be asking this on the plan9port mailing list?

On Wed, Jul 8, 2009 at 10:25 PM, Russ Cox <rsc@swtch.com> wrote:

> This conversation reminded me that I have been
> meaning to clean up a program I wrote a while back
> and integrate it into plan9port.  It generates Plan 9
> bitmap fonts on demand using the native window
> system fonts.  Right now it only works on OS X.
> I would gladly accept X11 support and OS X bug fixes.
>
>
>     FONTSRV(4)                                             FONTSRV(4)
>
>     NAME
>          fontsrv - file system access to host fonts
>
>     SYNOPSIS
>          fontsrv [ -m mtpt ] [ -s srvname ]
>
>          fontsrv -p path
>
>     DESCRIPTION
>          Fontsrv presents the host window system's fonts in the stan-
>          dard Plan 9 format (see font(7)). It serves a virtual direc-
>          tory tree mounted at mtpt (if the -m option is given) and
>          posted at srvname (default font).
>
>          The -p option changes fontsrv's behavior: rather than serve
>          a file system, fontsrv prints to standard output the con-
>          tents of the named path. If path names a directory in the
>          served file system, fontsrv lists the directory's contents.
>
>          The fonts are arranged in a two-level tree.  The root con-
>          tains directories named for each system font.  Each font
>          directory contains subdirectories named for a point size and
>          whether the subfonts are anti-aliased: 10 (bitmap) 10a
>          (anti-aliased greyscale) 12, 12a, and so on.  The font
>          directory will synthesize additional sizes on demand: look-
>          ing up 19a will synthesize the 19-point anti-aliased size if
>          possible.  Each size directory contains a font file and sub-
>          font files named x0000.bit, x0100.bit, and so on represent-
>          ing 256-character Unicode ranges.
>
>          Openfont (see graphics(3)) recognizes font paths beginning
>          with /mnt/font and implements them by invoking fontsrv; it
>          need not be running already.
>
>     EXAMPLES
>          List the fonts on the system:
>
>               % fontsrv &
>               % 9p ls font
>
>          or:
>
>               % fontsrv -p .
>
>          Run acme(1) using the operating system's Monaco as the
>          fixed-width font:
>
>               % acme -F /mnt/font/Monaco/13a/font
>
>          Run sam(1) using the same font:
>
>               % font=/mnt/font/Monaco/13a/font sam
>
>     SOURCE
>          /usr/local/plan9/src/cmd/fontsrv
>
>     SEE ALSO
>          font(7)
>
>     BUGS
>          Due to OS X restrictions, fontsrv does not fork itself into
>          the background when serving a user-level file system.
>
>          Fontsrv has no support for X11 fonts; on X11 systems, it
>          will serve an empty top-level directory.
>
>          On OS X, the anti-aliased bitmaps are not perfect.  For
>          example, the lower case r in the subfont
>          Times-Roman/14a/x0000.bit appears truncated on the right and
>          too light overall.
>
>

[-- Attachment #2: Type: text/html, Size: 3918 bytes --]

  parent reply	other threads:[~2009-07-15 21:01 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-08 19:00 Devon H. O'Dell
2009-07-08 19:11 ` Joseph Stewart
2009-07-08 19:11   ` Joseph Stewart
2009-07-08 19:49 ` J. R. Mauro
2009-07-08 19:49 ` Bakul Shah
2009-07-08 20:05 ` Josh Wood
2009-07-08 20:14   ` erik quanstrom
2009-07-08 20:15   ` J. R. Mauro
2009-07-08 20:44     ` erik quanstrom
2009-07-08 21:44       ` J.R. Mauro
2009-07-08 21:51         ` erik quanstrom
2009-07-08 22:21           ` J.R. Mauro
2009-07-09  2:21           ` Ethan Grammatikidis
2009-07-09  3:17             ` erik quanstrom
2009-07-09  5:25               ` Russ Cox
2009-07-09 10:10                 ` Ethan Grammatikidis
2009-07-15 21:01                 ` David Leimbach [this message]
2009-07-15 21:34                   ` Russ Cox
2009-07-09 10:02               ` Ethan Grammatikidis
2009-07-08 20:50     ` John Floren
2009-07-08 21:42       ` J.R. Mauro
2009-07-08 21:47         ` erik quanstrom
2009-07-08 21:49           ` J.R. Mauro
2009-07-08 20:23 ` Lyndon Nerenberg
  -- strict thread matches above, loose matches on Subject: below --
2009-07-09 15:43 Chad Brown
2009-07-09 15:55 ` Federico G. Benavento
2002-01-07 19:04 forsyth
2002-01-07 18:41 Russ Cox
2002-01-07 20:16 ` Fariborz Tavakkolian
2002-01-07  9:38 skipt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3e1162e60907151401y4789a455x4abf87e4a04ca5e7@mail.gmail.com \
    --to=leimy2k@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).