X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Ffont.c;h=eb8665fbec61c1ba724fea638ace30e0307f83c7;hb=7ebe3307e5ffe8fa4f5a3151a861ba5ad9625dc7;hp=4c022ed9c725f8ccc4e4a89a6baa161b0f13f288;hpb=7d9ea2108ee2cdf2ad374f34075437cd2da14426;p=m17n%2Fm17n-lib.git diff --git a/src/font.c b/src/font.c index 4c022ed..eb8665f 100644 --- a/src/font.c +++ b/src/font.c @@ -2236,19 +2236,23 @@ mfont_copy (MFont *font) The mfont_get_prop () function gets the value of $KEY property of font $FONT. $KEY must be one of the following symbols: - @c Mfamily, @c Mweight, @c Mstyle, @c Mstretch, - @c Madstyle, @c Mregistry, @c Msize, @c Mresolution, @c Mspacing. - - @return - If $KEY is @c Mfamily, @c Mweight, @c Mstyle, @c Mstretch, @c - Madstyle, @c Mregistry, or @c Mspacing, this function returns the - corresponding value as a symbol. If the font does not have $KEY - property, it returns @c Mnil. - If $KEY is @c Msize or @c Mresolution, this function returns the - corresponding value as an integer. If the font does not have $KEY - property, it returns 0. - If $KEY is something else, it returns @c NULL and assigns an error - code to the external variable #merror_code. */ + @c Mfamily, @c Mweight, @c Mstyle, @c Mstretch, @c Madstyle, + @c Mregistry, @c Msize, @c Mresolution, @c Mspacing. + + If $FONT is a return value of mfont_find (), $KEY can also be one + of the following symbols: + + @c Mascent, @c Mdescent, @c Mmax_advance. + + @return If $KEY is @c Mfamily, @c Mweight, @c Mstyle, @c Mstretch, + @c Madstyle, @c Mregistry, or @c Mspacing, this function returns + the corresponding value as a symbol. If the font does not have + $KEY property, it returns @c Mnil. If $KEY is @c Msize, @c + Mresolution, @c Mascent, @c Mdescent, or @c Mmax_advance, this + function returns the corresponding value as an integer. If the + font does not have $KEY property, it returns 0. If $KEY is + something else, it returns @c NULL and assigns an error code to + the external variable #merror_code. */ /***ja @brief ¥Õ¥©¥ó¥È¤Î¥×¥í¥Ñ¥Æ¥£¤ÎÃͤòÆÀ¤ë.