mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-25 12:23:59 +00:00
Fixed italics and underline bit flags
This commit is contained in:
parent
714700f6b5
commit
407a40e32e
@ -1068,8 +1068,8 @@ void dtvcc_handle_SPA_SetPenAttributes(ccx_dtvcc_service_decoder *decoder, unsig
|
||||
int text_tag = (data[1] >> 4) & 0xf;
|
||||
int font_tag = (data[2] ) & 0x7;
|
||||
int edge_type = (data[2] >> 3) & 0x7;
|
||||
int underline = (data[2] >> 4) & 0x1;
|
||||
int italic = (data[2] >> 5) & 0x1;
|
||||
int underline = (data[2] >> 6) & 0x1;
|
||||
int italic = (data[2] >> 7) & 0x1;
|
||||
|
||||
ccx_common_logging.debug_ftn(CCX_DMT_708, " Pen size: [%d] Offset: [%d] Text tag: [%d] Font tag: [%d]\n",
|
||||
pen_size, offset, text_tag, font_tag);
|
||||
|
Loading…
Reference in New Issue
Block a user