>From 0ed18835eafc26a6e6277892551e8fb0a130e3a3 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 18 Feb 2009 00:10:40 +0100 Subject: [PATCH 01/12] Ignore PlayResX/Y aspect ratio for font aspect ratio. --- libass/ass_render.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/libass/ass_render.c b/libass/ass_render.c index afd6e8f..28efd1d 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -2223,10 +2223,7 @@ static int ass_start_frame(ass_renderer_t *priv, ass_track_t* track, long long n frame_context.orig_height / frame_context.track->PlayResY; frame_context.border_scale = ((double)frame_context.orig_height) / frame_context.track->PlayResY; - if (frame_context.orig_width * track->PlayResY == frame_context.orig_height * track->PlayResX) - frame_context.font_scale_x = 1.; - else - frame_context.font_scale_x = ((double)(frame_context.orig_width * track->PlayResY)) / (frame_context.orig_height * track->PlayResX); + frame_context.font_scale_x = 1.; priv->prev_images_root = priv->images_root; priv->images_root = 0; -- 1.5.4.3