Re: Re: List Cairo Fonts



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]