Re: mpage vs. gs vs. gv [ & ggv & kghostview ]

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

 



On Thu, May 11, 2006 at 03:09:49PM -0700, Jonathan Ryshpan wrote:
> mpage generates files that gv won't display, but gs will.  For the
> simplest example 
>         $ cat /dev/null | mpage > foo.ps
>         $ gs -sDEVICE=x11 foo.ps    # works fine -- emits messages about substituting fonts
>         $ gv foo.ps                 # produces error messages and fails
>         
> Here are the error messages:
>         > ERROR: /undefinedresource in --findresource--
>         > Operand stack:
>         >    uniks   Baekmuk-Batang-UniKS-UTF8-H   Font   Baekmuk-Batang-UniKS-UTF8-H   (Baekmuk-Batang-UniKS-UTF8-H)   14   Baekmuk-Batang   UniKS-UTF8-H   UniKS-UTF8-H   Baekmuk-Batang   Baekmuk-Batang   Baekmuk-Batang   --nostringval--   (r)   --nostringval--   CMap   (r)   CMap   (r)
>         > Execution stack:
>         >    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   2   3   %oparray_pop   3   3   %oparray_pop   --nostringval--   --nostringval--   15   5   %oparray_pop   --nostringval--   18   6   %oparray_pop   --nostringval--   --nostringval--   --nostringval--
>         > Dictionary stack:
>         >    --dict:1120/1686(ro)(G)--   --dict:0/20(G)--   --dict:93/200(L)--   --dict:17/17(ro)(G)--   --dict:20/26(ro)(G)--   --dict:0/10(L)--   --dict:19/26(ro)(G)--
>         > Current allocation mode is local
>         > Last OS error: 2
>         > ESP Ghostscript 815.02: Unrecoverable error, exit code 1
> 
> You can see the same problem with an actual file with data in it:
>         $ date /dev/null | mpage > foo.ps
>         ...
>         
> ggv and kghostview also fail, but don't show errors.
> 
> Any ideas?

If you remove the following lines from the resulting ps file, you probably have
much better luck.

    /kanj /Ryumin-Light-H findfont 11 scalefont def
    /han /Ryumin-Light.Hankaku findfont 11 scalefont def
    /unijis /Ryumin-Light-UniJIS-UTF8-H findfont 11 scalefont def
    /uniks /Baekmuk-Batang-UniKS-UTF8-H findfont 11 scalefont def
    /unigb /BousungEG-Light-GB-UniGB-UTF8-H findfont 11 scalefont def
    /unicns /ShanHeiSun-Light-UniCNS-UTF8-H findfont 11 scalefont def

I beleive these fonts are needed for kanji support.
These fonts apperantly are not on your system, or al least not configured for
for gv.

I found myself deleting these line over and over again...

-Marcel
-- 
     ======--------         Marcel J.E. Mol                MESA Consulting B.V.
    =======---------        ph. +31-(0)6-54724868          P.O. Box 112
    =======---------        marcel@xxxxxxx                 2630 AC  Nootdorp
__==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____
 They couldn't think of a number,           Linux user 1148  --  counter.li.org
    so they gave me a name!  -- Rupert Hine  --  www.ruperthine.com

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux