formZ SDK | 5.0 API Reference | System | Text Fonts and Styles

# fz_font_face_get_next

Description

Given a font family name and a font id, get the font id of the next font within font family. can be used on next_font_id to get the face name. Passing in FZ_FONT_NONE for font_id will set next_font_id to the id of the first font. next_font_id will be set to FZ_FONT_NONE to indicate the end of the fonts.

Plugin Prototype

fzrt_error_td fz_font_face_get_next(

fzrt_int | windex,
char * | font_family_name,
fz_font_id_td | font_id,
fz_font_id_td * | next_font_id )

Parameters

windex [Input]

project window index, use -1 to access the font table

font_family_name [Input]

font family name

font_id [Input]

font id

next_font_id [Input]

id of the next font in the font family

Returns

Error codes

Availability

5.5.0.0

Example Files

util_objt_unistr_text.fsl

Function Set

fz_text_fset

Defined in

fz_text_api.h