Re: GPdf uses gnome-print



On Fri, 2002-12-13 at 12:30, Martin Kretzschmar wrote:
> Chema Celorio <chema ximian com> writes:
> 
> >> In http://primates.ximian.com/~chema/gnome-print-ols.txt there's item
> >> ``G2- Move the print preview to use gsview.'' Is that still a goal?
> >
> > It is. The reason of moving the print preview somewhere else is to have
> > less code to maintain inside gnome-print. If gpdf can substitute the
> > print preview, the better.
> >
> > I've been meaning to 'outsource' as much of gnome-print as possible, we
> > no longer have the fontmap code which was the most problematic part of
> > gnome-print. 
> 
> When I switched from gnome-print 2.0 to 2.2 I missed the font
> aliases. Especially with Ghostscript/URW's fonts. A properly-installed
> gnome-print 2.0 provided Times Roman, Helvetica, and the other Base-14
> fonts, if the Nimbus fonts were found on the system. That's impossible
> with the new gnome-print. Was this feature removed/not reimplemented
> by intention?

The feature is still there. The problem i think that since we are not
providing the fonts ourselves we can't have them reliable. After the
fontmap is loaded this aliases are generated. Might be buggy, but the
code is there. gp_fontmap_add_aliases function inside gnome-fontmap.c

> Another question: are there any plans to support embedding of fonts
> not in fontconfig? As you know, pdf files often embed font files. For
> printing/viewing these with gnome-print gpdf has to extract them from
> the pdf and somehow download them to gnome-print.

I don't see a reason not to. Should not be too hard to do, but it might
require some thought on how to do it best.

> > So yes, it would be great to take the print preview out and outsource it
> > too, 
> 
> Ooh. Actually I just asked because I was afraid the print-preview
> could disappear.

It could in the long term if I can find a replacement for it. I thought
you where asking the question the other way around so as to make GPdf be
the preview engine of libgnomeprint. It seems like you need the preview
to display Pdf files, why not move that code into GPdf?

> 
> > moving the PDL to pdf is also a step forward.
> 
> With gpdf? The pdf processing is done by Xpdf code which is not _L_GPL.

Licensing is not an issue. If an external print previewer was developed
the communication between this one and libgnomeprint would be a pdf file
the code would not be linked.

regards,
Chema


You don'
> 
> 	Martin
> _______________________________________________
> gnome-print-list mailing list
> gnome-print-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-print-list
-- 
Chema Celorio <chema ximian com>




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