Re: [Gnome-print] bugs and features
- From: Lauris Kaplinski <lauris ximian com>
- To: Adrian Feiguin <feiguin magnet fsu edu>
- Cc: Gnome-print ximian com
- Subject: Re: [Gnome-print] bugs and features
- Date: 04 Oct 2001 18:01:48 +0200
Hello!
Sorry for late reply.
On Tue, 2001-09-11 at 22:44, Adrian Feiguin wrote:
> Hi, I'm working on the implementation of gnome-print preview for
> Scigraphica (http://scigraphica.sourceforge.net), toghether with
> antialiasing using libart. I found that in the gnome-print preview there
> are some "leaks", as you can see in the snapshots I prepared:
> http://magnet.fsu.edu/~feiguin/scigraphica/images/antialias.jpg and
> http://magnet.fsu.edu/~feiguin/scigraphica/images/preview.jpg . I know
> that libart has this "leak" problem but I wonder why I see it in
> gnome-print-preview and not in my libart rendering.
Which version of gnome-print you are using?
Leak is known libart bug, but latest gnome-prints try to overcome that
by perturbing vpaths.
> By the way, you can
> see that this is a "landscape" view. I couldn't find any obvious way to
> choose the paper size in gnome-print for this situation, and you can
> notice the offset in the screenshot: I am using "US-Letter" paper size,
> and althouhg I render as landscape, the preview sets the default view
> (paper/canvas size) as "portrait".
Use gnome_print_master_preview. Although not ideal, it allows a little
bit more flexibility.
> On the other hand I can't get gnome_font_new_closest to work correctly.
> For instance, "Symbol" gives me all rectangles in the preview. What are
> the font names allowed? I'm using the postscript default family names:
> "Times-Roman", "Helvetica", "Courier", "Bookman", .. etc. and I can't get
> bold or italics. Hints, please?
> Thanks!
> <ADRIAN>
You can get font names with gnome_font_list and family names with
gnome_font_family_list methods.
Fonts usable are defined in $datadir/fonts/fontmap(2) file. Gnome-print
tries to find fonts installed on your system, but may fail, in whihc
case may not have std. postScript fonts available.
If you compile gnome-print by hand, try:
tests/testprint4 --preview some_text_file_name
It shows you font dialog, where you can examine available fonts. If
there is no Helvetica, times and such, fontmap installation went wrong.
Symbol shows empty squares most probably because gnome-print expects
utf-8 strings. Adobe has allocated unicode values for all glyphs in
both Symbol and Dingbats fonts, so you have to encode those into
utf-8.
Best wishes,
Lauris Kaplinski
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]