mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
libeplayer3/container_ass: font size adjusted
Origin commit data
------------------
Branch: master
Commit: 441f337b48
Author: martii <m4rtii@gmx.de>
Date: 2013-07-26 (Fri, 26 Jul 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -116,8 +116,8 @@ static unsigned char isContainerRunning = 0;
|
||||
static ASS_Library *ass_library;
|
||||
static ASS_Renderer *ass_renderer;
|
||||
|
||||
static float ass_font_scale = 0.4; // was: 0.7
|
||||
static float ass_line_spacing = 0.4; // was: 0.7
|
||||
//static float ass_font_scale = 0.4; // was: 0.7
|
||||
//static float ass_line_spacing = 0.4; // was: 0.7
|
||||
|
||||
static unsigned int screen_width = 0;
|
||||
static unsigned int screen_height = 0;
|
||||
@@ -593,10 +593,10 @@ int container_ass_init(Context_t *context)
|
||||
}
|
||||
|
||||
ass_set_use_margins(ass_renderer, 1);
|
||||
ass_set_font_scale(ass_renderer, (ass_font_scale * screen_height) / 240.0);
|
||||
// ass_set_font_scale(ass_renderer, (ass_font_scale * screen_height) / 240.0);
|
||||
|
||||
ass_set_hinting(ass_renderer, ASS_HINTING_LIGHT);
|
||||
ass_set_line_spacing(ass_renderer, (ass_line_spacing * screen_height) / 240.0);
|
||||
// ass_set_line_spacing(ass_renderer, (ass_line_spacing * screen_height) / 240.0);
|
||||
ass_set_fonts(ass_renderer, ASS_FONT, "Arial", 0, NULL, 1);
|
||||
|
||||
if(threeDMode == 0){
|
||||
|
@@ -29,7 +29,7 @@ Collisions: Normal\n\
|
||||
Timer: 100.0000\n\n\
|
||||
[V4 Styles]\n\
|
||||
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding\n\
|
||||
Style: Default,Arial,26,16777215,0,16777215,0,0,0,2,2,2,2,20,20,10,0\n\n\
|
||||
Style: Default,Arial,64,16777215,0,16777215,0,0,0,2,2,2,2,20,20,10,0\n\n\
|
||||
[Events]\n\
|
||||
Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text\n\n\n"
|
||||
|
||||
|
Reference in New Issue
Block a user