[Gnome-print] Re: gnome-print-0.26



Lauris Kaplinski <lauris@ximian.com> writes:

> As of fonts, can you send me the output of 'gs -h' on SUSE?

ke@Frechet:/usr/src/ke/gnome-print > gs -h
GNU Ghostscript 5.50 (2000-2-13)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PDF
Available devices:
   x11 x11alpha x11cmyk x11cmyk2 x11cmyk4 x11cmyk8 x11gray2 x11gray4 x11mono
   appledmp iwhi iwlo iwlq t4693d2 t4693d4 t4693d8 tek4696 ap3250 epson
   eps9mid eps9high epsonc lp8000 lq850 st800 stcolor hl7x0 uniprint
   cdeskjet cdjcolor cdjmono cdj500 cdj550 cdj670 cdj850 cdj880 cdj890
   cdj970 cdj1600 djet820c deskjet djet500 djet500c dnj650c paintjet pj
   pjetxl pjxl pjxl300 hpdj stp laserjet ljet2p ljet3 ljet3d ljet4 lj4dith
   ljetplus lj5mono lj5gray cljet5 lp2563 bj10e bj200 bjc600 bjc800 lbp8
   lips3 lxm5700m lex7000 lex5700 lex3200 lex2050 declj250 dl2100 la50 la70
   la75 la75plus ln03 lj250 ccr cp50 ibmpro imagen jetp3852 m8510 necp6
   oce9050 oki182 oki4w okiibm r4081 sj48 xes pbm pbmraw pgm pgmraw pgnm
   pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw plan9bm inferno dfaxhigh dfaxlow
   faxg3 faxg32d faxg4 tiffcrle tiffg3 tiffg32d tiffg4 tiff12nc tiff24nc
   tifflzw tiffpack psmono psgray psrgb bit bitrgb bitcmyk mgrmono mgrgray2
   mgrgray4 mgrgray8 mgr4 mgr8 pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk
   pngmono pnggray png16 png256 png16m sgirgb bmpmono bmp16 bmp256 bmp16m
   cgmmono cgm8 cgm24 cif jpeg jpeggray miff24 pdfwrite bbox pswrite
   epswrite pxlmono pxlcolor nullpage
Search path:
   . : /usr/share/ghostscript/5.50 : /usr/share/ghostscript/fonts
For more information, see /usr/share/ghostscript/5.50/doc/Use.htm.
Report bugs to ghost@aladdin.com, using the form in Bug-form.htm.

> Plus do you have idea, what exactly is the problem with afm path.
> Makefile seems to install these to $datadir/fonts/afms, and that is
> the place, where run-gnome-font-install seems to search them?

We're using

    make DESTDIR=$RPM_BUILD_ROOT install

I think you'll have to write $(DESTDIR)/$datadir/fonts/afms to catch the
installed files.  In the spec file I can call it this way without
getting an error message:

perl run-gnome-font-install ./installer/gnome-font-install \
  $RPM_BUILD_ROOT%{prefix}/share \
  $RPM_BUILD_ROOT%{prefix}/share

Calling it directly spits out this message (this used to work for 0.25):

/opt/gnome/bin/gnome-font-install --system --scan --no-copy \
>      --afm-path=/opt/gnome/share/fonts/afms \
>      --pfb-assignment=ghostscript,/usr/share/ghostscript/fonts \
>      /opt/gnome/share/gnome-print/fonts

** CRITICAL **: file gnome-font-install.c: line 149 (main): assertion `poptGetNextOpt (ctx) == -1' failed.

Part of the problem is I don't know exactly what gnome-font-install is
considerd to do (what should I read?).  gnome-font-install lacks
'--help' ;)

[Thanks for the help offered!]

-- 
Linux Frechet 2.2.18 #1 Fri Jan 19 22:10:35 GMT 2001 i686 unknown
  4:03pm  up  3:59,  7 users,  load average: 0.63, 0.16, 0.11
                                             work    :      ke@suse.de
Karl Eichwalder                              home    : keichwa@gmx.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]