Changeset 839

Show
Ignore:
Timestamp:
03/30/08 22:48:02 (4 months ago)
Author:
astrange
Message:

Properly turn shadows off after they're used. This and the last commit fix two major rendering issues in '[Live-eviL]_Captain_Harlock_(TV-1978)_-_06_-_Special_Edition_[F45254B0].mkv', but there are still a few left.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Subtitles/SubATSUIRenderer.m

    r838 r839  
    931931        penY = DrawTextLines(c, layout, div, breakc, penX, penY, firstSpanEx, kTextLayerPrimary); 
    932932         
    933         if (endLayer) CGContextEndTransparencyLayer(c); 
     933        if (endLayer) { 
     934                CGContextEndTransparencyLayer(c); 
     935                CGContextSetShadowWithColor(c, CGSizeMake(0,0), 0, NULL); 
     936        } 
    934937         
    935938        return penY;