Scroll to navigation

mfont_find(3m17n) The m17n Library mfont_find(3m17n)

NAME

mfont_find - Find a font.

SYNOPSIS

MFont* mfont_find (MFrame * frame, MFont * spec, int * score, int max_size)

DESCRIPTION

Find a font. The mfont_find() function returns a pointer to the available font that matches best the specification spec on frame frame.

score, if not NULL, must point to a place to store the score value that indicates how well the found font matches to spec. The smaller score means a better match.

COPYRIGHT

Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.

12 Jan 2011 Version 1.6.2