[kandinsky] Move to KDFont

This commit is contained in:
Romain Goyet
2018-10-09 16:41:24 +02:00
committed by LeaNumworks
parent 29882768bd
commit f8beae3b86
149 changed files with 564 additions and 610 deletions

View File

@@ -48,9 +48,9 @@ double TermSumController::cursorNextStep(double x, int direction) {
Layout TermSumController::createFunctionLayout(const char * functionName) {
return HorizontalLayout(
CharLayout(functionName[0], KDText::FontSize::Small),
CharLayout(functionName[0], KDFont::SmallFont),
VerticalOffsetLayout(
CharLayout('n', KDText::FontSize::Small),
CharLayout('n', KDFont::SmallFont),
VerticalOffsetLayoutNode::Type::Subscript
)
);