|
|
|
@ -196,34 +196,6 @@ book JournalBooks::createEmptyJournalBook ()
|
|
|
|
|
typesetter->lineBreak ();
|
|
|
|
|
typesetter->write (body, to_utf8_span ("You should have gone though the starting quest and got an initial quest."));
|
|
|
|
|
|
|
|
|
|
BookTypesetter::Style* big = typesetter->createStyle ("", MyGUI::Colour::Black);
|
|
|
|
|
BookTypesetter::Style* test = typesetter->createStyle ("MonoFont", MyGUI::Colour::Blue);
|
|
|
|
|
|
|
|
|
|
typesetter->sectionBreak (20);
|
|
|
|
|
typesetter->write (body, to_utf8_span (
|
|
|
|
|
"The layout engine doesn't currently support aligning fonts to "
|
|
|
|
|
"their baseline within a single line so the following text looks "
|
|
|
|
|
"funny. In order to properly implement it, a stupidly simple "
|
|
|
|
|
"change is needed in MyGUI to report the where the baseline is for "
|
|
|
|
|
"a particular font"
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
typesetter->sectionBreak (20);
|
|
|
|
|
typesetter->write (big, to_utf8_span ("big text g"));
|
|
|
|
|
typesetter->write (body, to_utf8_span (" проверяем только в дебаге"));
|
|
|
|
|
typesetter->write (body, to_utf8_span (" normal g"));
|
|
|
|
|
typesetter->write (big, to_utf8_span (" done g"));
|
|
|
|
|
|
|
|
|
|
typesetter->sectionBreak (20);
|
|
|
|
|
typesetter->write (test, to_utf8_span (
|
|
|
|
|
"int main (int argc,\n"
|
|
|
|
|
" char ** argv)\n"
|
|
|
|
|
"{\n"
|
|
|
|
|
" print (\"hello world!\\n\");\n"
|
|
|
|
|
" return 0;\n"
|
|
|
|
|
"}\n"
|
|
|
|
|
));
|
|
|
|
|
|
|
|
|
|
return typesetter->complete ();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|