Re: Re: List Cairo Fonts
- From: jeffrey ratcliffe gmail com
- To: gtk-perl-list gnome org
- Subject: Re: Re: List Cairo Fonts
- Date: Tue, 11 Aug 2009 06:45:12 +0000
On Aug 10, 2009 7:29pm, Torsten Schoenfeld <kaffeetisch gmx de> wrote:
> I think this is best done with Pango:
>
> • fetch the system's font map with Pango::Cairo::FontMap->get_default;
> • call list_families() on the result;
> • call list_faces() on each of the families;
> • call get_face_name() and list_sizes() on each of the faces.
Excellent. Thanks.
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]