Show
Ignore:
Timestamp:
07/29/08 22:44:52 (4 months ago)
Author:
astrange
Message:

SSA: Support vertical text (fonts with @ in the name).

Files:

Legend:

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

    r891 r919  
    6262                case 3: case 6: case 9: *alignH = kSubAlignmentRight; break; 
    6363        } 
     64} 
     65 
     66BOOL ParseFontVerticality(NSString **fontname) 
     67{ 
     68        if ([*fontname characterAtIndex:0] == '@') { 
     69                *fontname = [*fontname substringFromIndex:1]; 
     70                return YES; 
     71        } 
     72        return NO; 
    6473} 
    6574