[style] keep font size and playback resolution constant

This commit is contained in:
odrling 2019-08-24 19:09:44 +02:00
parent 7ec32f8b2e
commit 8ab7a886d3
2 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ class AssStyle final : public AssEntry, public AssEntryListHook {
public: public:
std::string name = "Default"; ///< Name of the style; must be case-insensitively unique within a file despite being case-sensitive std::string name = "Default"; ///< Name of the style; must be case-insensitively unique within a file despite being case-sensitive
std::string font = "Amaranth"; ///< Font face name std::string font = "Amaranth"; ///< Font face name
double fontsize = 80.; ///< Font size double fontsize = 60.; ///< Font size
agi::Color primary{ 255, 132, 0 }; ///< Default text color agi::Color primary{ 255, 132, 0 }; ///< Default text color
agi::Color secondary{ 255, 255, 255 }; ///< Text color for not-yet-reached karaoke syllables agi::Color secondary{ 255, 255, 255 }; ///< Text color for not-yet-reached karaoke syllables

View File

@ -366,7 +366,7 @@
}, },
"Character Limit" : 40, "Character Limit" : 40,
"Default Resolution" : { "Default Resolution" : {
"Auto" : true, "Auto" : false,
"Height" : 720, "Height" : 720,
"Width" : 1280 "Width" : 1280
}, },
@ -607,11 +607,11 @@
"Open Audio" : true, "Open Audio" : true,
"Overscan Mask" : false, "Overscan Mask" : false,
"Provider" : "ffmpegsource", "Provider" : "ffmpegsource",
"Script Resolution Mismatch" : 1, "Script Resolution Mismatch" : 0,
"Slider" : { "Slider" : {
"Fast Jump Step" : 10, "Fast Jump Step" : 10,
"Show Keyframes" : true "Show Keyframes" : true
}, },
"Subtitle Sync" : true "Subtitle Sync" : true
} }
} }