diff options
author | Grigori Goronzy <greg@blackbox> | 2010-02-18 05:27:16 +0100 |
---|---|---|
committer | Grigori Goronzy <greg@blackbox> | 2010-04-11 01:59:28 +0200 |
commit | 6e9557cd6c54c99f0d6d9c11096a2f38be47493a (patch) | |
tree | 9606f9ae65bfa5f8c69d5b1dc608ba01fe555600 /libass/ass.c | |
parent | 29167f37cf188f0b4dc6003ff6e733388112d183 (diff) | |
download | libass-6e9557cd6c54c99f0d6d9c11096a2f38be47493a.tar.bz2 libass-6e9557cd6c54c99f0d6d9c11096a2f38be47493a.tar.xz |
Basic @font support
Do not skip '@' at the start of a font name in styles; detect '@' at
font name start and set a new attribute in ASS_Font accordingly.
Rotate affected glyphs after loading and calculate a suitable advance.
Diffstat (limited to 'libass/ass.c')
-rw-r--r-- | libass/ass.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libass/ass.c b/libass/ass.c index 1411776..2efddcd 100644 --- a/libass/ass.c +++ b/libass/ass.c @@ -536,12 +536,6 @@ static int process_style(ASS_Track *track, char *str) style->Name = strdup("Default"); if (!style->FontName) style->FontName = strdup("Arial"); - // skip '@' at the start of the font name - if (*style->FontName == '@') { - p = style->FontName; - style->FontName = strdup(p + 1); - free(p); - } free(format); return 0; |