[−][src]Module opencv::freetype
Drawing UTF-8 strings with freetype/harfbuzz
This modules is to draw UTF-8 strings with freetype/harfbuzz.
- Install freetype2 and harfbuzz in your system.
- Create FreeType2 instance with createFreeType2() function.
- Load font file with loadFontData() function.
- Draw text with putText() function.
- If thickness parameter is negative, drawing glyph is filled.
- If thickness parameter is positive, drawing glyph is outlined with thickness.
- If line_type parameter is 16(or CV_AA), drawing glyph is smooth.
Traits
FreeType2 |
Functions
create_free_type2 | Create FreeType2 Instance |