r23152 - in trunk: DOCS/man/en/mplayer.1 cfg-common.h libass/ass.h libass/ass_font.c libass/ass_font.h libass/ass_mp.c libass/ass_mp.h libass/ass_render.c libmpcodecs/vf_ass.c libmpcodecs/vf_vo.c libmpcodecs/vfcap.h libvo/vo_gl.c
Author: eugeni Date: Fri Apr 27 16:25:36 2007 New Revision: 23152 Log: Add -ass-hinting option for setting font hinting method. It is possible to separately configure hinting for scaled and unscaled osd. The default is native hinter for unscaled osd (only vo_gl at this point), no hinting for vf_ass. Modified: trunk/DOCS/man/en/mplayer.1 Changes in other areas also in this revision: Modified: trunk/cfg-common.h trunk/libass/ass.h trunk/libass/ass_font.c trunk/libass/ass_font.h trunk/libass/ass_mp.c trunk/libass/ass_mp.h trunk/libass/ass_render.c trunk/libmpcodecs/vf_ass.c trunk/libmpcodecs/vf_vo.c trunk/libmpcodecs/vfcap.h trunk/libvo/vo_gl.c Modified: trunk/DOCS/man/en/mplayer.1 ============================================================================== --- trunk/DOCS/man/en/mplayer.1 (original) +++ trunk/DOCS/man/en/mplayer.1 Fri Apr 27 16:25:36 2007 @@ -1902,6 +1902,27 @@ Override some style parameters. .PD 1 . .TP +.B \-ass-hinting <type> +Set hinting type. +.PD 0 +.RSs +.IPs <type> +0: No hinting. +.br +1: FreeType autohinter, light mode. +.br +2: FreeType autohinter, normal mode. +.br +3: Font native hinter. +.br +0-3 + 4: The same, but hinting will only be performed if OSD is rendered at +screen resolution and, therefore, will not be scaled. +.br +The default value is 7 (use native hinter for unscaled OSD and no hinting otherwise). +.RE +.PD 1 +. +.TP .B \-ass-line-spacing <value> Set line spacing value for SSA/ASS renderer. .
Hi, Le 27 avr. 07 à 16:25, eugeni a écrit :
Author: eugeni Date: Fri Apr 27 16:25:36 2007 New Revision: 23152
Log: Add -ass-hinting option for setting font hinting method. It is possible to separately configure hinting for scaled and unscaled osd. The default is native hinter for unscaled osd (only vo_gl at this point), no hinting for vf_ass.
I have the greatest difficulties to understand what you meant here by "hinting". I know the word "hint" (like in the sense "I'll give you a hint") and I know the sense of "hinting" as "optimizing" but somehow doubt that this is what you mean here. Could you explain to me what it means? Thanks! Guillaume
Guillaume Poirier wrote:
Hi,
Le 27 avr. 07 à 16:25, eugeni a écrit :
Author: eugeni Date: Fri Apr 27 16:25:36 2007 New Revision: 23152
Log: Add -ass-hinting option for setting font hinting method. It is possible to separately configure hinting for scaled and unscaled osd. The default is native hinter for unscaled osd (only vo_gl at this point), no hinting for vf_ass.
I have the greatest difficulties to understand what you meant here by "hinting". I know the word "hint" (like in the sense "I'll give you a hint") and I know the sense of "hinting" as "optimizing" but somehow doubt that this is what you mean here.
Could you explain to me what it means?
Until recently, I had virtually no idea what this not infrequently used term meant in the context of fonts. Last week, I had occasion to read the Wikipedia entry on PostScript, and found enough information on font hinting to give me some clue. By my recent/new understanding, font hinting is a matter of informing some program (whether hardware or software) which parts of a character are important to preserve when scaling up or down so that the character will still look good afterwards. It's along the lines of "hint: you should keep this part, those others aren't as important". (Now, of course, very likely someone who knows better will either correct me or at least expand on the point, and I'll wind up feeling mildly foolish for having posted. Oh well...) -- The Wanderer Warning: Simply because I argue an issue does not mean I agree with any side of it. Secrecy is the beginning of tyranny.
Hi, Le 30 avr. 07 à 13:16, The Wanderer a écrit :
Guillaume Poirier wrote:
I have the greatest difficulties to understand what you meant here by "hinting". I know the word "hint" (like in the sense "I'll give you a hint") and I know the sense of "hinting" as "optimizing" but somehow doubt that this is what you mean here.
Could you explain to me what it means?
Until recently, I had virtually no idea what this not infrequently used term meant in the context of fonts. Last week, I had occasion to read the Wikipedia entry on PostScript, and found enough information on font hinting to give me some clue.
By my recent/new understanding, font hinting is a matter of informing some program (whether hardware or software) which parts of a character are important to preserve when scaling up or down so that the character will still look good afterwards. It's along the lines of "hint: you should keep this part, those others aren't as important".
(Now, of course, very likely someone who knows better will either correct me or at least expand on the point, and I'll wind up feeling mildly foolish for having posted. Oh well...)
Thanks for taking the time to explain this to me. It helped me understand what it meant, however, it's been a big tough to translate to French. I'm not sure if what I translated preserved all the meaning, but it's not like I'm an expert in content creation ;-) Thanks! Guillaume
On Fri, 27 Apr 2007 16:25:36 +0200 (CEST) eugeni <subversion@mplayerhq.hu> wrote: .....
.TP +.B \-ass-hinting <type> +Set hinting type. +.PD 0 +.RSs +.IPs <type> +0: No hinting. +.br +1: FreeType autohinter, light mode. +.br +2: FreeType autohinter, normal mode. +.br +3: Font native hinter. +.br +0-3 + 4: The same, but hinting will only be performed if OSD is rendered at +screen resolution and, therefore, will not be scaled. +.br +The default value is 7 (use native hinter for unscaled OSD and no hinting otherwise). +.RE +.PD 1 +. +.TP .B \-ass-line-spacing <value> Set line spacing value for SSA/ASS renderer.
proposed modification to option section attached....
participants (4)
-
eugeni -
Guillaume Poirier -
Paul TT -
The Wanderer