mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 00:26:39 +00:00 
			
		
		
		
	Remove some garbage
This commit is contained in:
		
							parent
							
								
									79a9c4e048
								
							
						
					
					
						commit
						e62bf8fca9
					
				
					 1 changed files with 0 additions and 28 deletions
				
			
		| 
						 | 
				
			
			@ -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 ();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue