Dekel Tsur wrote:
> On Tue, Nov 05, 2002 at 05:56:35PM -0500, Bruce Momjian wrote:
> > I used to use lyx 1.6 and was able to include EPS files that would 
> > render as full spline fonts in the output file.  With 1.2.1, I find that 
> > the file is outputting the eps file as a rasterized image of the font, 
> > and it looks poor.
> 
> If your files are EPS, then this shouldn't happen.
> What are the file suffixes of the files ?
> What is the output of 'lyx -dbg graphics -e ps file.lyx' ?

Nice debug output (attached). Looks like it knows it is an EPS file
(calendar.eps), but then converts it to PNG. :-(

I use groff to create the calendar.ps file, then ps2epsi to convert that
to eps.  Viewing calendar.eps using gv clearly show it to be using
spline fonts, though I know eps files have both spline and bitmap in the
same file.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]                |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
Setting debug level to graphics
Debugging `graphics' (Graphics conversion and loading)
Token: 'FormatVersion'
Token: 'filename'
Token: 'display'
Token: 'size_type'
Token: 'rotateOrigin'
Token: 'lyxsize_type'
Token: 'lyxwidth'
Token: 'lyxheight'
Token: '\end_inset'
Token: 'FormatVersion'
Token: 'filename'
Token: 'display'
Token: 'size_type'
Token: 'rotateOrigin'
Token: 'lyxsize_type'
Token: '\end_inset'
About to handle -x 'buffer-export ps'
insetgraphics::latex: Filename = /u/groff_macros/bap.eps
InsetGraphics::latex. Message = ""
InsetGraphics::latex. Opts = 
InsetGraphics::latex. Before = \includegraphics
after = 
[InsetGraphics::prepareFile] orig_file = /u/groff_macros/bap.eps
        with path: /u/groff_macros/bap.eps
        eps detected -> test for an epsi ...
Recognised Fileformat: epsi
        eps detected -> test for an epsi ...
Recognised Fileformat: epsi
        the orig file is: /u/groff_macros/bap.eps
        changed to: /tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_bap.eps
        copying from /u/groff_macros/bap.eps to 
/tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_bap.eps succeeded
findTargetFormat: PostScript mode
         we have: from epsi to eps
        The original file is /u/groff_macros/bap.eps
        A copy has been made and convert is to be called with:
        file to convert = 
/tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_bap.eps
        outfile_base = /tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_bap
         from epsi to eps
Executing command:convert EPS:'_u_groff_macros_bap.eps' PNG:'_u_groff_macros_bap.png'
GS>GS>Executing command:convert PNG:'_u_groff_macros_bap.png' 
EPS:'_u_groff_macros_bap.eps'
insetgraphics::latex: Filename = /u/groff_macros/calendar.eps
InsetGraphics::latex. Message = ""
InsetGraphics::latex. Opts = 
InsetGraphics::latex. Before = \includegraphics
after = 
[InsetGraphics::prepareFile] orig_file = /u/groff_macros/calendar.eps
        with path: /u/groff_macros/calendar.eps
        eps detected -> test for an epsi ...
Recognised Fileformat: epsi
        eps detected -> test for an epsi ...
Recognised Fileformat: epsi
        the orig file is: /u/groff_macros/calendar.eps
        changed to: /tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_calendar.eps
        copying from /u/groff_macros/calendar.eps to 
/tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_calendar.eps succeeded
findTargetFormat: PostScript mode
         we have: from epsi to eps
        The original file is /u/groff_macros/calendar.eps
        A copy has been made and convert is to be called with:
        file to convert = 
/tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_calendar.eps
        outfile_base = /tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_calendar
         from epsi to eps
Executing command:convert EPS:'_u_groff_macros_calendar.eps' 
PNG:'_u_groff_macros_calendar.png'
GS>GS>Executing command:convert PNG:'_u_groff_macros_calendar.png' 
EPS:'_u_groff_macros_calendar.eps'
Executing command:dvips -t letter -o '02nov.ps' '02nov.dvi'
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com)
' TeX output 2002.11.07:1721' -> 02nov.ps
<texc.pro></usr/tex/dvips/base/texnansi.enc><texps.pro><special.pro>
<color.pro>. <0285a___.pfb><0287a___.pfb>[1
</tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_bap.eps>
</tmp/lyx_tmpdir11941011941/lyx_tmpbuf0/_u_groff_macros_calendar.eps>] 
Document exported as Postscript to file `/usr/var/local/wrk/bap/agenda/02nov.ps'

Reply via email to