Scalable Screen Font: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m updated for SSFN 2.0
Line 49:
 
/* add one or more fonts to the context. Fonts must be already in memory */
ssfn_load(&ctx, &_binary_times_sfn_start, 0); /* you can add different styles... */
ssfn_load(&ctx, &_binary_timesbold_sfn_start, 0);
ssfn_load(&ctx, &_binary_timesitalic_sfn_start, 0);
ssfn_load(&ctx, &_binary_emoji_sfn_start, 0); /* ...or different UNICODE ranges */
ssfn_load(&ctx, &_binary_cjk_sfn_start, 0);
 
/* select the typeface to use */