[vlc-devel] commit: Used light hinting in libass to increase the quality. ( Laurent Aimar )

git version control git at videolan.org
Sat Jul 25 14:27:30 CEST 2009


vlc | branch: 1.0-bugfix | Laurent Aimar <fenrir at videolan.org> | Fri Jul 24 23:13:24 2009 +0200| [61cb1e252db3b403869193b8152a53c690250b42] | committer: Jean-Baptiste Kempf 

Used light hinting in libass to increase the quality.
(cherry picked from commit 16be5123ac29a0f1c032f042dddbcde2438c2e0c)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=61cb1e252db3b403869193b8152a53c690250b42
---

 modules/codec/libass.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/libass.c b/modules/codec/libass.c
index 4d97d4d..fc5a13c 100644
--- a/modules/codec/libass.c
+++ b/modules/codec/libass.c
@@ -738,7 +738,7 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
     ass_set_use_margins( p_renderer, false);
     //if( false )
     //    ass_set_margins( p_renderer, int t, int b, int l, int r);
-    ass_set_hinting( p_renderer, ASS_HINTING_NATIVE ); // No idea
+    ass_set_hinting( p_renderer, ASS_HINTING_LIGHT );
     ass_set_font_scale( p_renderer, 1.0 );
     ass_set_line_spacing( p_renderer, 0.0 );
 




More information about the vlc-devel mailing list