# HG changeset patch # User eugeni # Date 1218147652 0 # Node ID 6eeaea929c14f0f8690c8af23f475839047b119d # Parent 7bb23987c5f0d969a251a4fb9815e4573ddd20f0 Calculate subtitle origin in floating point. diff -r 7bb23987c5f0 -r 6eeaea929c14 libass/ass_render.c --- a/libass/ass_render.c Thu Aug 07 22:20:50 2008 +0000 +++ b/libass/ass_render.c Thu Aug 07 22:20:52 2008 +0000 @@ -150,7 +150,7 @@ EVENT_VSCROLL // "Scroll up", "Scroll down" transition effects } evt_type; double pos_x, pos_y; // position - int org_x, org_y; // origin + double org_x, org_y; // origin char have_origin; // origin is explicitly defined; if 0, get_base_point() is used double scale_x, scale_y; double hspacing; // distance between letters, in pixels