X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fplugins%2Ftheme_blond_cv%2Fblondcvtheme.C;fp=cinelerra-5.0%2Fplugins%2Ftheme_blond_cv%2Fblondcvtheme.C;h=383d72d9eb4e962e7b539b76a21540e06a7612e0;hb=af9d0b80674da7166da6faabe7cb43b4244c212c;hp=5e8fa9b89ff817e8e1bbd94b180fc179723d8078;hpb=0fb566814c8a2948506be87ea7ecd08128ae119b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/plugins/theme_blond_cv/blondcvtheme.C b/cinelerra-5.0/plugins/theme_blond_cv/blondcvtheme.C index 5e8fa9b8..383d72d9 100644 --- a/cinelerra-5.0/plugins/theme_blond_cv/blondcvtheme.C +++ b/cinelerra-5.0/plugins/theme_blond_cv/blondcvtheme.C @@ -21,6 +21,7 @@ #include "bcsignals.h" #include "clip.h" +#include "cstrdup.h" #include "cwindowgui.h" #include "blondcvtheme.h" #include "edl.h" @@ -798,7 +799,12 @@ void BlondCVTheme::initialize() title_color = WHITE; recordgui_fixed_color = YELLOW; recordgui_variable_color = RED; - resources->medium_font = "-*-helvetica-bold-r-normal-*-14-*"; + + int font_size = (int)(14*resources->font_scale + 0.5); + char string[BCTEXTLEN]; + sprintf(string,"-*-helvetica-bold-r-normal-*-%d-*", font_size); + delete [] resources->medium_font; + resources->medium_font = cstrdup(string); channel_position_color = MEYELLOW; resources->meter_title_w = 25;