Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
dc01c527
by Alexei Podtelezhnikov at 2022-11-29T23:12:34-05:00
1 changed file:
Changes:
... | ... | @@ -1331,6 +1331,10 @@ |
1331 | 1331 | if ( cmap_index >= 0 )
|
1332 | 1332 | face->charmap = face->charmaps[cmap_index];
|
1333 | 1333 | |
1334 | + if ( load_flags & FT_LOAD_RENDER &&
|
|
1335 | + render_mode != FT_RENDER_MODE_NORMAL )
|
|
1336 | + load_flags |= FT_LOAD_TARGET_( render_mode );
|
|
1337 | + |
|
1334 | 1338 | header( face );
|
1335 | 1339 | |
1336 | 1340 | if ( !face->num_glyphs )
|