Changed how BTextPane handles font styling