280
280
$style->SetTextColour( $fg_colors->[9] ); # reset text color
281
281
$style->SetBackgroundColour( $bg_colors->[9] ); # reset bg color
282
282
# reset bold/italic/underlined state
286
286
} elsif ( $cmd == 1 ) { # bold
288
288
} elsif ( $cmd == 2 ) { # faint
290
290
} elsif ( $cmd == 3 ) { # italic
292
292
} elsif ( $cmd == 4 || $cmd == 21 ) { # underline (21==double, but we can't do that)
294
294
} elsif ( $cmd == 22 ) { # reset bold and faint
296
296
} elsif ( $cmd == 24 ) { # reset underline