Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 284279 Details for
Bug 377255
stabilize =media-libs/libass-0.9.13 (was: media-libs/freetype-2.4.6 causes crashes when playing media with styled subs with <media-libs/libass-0.9.13)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
backported patch
p (text/plain), 1.12 KB, created by
Mikael Magnusson
on 2011-08-23 00:00:47 UTC
(
hide
)
Description:
backported patch
Filename:
MIME Type:
Creator:
Mikael Magnusson
Created:
2011-08-23 00:00:47 UTC
Size:
1.12 KB
patch
obsolete
>--- a/libass/ass_font.c >+++ b/libass/ass_font.c >@@ -675,17 +675,23 @@ void fix_freetype_stroker(FT_OutlineGlyph glyph, int border_x, int border_y) > > // zero-out contours that can be removed; much simpler than copying > if (modified) { >+ int p = 0, c = 0; > for (i = 0; i < nc; i++) { >- if (valid_cont[i]) >+ if (!valid_cont[i]) > continue; > begin = (i == 0) ? 0 : glyph->outline.contours[i - 1] + 1; > stop = glyph->outline.contours[i]; > for (j = begin; j <= stop; j++) { >- glyph->outline.points[j].x = 0; >- glyph->outline.points[j].y = 0; >- glyph->outline.tags[j] = 0; >+ glyph->outline.points[p].x = glyph->outline.points[j].x; >+ glyph->outline.points[p].y = glyph->outline.points[j].y; >+ glyph->outline.tags[p] = glyph->outline.tags[j]; >+ p++; > } >+ glyph->outline.contours[c] = p - 1; >+ c++; > } >+ glyph->outline.n_points = p; >+ glyph->outline.n_contours = c; > } > > free(boxes);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 377255
: 284279