Re: Question about Gnome-Print-0.5 & Fonts



Hmm.  It's not working for me.  I changed the line to be:

my $font = Gnome2::Print::Font->find_closest_from_full_name("Times New
Roman 24");

and I'm still getting this result:

Found: Andale Mono Regular

It's not returning an array is it?

Times New Roman is a True Type Font that I installed using the
"msttcorefonts" rpm.  It installs a bunch of default-on-windows true
type fonts to /usr/share/fonts/msttcorefonts.  Other parts of perl-Gtk2
can find them as well as other X programs.  Is there somewhere I need to
inform libgnomeprint about these fonts?

Andale Mono is also an MS core font - if it can see Andale Mono it
should also see Times New Roman.

G.

-- 
Gavin Brown
e: gavin brown uk com
w: http://jodrell.net/
PGP/GPG key ID: 891D8FCA




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