[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Question about Gnome-Print-0.5 & Fonts
- From: Tom Cross <tomc kendeco com>
- To: Emmanuele Bassi <bassi-e libero it>, gtk-perl-list gnome org
- Subject: Re: Question about Gnome-Print-0.5 & Fonts
- Date: 10 Sep 2003 09:16:37 -0500
> I've noticed that myself.
>
> You should use
>
> Gnome2::Print::Font->find_closest_from_full_name("Times New Roman 16");
>
> Which seems to work correctely.
>
> Yet, I don't think it's a fault of the perl binding: seems more like a
> bug of libgnomeprint to me. I'm looking into GtkSourceView in order to
> write a binding for this widget, and they use "find_closest_from_full_name"
> inside their code.
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
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?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]