Comments (1)
I believe I fixed this.
In the file src/Logic/SubtitleFormats/Ebu.cs
After line 249 : string underlineOff = encoding.GetString(new byte[] { 0x83 });
and before line TextField = TextField.Replace("", italicsOn);
Please add the following:
// If there's only one and it is at the beginning and text ends with , then the whole
// subtitle is in italics, so we put at the beginning of each line.
if (Utilities.CountTagInText(TextField, "") == 1 && TextField.StartsWith("") && TextField.EndsWith(""))
TextField = TextField.Replace(Environment.NewLine, Environment.NewLine + "");
I got the idea by looking at Pac.cs. The exported file was open in Fab Subtitler and it italics where properly formatted.
Cheers... Adrián.
from subtitleedit.
Related Issues (20)
- Shadow looks transparent if border width is set to 0 HOT 3
- Whole Subtitle Edit task is unclickable anywhere when downloads stop without failing (Windows 10) HOT 1
- [Feature Req] VoiceCraft option for TTS HOT 3
- Auto translate issue HOT 1
- auto-parse lyrics with 3-digits for hundredths of a second HOT 7
- Improve list sorting for some tools HOT 3
- A question about automatic translation HOT 1
- Jumping issue when trying to create the end line
- Snapping subtitle's end line to shot change marker goes to next shot HOT 10
- Subtitle edit version 4 and above source view font size too small HOT 1
- Api Key deepl Pro Error HOT 1
- A request: Add new format HOT 4
- A few more issues on Batch Burn-in Mode (BETA) (Cont.)
- I just opened the ass file and the style has been modified. HOT 8
- Join subtitle issue HOT 13
- TTS adding own model missing feature? HOT 1
- Batch convert OCR No Google Cloub function HOT 1
- Unhandled exception in auto-translation
- Auto fixing auto translate HOT 1
- Command Create tab/INSERT NEW SUBTITLE AT VIDEO POS should be part of the context menu too HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subtitleedit.