Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_style.c
| Context not available. | |||||
| { | { | ||||
| float height; | float height; | ||||
| int xofs = 0, yofs; | int xofs = 0, yofs; | ||||
| uiStyleFontSet(fs); | uiStyleFontSet(fs); | ||||
| height = BLF_ascender(fs->uifont_id); | height = BLF_ascender(fs->uifont_id); | ||||
| Context not available. | |||||
| if (style == NULL) { | if (style == NULL) { | ||||
| ui_style_new(&U.uistyles, "Default Style", UIFONT_DEFAULT); | ui_style_new(&U.uistyles, "Default Style", UIFONT_DEFAULT); | ||||
| } | } | ||||
| #ifdef WITH_INTERNATIONAL | #ifdef WITH_INTERNATIONAL | ||||
| /* use unicode font for text editor and interactive console */ | /* use unicode font for text editor and interactive console */ | ||||
| if (U.transopts & USER_DOTRANSLATE) { | if (U.transopts & USER_DOTRANSLATE) { | ||||
| Context not available. | |||||