Closed wheybags closed 5 years ago
Example:
Code used to produce test image (modification of example.c):
fontBold = fonsAddFont(fs, "sans-bold", "../example/TitilliumWeb-Regular.ttf"); int fallback = fonsAddFont(fs, "sans-bold", "../example/NotoSans-Regular.ttf"); fonsAddFallbackFont(fs, fontBold, fallback); ... fonsSetSize(fs, 72.0f); fonsSetFont(fs, fontBold); fonsSetColor(fs, white); fonsDrawText(fs, 100, 100, "English Русский",NULL);
Example:
Code used to produce test image (modification of example.c):