gdk::fontset_load

gdk::fontset_load

GdkFont gdk::fontset_load (string fontset_name);

This method is used when any of a range of fonts would be acceptable. Usually, that would be when internationalization is an issue. It could also be useful anywhere that some flexibility over the choice of font is needed.

Load in exactly the same way as with gdk::font_load() , separating each of the potential fonts to be used with a comma. The system running the application will use the first font in the set that achieves a match.

In win32, the fontset_load method is used internally regardless of whether this or gdk::font_load() is called.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.