Add support for italic rendering

This commit is contained in:
Brandon Bayer
2018-04-26 17:34:01 -04:00
parent 83fe87d012
commit 235982362c
4 changed files with 16 additions and 11 deletions
+3
View File
@@ -1263,6 +1263,9 @@ export class InputHandler implements IInputHandler {
} else if (p === 1) {
// bold text
flags |= FLAGS.BOLD;
} else if (p === 3) {
// italic text
flags |= FLAGS.ITALIC;
} else if (p === 4) {
// underlined text
flags |= FLAGS.UNDERLINE;