mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Update dictionaries
This commit is contained in:
parent
31b4761660
commit
12b30549e0
@ -78,6 +78,7 @@
|
||||
<word>clanky</word>
|
||||
<word>cliché</word>
|
||||
<word>clozapine</word>
|
||||
<word>co2</word>
|
||||
<word>cobalt</word>
|
||||
<word>collywobbles</word>
|
||||
<word>colonoscopy</word>
|
||||
@ -409,6 +410,7 @@
|
||||
<word>ununquadium</word>
|
||||
<word>ununseptium</word>
|
||||
<word>ununtrium</word>
|
||||
<word>uplink</word>
|
||||
<word>uranium</word>
|
||||
<word>vaccinologist</word>
|
||||
<word>vanadium</word>
|
||||
|
@ -371,6 +371,7 @@
|
||||
<Word from="bythe" to="by the" />
|
||||
<Word from="byyourself" to="by yourself" />
|
||||
<Word from="C/latter/'/7g" to="Chattering" />
|
||||
<Word from="C02" to="CO2" />
|
||||
<Word from="ca///ng" to="calling" />
|
||||
<Word from="ca/I" to="call" />
|
||||
<Word from="cal/ed" to="called" />
|
||||
@ -805,6 +806,7 @@
|
||||
<Word from="H0ger" to="Roger" />
|
||||
<Word from="H0we·ver" to="However" />
|
||||
<Word from="ha/f" to="half" />
|
||||
<Word from="hadjammed" to="had jammed" />
|
||||
<Word from="hadjust" to="had just" />
|
||||
<Word from="Hadnt" to="Hadn't" />
|
||||
<Word from="hadnt" to="hadn't" />
|
||||
|
BIN
Ocr/Latin.nocr
BIN
Ocr/Latin.nocr
Binary file not shown.
@ -1356,6 +1356,33 @@ namespace Nikse.SubtitleEdit.Core
|
||||
return true;
|
||||
}
|
||||
|
||||
public int GetNonTransparentHeight()
|
||||
{
|
||||
var startY = 0;
|
||||
int transparentBottomPixels = 0;
|
||||
for (int y = 0; y < Height; y++)
|
||||
{
|
||||
var isLineTransparent = IsLineTransparent(y);
|
||||
if (startY == y && !isLineTransparent)
|
||||
{
|
||||
startY++;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (isLineTransparent)
|
||||
{
|
||||
transparentBottomPixels++;
|
||||
}
|
||||
else
|
||||
{
|
||||
transparentBottomPixels = 0;
|
||||
}
|
||||
}
|
||||
|
||||
return startY - transparentBottomPixels;
|
||||
}
|
||||
|
||||
|
||||
public void EnsureEvenLines(Color fillColor)
|
||||
{
|
||||
if (Width % 2 == 0 && Height % 2 == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user