[Docs] Add gtk-doc comments to hb-uniscribe.

This commit is contained in:
Nathan Willis 2019-05-20 17:36:18 +01:00
parent 32ae0d3e78
commit 27222253d4
1 changed files with 21 additions and 1 deletions

View File

@ -44,7 +44,7 @@
* @short_description: Windows integration
* @include: hb-uniscribe.h
*
* Functions for using HarfBuzz with the Windows fonts.
* Functions for using HarfBuzz with Windows fonts.
**/
@ -578,6 +578,16 @@ _hb_uniscribe_shaper_font_data_destroy (hb_uniscribe_font_data_t *data)
free (data);
}
/**
* hb_uniscribe_font_get_logfontw:
* @font: The #hb_font_t to work upon
*
* Fetches the LOGFONTW structure that corresponds to the
* specified #hb_font_t font.
*
* Return value: a pointer to the LOGFONTW retrieved
*
**/
LOGFONTW *
hb_uniscribe_font_get_logfontw (hb_font_t *font)
{
@ -585,6 +595,16 @@ hb_uniscribe_font_get_logfontw (hb_font_t *font)
return data ? &data->log_font : nullptr;
}
/**
* hb_uniscribe_font_get_hfont:
* @font: The #hb_font_t to work upon
*
* Fetches the HFONT handle that corresponds to the
* specified #hb_font_t font.
*
* Return value: the HFONT retreieved
*
**/
HFONT
hb_uniscribe_font_get_hfont (hb_font_t *font)
{