Added test of Unicase. Had to use the Arial that comes with Windows 10, which seems to be the only font file I have out of **everything** that comes with Unicase. :S
This commit is contained in:
parent
4262d893bc
commit
768aba6614
|
@ -232,7 +232,17 @@ static void setupAttributedString(void)
|
|||
|
||||
uiAttributedStringAppendUnattributed(attrstr, ", ");
|
||||
|
||||
// TODO unicase
|
||||
next = "UnICasE wRITInG";
|
||||
start = uiAttributedStringLen(attrstr);
|
||||
end = start + strlen(next);
|
||||
uiAttributedStringAppendUnattributed(attrstr, next);
|
||||
spec.Type = uiAttributeUnicase;
|
||||
spec.Value = 1;
|
||||
uiAttributedStringSetAttribute(attrstr, &spec, start, end);
|
||||
|
||||
uiAttributedStringAppendUnattributed(attrstr, ", ");
|
||||
|
||||
next = "TODO";
|
||||
}
|
||||
|
||||
static char fontFamily[] = "Times New Roman";
|
||||
|
|
Loading…
Reference in New Issue