(Sorry about the delay, modem trouble)

Eric Dorland wrote:
> * Justin B Rye ([EMAIL PROTECTED]) wrote:
>> [...] Specifying an
>> appropriate fontpath on the commandline doesn't help - the packaged
>> rcfile takes priority.
> 
> Are you sure the package rcfile takes priority? Looking at the code
> this really doesn't seem to be the case. 

Doh.  You're quite right; I assume I was confused by the "NOTE" in
gozer(1) under "RC FILES", which (clearly now I re-read it) applies
only to extra rc-files specified on the commandline.  I thought I'd
done some trial runs to check this, but apparently if I did I
misinterpreted the results.

Still, that only eliminates one of the hoops users have to jump
through, and not the "headline" one - it's still true that
* the fontpath gozer searches "out of the box" is one that (on my
        system) contains absolutely no *.ttf files;
* the particular default font it looks for there is not available in
        Debian (and is not the one mentioned in the man page -
        "default is 20thcent/16");
* even if I had downloaded the "helmetr" font myself I would have
        put it in /usr/local/fonts, not /usr/share/fonts;
* oh, and here's one I forgot to mention: -p doesn't seem to work as
        advertised, it has to be --fontpath.

Assuming there is some good reason gozer can't just default to using
my standard X fontpath, it needs friendlier documentation.  Since
the missing font is a DFSG issue, a README.Debian would be a good
place to start; it could explain the goings-on in
changelog.Debian.gz, but more importantly it could give some
examples of workable gozer invocations, such as 

gozer --text INPUT --fontpath ~/myfonts --font arial/16 output.png

Note that the docs never directly state that you're free to use
"output.png", "output.jpg" or whatever and let imlib2 vary the
format to match the filename extension; my own first try was to say
"output.img", in the expectation that there would be some default 
format, and the error message I got from that was the less than
clear "Saving to file output.img failed".  Fortunately I happened to
notice that the  --help output describes several options not covered
by the man page, and the definition for the --stdout option hinted
at the answer. 

And how *do* you ask for multiword fontnames like Courier New?

There is no need for every single user to have to work quite so many
things out by trial and error... 
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to