Made the small caps stuff ineffective on page 9. We'll be removing it from FontDescriptor shortly.
This commit is contained in:
parent
cedb5394b4
commit
9b27e12cfc
|
@ -98,7 +98,6 @@ static void handlerDraw(uiAreaHandler *a, uiArea *area, uiAreaDrawParams *dp)
|
||||||
desc.Size = entryDouble(textSize);
|
desc.Size = entryDouble(textSize);
|
||||||
desc.Weight = uiComboboxSelected(textWeight);
|
desc.Weight = uiComboboxSelected(textWeight);
|
||||||
desc.Italic = uiComboboxSelected(textItalic);
|
desc.Italic = uiComboboxSelected(textItalic);
|
||||||
desc.SmallCaps = uiCheckboxChecked(textSmallCaps);
|
|
||||||
desc.Stretch = uiComboboxSelected(textStretch);
|
desc.Stretch = uiComboboxSelected(textStretch);
|
||||||
font = uiDrawLoadClosestFont(&desc);
|
font = uiDrawLoadClosestFont(&desc);
|
||||||
uiFreeText(family);
|
uiFreeText(family);
|
||||||
|
@ -111,6 +110,8 @@ static void handlerDraw(uiAreaHandler *a, uiArea *area, uiAreaDrawParams *dp)
|
||||||
s = uiEntryText(textString);
|
s = uiEntryText(textString);
|
||||||
layout = uiDrawNewTextLayout(s, font, width);
|
layout = uiDrawNewTextLayout(s, font, width);
|
||||||
uiFreeText(s);
|
uiFreeText(s);
|
||||||
|
if (uiCheckboxChecked(textSmallCaps))
|
||||||
|
; // TODO
|
||||||
ypos = 10;
|
ypos = 10;
|
||||||
uiDrawText(dp->Context, 10, ypos, layout);
|
uiDrawText(dp->Context, 10, ypos, layout);
|
||||||
// TODO make these optional?
|
// TODO make these optional?
|
||||||
|
|
Loading…
Reference in New Issue