1#Inventor V2.1 ascii 2 3# Check all aspects of rendering with an SoFontStyle. 4# 5# TODO: check against other text nodes (SoText3, SoAsciiText, 6# SoAnnoText3, others?) 7# 8# 19990423 mortene 9 10Separator { 11 12 # (ROW 0) 13 Separator { 14 Cube { } 15 16 BaseColor { rgb 1 0 0.5 } 17 Translation { translation +4 0 0 } 18 FontStyle { family SERIF } 19 Text2 { string [ "family", "is", "SERIF" ] } 20 21 BaseColor { rgb 1 0 0.5 } 22 Translation { translation +4 0 0 } 23 FontStyle { family SANS } 24 Text2 { string [ "family", "is", "SANS" ] } 25 26 BaseColor { rgb 1 0 0.5 } 27 Translation { translation +4 0 0 } 28 FontStyle { family TYPEWRITER } 29 Text2 { string [ "family", "is", "TYPEWRITER" ] } 30 31 BaseColor { rgb 0.5 0 1 } 32 Translation { translation +4 0 0 } 33 FontStyle { style BOLD } 34 Text2 { string [ "style", "is", "BOLD" ] } 35 36 BaseColor { rgb 0.5 0 1 } 37 Translation { translation +4 0 0 } 38 FontStyle { style ITALIC } 39 Text2 { string [ "style", "is", "ITALIC" ] } 40 41 BaseColor { rgb 0.5 0 1 } 42 Translation { translation +4 0 0 } 43 FontStyle { style (BOLD|ITALIC) } 44 Text2 { string [ "style is", "BOLD and ITALIC" ] } 45 46 BaseColor { rgb 1 1 0 } 47 Translation { translation +4 0 0 } 48 Cube { } 49 } 50} 51