[FFmpeg-devel] [PATCH 2/2] new option for drawtext (boxborderw = set box border width)

Nicolas George george at nsup.org
Fri Feb 6 14:11:04 CET 2015


Le septidi 17 pluviôse, an CCXXIII, Liviu Oniciuc a écrit :
> it is not related with the inside padding, and yes it does try to follow the
> css/ffmpeg vocabulary. 'boxborderw' refer to what css names: 'border-width',

I think you are mistaken about either the effect of the drawtext options or
the semantic of CSS properties.

The "box" that drawtext draws around the text is filled, it corresponds to
the "background" CSS property, and adding border in it corresponds to what
CSS calls "padding". What CSS calls "border" is a frame, not filled.

> but ffmpeg drawtext already has a 'borderw' option, that is actually
> used for what css will call: font-weight.

In this case again you are mistaken about CSS properties: the borderw option
does not correspond to font-weight, it corresponds to the effect usually
called outline, which does not exist in standard CSS. The equivalent of
font-weight is achieved by selecting a font file with a bold face.

> On 2/4/2015 1:13 PM, Clément Bœsch wrote:

Please do not top-post on this mailing-list; if you do not know what it
means, look it up.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150206/e13cf6e0/attachment.asc>


More information about the ffmpeg-devel mailing list