Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mixed normal/italic closed captions in 0.2.33 #18

Open
ileanadumitrescu95 opened this issue Sep 20, 2022 · 0 comments
Open

Fix mixed normal/italic closed captions in 0.2.33 #18

ileanadumitrescu95 opened this issue Sep 20, 2022 · 0 comments

Comments

@ileanadumitrescu95
Copy link
Contributor

SourceForge patch 14 written by faginbagin on 2012-12-08

Fixes the handling of Preamble Address Codes, Tab Offsets and Mid-Row Codes to match the behavior described in "Code of Federal Regulations (annual edition). Title 47: Telecommunication. Subpart B: Unintentional Radiators. Saturday, October 1, 2011, Section 15.119", which can be found here:
http://www.gpo.gov/fdsys/pkg/CFR-2011-title47-vol1/pdf/CFR-2011-title47-vol1-sec15-119.pdf
According to this document, Preamble Address Codes and Tab Offsets are non-destructive, and Mid-Row Codes are "spacing attributes which appear in the display just as if a standard space (20h) had been received"
Without this patch, Preamble Address Codes and Tab Offsets overwrite the characters between the current position and destination, and Mid-row codes do not insert a displayable space and do not move the cursor forward one position. These problems are most noticeable with closed captions that mix normal and italic text on a single line.

This patch also includes fixes required to compile 0.2.33 on debian/ubuntu distributions. See Debian bug report #602880 here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602880

zvbi-italic.patch.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant