log libass/ass_render.c @ 31462:1764d80899b8

age author description
Fri, 08 Jan 2010 18:35:44 +0000 greg Update internal libass copy to commit 8db4a5
Mon, 27 Jul 2009 19:39:23 +0000 eugeni Fix stupid, off-by-one, mistakes in assert() expressions.
Sat, 18 Jul 2009 11:33:03 +0000 eugeni Make sure clip coordinates are inside the screen area.
Sat, 18 Jul 2009 11:33:00 +0000 eugeni Cosmetics: make some variables constant to signify their intended use and,
Sat, 18 Jul 2009 11:32:58 +0000 eugeni Fix read after the end of allocated buffer.
Wed, 13 May 2009 02:58:57 +0000 diego whitespace cosmetics: Remove all trailing whitespace.
Tue, 21 Apr 2009 21:27:53 +0000 eugeni Don't automatically wrap lines when WrapStyle==2.
Sat, 28 Mar 2009 19:24:08 +0000 reimar Document the ass_render_event event_images parameter.
Sat, 28 Mar 2009 19:21:34 +0000 reimar Initialize all structs to 0 before using them.
Sun, 08 Mar 2009 16:13:21 +0000 eugeni Treat -font/-subfont as Fontconfig pattern in libass.
Sun, 08 Mar 2009 15:30:40 +0000 greg Remove extraneous braces.
Sun, 08 Mar 2009 15:30:27 +0000 greg Don't assume width == stride for bitmap composition.
Sun, 08 Mar 2009 04:03:28 +0000 greg Fix clipping for pan-and-scan.
Sun, 08 Mar 2009 04:03:24 +0000 greg Add a proper color check to the overlap compositing.
Sun, 08 Mar 2009 02:53:14 +0000 greg Replace rotation functions with a simplified version adapted from
Sat, 07 Mar 2009 23:56:03 +0000 greg Only use first \org in a line.
Fri, 06 Mar 2009 09:20:09 +0000 greg Raise max. number of \be applications to 100, introduce #define for it.
Fri, 06 Mar 2009 01:26:44 +0000 greg Replace magic numbers (for subpixel accuracy masking) with a define.
Fri, 06 Mar 2009 01:17:05 +0000 greg Use blur with kernel [[1,2,1], [2,4,2], [1,2,1]] for \be.
Thu, 05 Mar 2009 20:47:33 +0000 greg Combine adjacent overlapping, translucent glyph borders and shadows to
Thu, 05 Mar 2009 20:36:59 +0000 greg Fix positioned events' y-position when pan-and-scan is used.
Thu, 05 Mar 2009 20:36:56 +0000 greg Support for subpixel accuracy of 3 bits for \pos and \move.
Thu, 05 Mar 2009 20:36:48 +0000 greg Support ScaledBorderAndShadow property.
Thu, 05 Mar 2009 20:36:44 +0000 greg Scale shadow displacement and blur size like border size.
Thu, 05 Mar 2009 20:36:41 +0000 greg Round shadow displacement to nearest int.
Thu, 05 Mar 2009 20:36:39 +0000 greg Support a vsfilter special case:
Thu, 05 Mar 2009 20:05:56 +0000 greg Ignore PlayResX/Y aspect ratio for font aspect ratio.
Sun, 01 Mar 2009 16:01:24 +0000 eugeni With pan-and-scan, keep positioned events in their original positions
Fri, 27 Feb 2009 23:06:53 +0000 eugeni Zero-fill glyph_info_t before use.
Fri, 27 Feb 2009 23:06:50 +0000 eugeni Remove unused function argument.
Fri, 27 Feb 2009 23:06:47 +0000 eugeni Support fractional arguments for some override tags.
Fri, 27 Feb 2009 23:06:43 +0000 eugeni Fix two gcc warnings.
Fri, 27 Feb 2009 23:06:34 +0000 eugeni Allow shadow without border.
Sat, 07 Feb 2009 01:13:11 +0000 eugeni In case of several \move or \pos in one line, prefer the first one.
Sat, 07 Feb 2009 01:13:07 +0000 eugeni Add stubs for a few unimplemented tags.
Sat, 07 Feb 2009 01:13:02 +0000 eugeni Allow \be with arguments other than 0 or 1. Implement \blur.
Thu, 29 Jan 2009 02:23:06 +0000 compn increase max glyph and lines limit
Fri, 08 Aug 2008 20:08:02 +0000 eugeni Don't print drawing commands on screen.
Thu, 07 Aug 2008 22:20:56 +0000 eugeni \org turns off collision detection.
Thu, 07 Aug 2008 22:20:54 +0000 eugeni Treat \h as space character.
Thu, 07 Aug 2008 22:20:52 +0000 eugeni Calculate subtitle origin in floating point.
Thu, 07 Aug 2008 22:20:50 +0000 eugeni Calculate subtitle position in floating point.
Wed, 09 Jul 2008 15:05:56 +0000 eugeni Fix \fn without an argument consuming the next '\'.
Wed, 14 May 2008 17:21:58 +0000 diego Speak of libass instead of MPlayer in the libass license headers.
Tue, 13 May 2008 08:02:23 +0000 diego Use standard license header.
Wed, 30 Apr 2008 14:16:22 +0000 eugeni Remove libass dependency on global font_fontconfig variable.
Fri, 22 Feb 2008 19:31:49 +0000 eugeni Better handling of behind-the-camera objects.
Fri, 22 Feb 2008 19:31:47 +0000 eugeni Print FreeType version in libass init. Makes error logs slightly more helpful.
Sun, 30 Dec 2007 01:03:05 +0000 eugeni Return from ass_start_frame immediately if the track is empty.
Fri, 19 Oct 2007 18:16:23 +0000 eugeni Avoid text deformation and subtitles moving outside the screen in pan-and-scan
Tue, 18 Sep 2007 19:51:22 +0000 eugeni More precise line spacing.
Tue, 18 Sep 2007 18:41:38 +0000 eugeni Fix text height calculation. It depends on line spacing.
Tue, 18 Sep 2007 18:36:54 +0000 eugeni Fix an obviously incorrect comment.
Tue, 18 Sep 2007 18:34:52 +0000 eugeni Enable ass_line_spacing option.
Sat, 19 May 2007 14:11:41 +0000 eugeni Correct font size in libass.
Fri, 18 May 2007 18:58:34 +0000 eugeni Revert y-axis rotation. Change order of rotations.
Mon, 14 May 2007 20:41:14 +0000 eugeni Support fractional font sizes.
Mon, 14 May 2007 20:24:53 +0000 eugeni Limit ass_font_set_transform to nonrotating transformations.
Thu, 03 May 2007 19:33:35 +0000 eugeni Deallocate string.
Wed, 02 May 2007 10:15:12 +0000 eugeni Always deallocate glyphs. Fixes memory leak.
Tue, 01 May 2007 15:54:00 +0000 eugeni Update comments.
Tue, 01 May 2007 15:34:08 +0000 eugeni Cosmetics.
Tue, 01 May 2007 15:33:06 +0000 eugeni Move glyph_to_bitmap() call and outline glyph deallocation to
Tue, 01 May 2007 15:21:34 +0000 eugeni Minor code simplification.
Tue, 01 May 2007 15:14:22 +0000 eugeni Move get_bitmap_glyph() call to a separate loop.
Tue, 01 May 2007 15:12:36 +0000 eugeni Move transform_3d() call to get_bitmap_glyph().
Tue, 01 May 2007 15:07:41 +0000 eugeni Make a function static.
Tue, 01 May 2007 15:05:20 +0000 eugeni Don't recalculate rotation radius.
Tue, 01 May 2007 14:29:28 +0000 eugeni Bugfix: glyph cache depends on border width, because it contains outline_glyph
Fri, 27 Apr 2007 14:25:36 +0000 eugeni Add -ass-hinting option for setting font hinting method.
Fri, 27 Apr 2007 14:18:44 +0000 eugeni Fix division by zero in "\t" parsing.
Tue, 24 Apr 2007 17:36:03 +0000 eugeni Do not use FT_Glyph_Copy with NULL glyphs.
Sat, 21 Apr 2007 11:02:49 +0000 eugeni Deallocate glyphs in a separate loop.
Sat, 21 Apr 2007 10:56:28 +0000 eugeni Always deallocate glyphs. Fixes a memory leak.
Sat, 21 Apr 2007 10:43:19 +0000 eugeni Reset outline glyph cache when configuration changes.
Sat, 21 Apr 2007 10:42:10 +0000 eugeni Scale camera distance.
Fri, 20 Apr 2007 23:25:30 +0000 eugeni Remove unused variables.
Fri, 20 Apr 2007 23:23:32 +0000 eugeni Cosmetics.
Fri, 20 Apr 2007 23:23:00 +0000 eugeni Allow caching of rotated glyphs.
Fri, 20 Apr 2007 23:19:23 +0000 eugeni Add shift_[xy] (vector that is added to the glyph before transformation) to
Fri, 20 Apr 2007 23:16:29 +0000 eugeni Fill bitmap_hash_key during parsing stage, call get_bitmap_glyph() much later.
Fri, 20 Apr 2007 23:14:12 +0000 eugeni Remove bbox and advance vector from bitmap cache.
Fri, 20 Apr 2007 23:13:34 +0000 eugeni Store outline_glyph (glyph border) in glyph cache.
Fri, 20 Apr 2007 23:12:19 +0000 eugeni Cosmetics: reindentation.
Fri, 20 Apr 2007 23:11:39 +0000 eugeni Because of the outline glyph cache it is now possible for glyph_info_t to have
Fri, 20 Apr 2007 23:10:33 +0000 eugeni Make get_*_glyph return void.
Fri, 20 Apr 2007 23:09:48 +0000 eugeni Move outline glyph generation to a separate function, using outline glyph
Fri, 20 Apr 2007 23:02:20 +0000 eugeni Rename glyph cache to bitmap cache.
Fri, 20 Apr 2007 22:57:55 +0000 eugeni A meaningless cosmetic change.
Fri, 20 Apr 2007 22:56:42 +0000 eugeni Add perspective projection.
Fri, 20 Apr 2007 22:55:28 +0000 eugeni Applying transformation matrix to the glyph and the shift vector separately is
Fri, 20 Apr 2007 22:51:19 +0000 eugeni Cosmetics: reindentation.
Fri, 20 Apr 2007 22:49:48 +0000 eugeni Disable caching of rotated glyphs.
Fri, 13 Apr 2007 13:46:49 +0000 eugeni Fix a stupid bug in r22473: bbox is zero-filled everytime when a glyph
Sat, 07 Apr 2007 13:32:51 +0000 eugeni Fix lost hard linebreaks in libass by repeating the loop when both soft and
Sun, 01 Apr 2007 21:59:54 +0000 uau "()" to "(void)" function param list fixes
Sat, 31 Mar 2007 20:58:14 +0000 iive Use FT_Glyph_StrokeBorder to render only the outside border.
Tue, 06 Mar 2007 10:00:53 +0000 eugeni A function always returning 0 could as well return void.
Tue, 06 Mar 2007 09:59:53 +0000 eugeni Text alignment should not use bounding boxes of individual glyphs.
Tue, 06 Mar 2007 09:31:12 +0000 eugeni Reset advance vector and glyph bounding box if glyph could not be found.
Sat, 03 Mar 2007 08:20:00 +0000 eugeni Fix incorrect spacing introduced in r22231:
Fri, 02 Mar 2007 17:59:19 +0000 eugeni 10l: x2scr used twice instead of y2scr.
Fri, 02 Mar 2007 17:54:47 +0000 eugeni Bugfix: transform origin to screen coordinates.
Fri, 23 Feb 2007 03:08:54 +0000 uau Fix \a parsing broken in r22291
Wed, 21 Feb 2007 09:25:52 +0000 eugeni Oops, forgot {} before "else".
Tue, 20 Feb 2007 17:22:34 +0000 eugeni Cosmetics: fix indentation.
Tue, 20 Feb 2007 17:20:21 +0000 eugeni With \t(\b) text becomes bold at the middle of time interval, not at the end
Tue, 20 Feb 2007 17:17:51 +0000 eugeni Any style modifier followed by no recognizable parameter resets to the default.
Tue, 20 Feb 2007 16:37:18 +0000 eugeni \fn without an argument resets font family to the value from style.
Tue, 20 Feb 2007 16:20:55 +0000 eugeni Fix display order of events.
Mon, 19 Feb 2007 20:10:55 +0000 eugeni Both (-1) and 1 mean bold font in SSA/ASS styles.
Mon, 19 Feb 2007 19:01:45 +0000 eugeni Add \t(\b) support.
Mon, 19 Feb 2007 18:37:54 +0000 eugeni Fix bounding box calculation with \fscx/\fscy.
Mon, 19 Feb 2007 18:31:05 +0000 eugeni Fix \fscx/\fscy animation.
Mon, 19 Feb 2007 18:01:49 +0000 eugeni Correct implementation of text spacing.
Mon, 19 Feb 2007 17:44:29 +0000 eugeni Reallocate event_images_t, removing limit on simultanious events count.
Fri, 16 Feb 2007 23:18:47 +0000 eugeni Restore a minus sign that was lost in r22231.
Fri, 16 Feb 2007 17:54:47 +0000 eugeni Implement \frx and \fry (and reimplement \frz) as 3d rotations.
Fri, 16 Feb 2007 17:51:07 +0000 eugeni Consistently name z-axis rotation angle "frz".
Fri, 16 Feb 2007 17:49:35 +0000 eugeni Move conversions between 16.16, 26.6 fixed point and int, double to separate
Thu, 15 Feb 2007 21:53:28 +0000 eugeni \r resets \frz to style value.
Thu, 15 Feb 2007 21:51:51 +0000 eugeni Fix \t(\frz) handling.
Thu, 15 Feb 2007 21:50:21 +0000 eugeni \org(0,0) is different from no \org at all.
Mon, 29 Jan 2007 17:08:29 +0000 eugeni Bugfix: glyph and bitmap pointers could be left uninitialized after
Sat, 16 Dec 2006 19:34:00 +0000 eugeni Keep reselected fonts in an array, adding new ones to the end. Glyph
Sat, 16 Dec 2006 19:28:21 +0000 eugeni Remove a mistakenly committed debug printf.
Sat, 16 Dec 2006 19:17:50 +0000 eugeni Move ascender, descender, and kerning computation to ass_font.c.
Wed, 06 Dec 2006 18:44:26 +0000 eugeni Speed up ASS subtitles display by detecting changes between two consecutive
Sun, 03 Dec 2006 18:24:11 +0000 eugeni Open embedded fonts directly from memory.
Sun, 03 Dec 2006 17:59:13 +0000 eugeni Keep embedded fonts in ass_library_t and perform actual disk write
Tue, 28 Nov 2006 22:17:33 +0000 eugeni Use (ass_font_t, char code) instead of (FT_Face, glyph index) to identify
Mon, 27 Nov 2006 17:53:33 +0000 eugeni Fix compilation broken in previous commit.
Mon, 27 Nov 2006 17:13:52 +0000 eugeni Move ass_font_t allocation to ass_font.h.
Sun, 26 Nov 2006 22:53:52 +0000 eugeni Remove obsolete "no_more_font_messages" hack.
Sun, 26 Nov 2006 22:49:27 +0000 eugeni Move fonts-related code to a separate file.
Sun, 26 Nov 2006 20:53:29 +0000 eugeni Make ass_new_font return ass_font_t struct (instead of just FT_Face).
Sun, 26 Nov 2006 20:34:54 +0000 eugeni Rename:
Mon, 20 Nov 2006 17:13:19 +0000 eugeni Cosmetics: remove unneeded curly brackets.
Mon, 20 Nov 2006 17:10:18 +0000 eugeni Fix collision detection. The old method tried to avoid gaps between subtitles
Sun, 19 Nov 2006 22:35:17 +0000 kraymer MSGTRs for libass
Sun, 19 Nov 2006 00:41:00 +0000 eugeni Collect all includes of mplayer headers in libass in a single file (mputils.h).
Mon, 13 Nov 2006 16:49:32 +0000 eugeni Support \t with acceleration.
Wed, 08 Nov 2006 18:57:40 +0000 eugeni s/break/continue/. A crazy mistake, somehow unnoticed for more that 2 months.
Mon, 06 Nov 2006 02:47:57 +0000 eugeni Calculate text bounding box in a way that does not depend on actual glyph
Sat, 04 Nov 2006 17:58:09 +0000 eugeni More precise bounding box calculation for karaoke effects.
Fri, 03 Nov 2006 18:15:33 +0000 eugeni Introduce MSGT_ASS, use it for all libass messages.
Sun, 29 Oct 2006 17:29:55 +0000 eugeni Revert r20517.
Sun, 29 Oct 2006 15:03:30 +0000 eugeni Copy the following functions to libass to avoid dependency on the rest of mplayer:
Sun, 29 Oct 2006 13:59:36 +0000 eugeni Fix width -> orig_width typo.
Sat, 28 Oct 2006 15:07:18 +0000 eugeni Libass interface reworked:
Fri, 27 Oct 2006 16:02:44 +0000 eugeni Add missing fontconfig_done() call.
Thu, 26 Oct 2006 20:08:46 +0000 eugeni Split ass_configure() into several smaller functions.
Fri, 20 Oct 2006 23:06:52 +0000 eugeni Don't forget to apply scaling coefficients to kerning values.
Thu, 19 Oct 2006 18:08:44 +0000 eugeni Fix center of rotation calculation. It was overly complex and
Wed, 18 Oct 2006 21:19:51 +0000 eugeni Center of rotation depends on alignment.
Wed, 18 Oct 2006 21:11:29 +0000 eugeni Support separate rotation angle for each glyph.
Wed, 18 Oct 2006 18:33:19 +0000 eugeni Move base point calculation to a separate function. Will be reused soon.
Wed, 18 Oct 2006 17:57:00 +0000 eugeni Cosmetics: remove commented code.
Wed, 18 Oct 2006 15:52:26 +0000 eugeni Fix a typo in collision detection code.
Mon, 16 Oct 2006 19:02:11 +0000 eugeni Remove an outdated debug message.
Sun, 15 Oct 2006 13:03:43 +0000 reimar Fix crash because of last_glyph < first_glyph, probably caused by first line
Sat, 14 Oct 2006 14:42:23 +0000 eugeni Zerofill libass static variables during initialization.
Sat, 14 Oct 2006 14:35:33 +0000 eugeni Free FT_Stroker during libass deinitialization.
Sun, 01 Oct 2006 17:09:04 +0000 eugeni Add copyright notice and vim/emacs comments to libass and vf_ass.c.
Sun, 24 Sep 2006 16:04:37 +0000 eugeni Shadow support in libass.
Fri, 22 Sep 2006 20:47:08 +0000 reimar Fix width -> orig_width typo causing subtitles to be too far to the right
Fri, 22 Sep 2006 18:56:09 +0000 eugeni Move calculation of text parameters (number of lines, height, etc.) from
Fri, 22 Sep 2006 18:47:29 +0000 eugeni Move variable declaration to a more deeply nested block. It is not used outside of it.
Thu, 21 Sep 2006 22:37:42 +0000 eugeni Cosmetics: fix indentation after last commit.
Thu, 21 Sep 2006 22:36:47 +0000 eugeni Fix FT_Stroker use in libass. The previous variant ended up with 0-width
Thu, 21 Sep 2006 19:31:28 +0000 eugeni In r19831, font size multiplier was mistakenly applied to border width.
Tue, 19 Sep 2006 18:23:36 +0000 eugeni Sort events by ReadOrder (if both layer and start time are equal).
Tue, 19 Sep 2006 17:40:31 +0000 eugeni Calculate text bounding box in such way that it does not depend on the height
Mon, 18 Sep 2006 18:54:38 +0000 eugeni Fix a stupid bug in list concatenation.
Sun, 17 Sep 2006 15:32:01 +0000 eugeni Reduce code duplication in init_render_context().
Sat, 16 Sep 2006 13:32:46 +0000 eugeni Add \be (blur edges) support to libass.
Sat, 16 Sep 2006 13:08:17 +0000 eugeni Store bitmap glyphs in a separate struct, instead of FreeType's internal buffer.
Wed, 13 Sep 2006 15:35:10 +0000 eugeni Make font outline width proportional to movie resolution.
Wed, 06 Sep 2006 17:32:31 +0000 eugeni Bugfix: timing for empty karaoke words was lost, resulting
Tue, 05 Sep 2006 20:06:20 +0000 eugeni Workaround for broken fonts with bad ascender/descender.
Tue, 05 Sep 2006 19:06:15 +0000 eugeni Change \fad behaviour so that it does not get cancelled by \r.
Tue, 05 Sep 2006 18:33:31 +0000 eugeni Simplification.
Mon, 04 Sep 2006 17:55:57 +0000 eugeni Add vertical clipping for subtitles that were moved because of a collision.
Mon, 04 Sep 2006 17:52:28 +0000 eugeni Fix possible unallocated memory read in libass line wrapping code.
Sun, 03 Sep 2006 17:36:29 +0000 eugeni Fix last commit.
Sun, 03 Sep 2006 17:25:04 +0000 eugeni More checks in ass_render_event.
Sun, 03 Sep 2006 17:09:53 +0000 eugeni Remove unneeded variable.
Sat, 02 Sep 2006 19:17:32 +0000 eugeni Better collision detection algorithm. The idea is to keep a subtitle in place
Sat, 02 Sep 2006 18:33:51 +0000 eugeni Remove some unused code.
Fri, 01 Sep 2006 20:36:38 +0000 eugeni Make \fr* parameter a floating point value.
Thu, 31 Aug 2006 20:19:19 +0000 eugeni Bugfix: wrong height value used in font size calculation.
Mon, 28 Aug 2006 16:43:17 +0000 eugeni Fix font scaling taking margins into account.
Sun, 27 Aug 2006 22:15:46 +0000 eugeni Cosmetics: fix indentation after r19562.
Sun, 27 Aug 2006 22:12:31 +0000 eugeni Transition effects support.
Sat, 26 Aug 2006 19:00:21 +0000 eugeni Reset glyph cache on reconfigure.
Sat, 26 Aug 2006 18:24:37 +0000 eugeni Add right and left margins support to libass.
Thu, 24 Aug 2006 15:38:28 +0000 eugeni Fix previous commit.
Thu, 24 Aug 2006 15:36:20 +0000 eugeni Simplify vf_ass initialization.
Wed, 16 Aug 2006 00:54:59 +0000 eugeni Fix wrong handling of transparency in \fad(\fade).
Tue, 15 Aug 2006 22:46:56 +0000 eugeni Replace stdint.h with inttypes.h.
Tue, 15 Aug 2006 20:41:53 +0000 eugeni Angle value from style was ignored. Not anymore.
Tue, 15 Aug 2006 19:25:46 +0000 eugeni Add subdata to ass_track conversion for external subtitles.
Tue, 15 Aug 2006 14:43:04 +0000 eugeni Cosmetics: fix indentation after the last patch.
Tue, 15 Aug 2006 14:40:57 +0000 eugeni Allow \fade to be used in place of \fad and vice versa.
Sun, 13 Aug 2006 10:54:29 +0000 eugeni Replace %lld with PRId64, part 2.
Sat, 12 Aug 2006 18:33:19 +0000 eugeni Fix compilation with gcc 2.95.
Sat, 15 Jul 2006 16:03:12 +0000 reynaldo marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
Thu, 13 Jul 2006 20:59:18 +0000 reynaldo marks several function without a prototype which arent used outside its sourcefile as static, Patch by Stefan Huehner - stefan AT huehner-org
Wed, 12 Jul 2006 22:28:20 +0000 eugeni Support 6 argument variant of \move.
Mon, 10 Jul 2006 23:57:17 +0000 eugeni Ignoring FT_Glyph_Stroke() errors can potentially lead to double free().
Fri, 07 Jul 2006 18:26:51 +0000 eugeni Initial libass release (without mencoder support).