From 73ca9ace1cd9bd7697cbcda9d1e842e65f69ba0f Mon Sep 17 00:00:00 2001 From: wangqr Date: Mon, 3 Jun 2019 22:08:11 -0400 Subject: [PATCH] Change the default fontsize and the list of resolutions The default fontsize is changed to 48. While it still looks small on the default 720p video, it is actually bigger than 20 / 480 * 720 = 30 Here 720p is the default video resolution after 837d5a41d7. Some common resolutions are also added to the preset list. Fix wangqr/Aegisub#3 --- src/ass_style.h | 2 +- src/dialog_dummy_video.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ass_style.h b/src/ass_style.h index bbbf94787..d366880d4 100644 --- a/src/ass_style.h +++ b/src/ass_style.h @@ -41,7 +41,7 @@ class AssStyle final : public AssEntry, public AssEntryListHook { public: std::string name = "Default"; ///< Name of the style; must be case-insensitively unique within a file despite being case-sensitive std::string font = "Arial"; ///< Font face name - double fontsize = 20.; ///< Font size + double fontsize = 48.; ///< Font size agi::Color primary{ 255, 255, 255 }; ///< Default text color agi::Color secondary{ 255, 0, 0 }; ///< Text color for not-yet-reached karaoke syllables diff --git a/src/dialog_dummy_video.cpp b/src/dialog_dummy_video.cpp index 23b32ce17..d6e61b6d6 100644 --- a/src/dialog_dummy_video.cpp +++ b/src/dialog_dummy_video.cpp @@ -72,9 +72,11 @@ static ResolutionShortcut resolutions[] = { {"704x396 (SD widescreen)", 704, 396}, {"640x352 (SD widescreen MOD16)", 640, 352}, {"704x400 (SD widescreen MOD16)", 704, 400}, + {"1024x576 (SuperPAL widescreen)", 1024, 576}, {"1280x720 (HD 720p)", 1280, 720}, - {"1920x1080 (HD 1080p)", 1920, 1080}, - {"1024x576 (SuperPAL widescreen)", 1024, 576} + {"1920x1080 (FHD 1080p)", 1920, 1080}, + {"2560x1440 (QHD 1440p)", 2560, 1440}, + {"3840x2160 (4K UHD 2160p)", 3840, 2160}, }; wxSpinCtrl *spin_ctrl(wxWindow *parent, int min, int max, int *value) {