2011-03-15, 17:47
patch is located here due to size and me not knowing how to use trac (which appears to lack a simple user guide).
http://pastebin.com/mbDBe5q4
My example advancedsettings.xml entries are:
which caches 0-255 and some extra non-english characters (Ş İ ğ ş ı.
Sorry I couldn't test properly on a newish version (though the patch is based in it) but I did try.
EDIT I forgot to include a matching srt content for help with testing
http://pastebin.com/mbDBe5q4
My example advancedsettings.xml entries are:
Quote: <video>
<subsoverlaymaxlinger>4</subsoverlaymaxlinger>
<substtfborderfontdisable>false</substtfborderfontdisable>
<substtfprecache>true</substtfprecache>
<substtfprecachecodes>
<add>0x0-0xFF</add>
<add>0x15E,0x130,</add>
<add>0x11F,0x15F,0x131</add>
</substtfprecachecodes>
</video>
which caches 0-255 and some extra non-english characters (Ş İ ğ ş ı.
Sorry I couldn't test properly on a newish version (though the patch is based in it) but I did try.
EDIT I forgot to include a matching srt content for help with testing
Code:
1
00:00:30,616 --> 00:00:32,700
NORMAL
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Ç É Ö Ş İ Ü
a b c d e f g h i j k l m n o p q r s t u v w x y z ç é ğ ö ş ı ü
? ! " " ; : @ # ~ % $ ( ) . ,
2
00:00:40,616 --> 00:00:42,700
<i>ITALIC
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Ç É Ö Ş İ Ü
a b c d e f g h i j k l m n o p q r s t u v w x y z ç é ğ ö ş ı ü
? ! " " ; : @ # ~ % $ ( ) . ,</i>
3
00:00:50,616 --> 00:00:52,700
<b>BOLD
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Ç É Ö Ş İ Ü
a b c d e f g h i j k l m n o p q r s t u v w x y z ç é ğ ö ş ı ü
? ! " " ; : @ # ~ % $ ( ) . ,</b>
4
00:01:00,616 --> 00:01:02,700
<b><i>BOLD-ITALIC
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Ç É Ö Ş İ Ü
a b c d e f g h i j k l m n o p q r s t u v w x y z ç é ğ ö ş ı ü
? ! " " ; : @ # ~ % $ ( ) . ,</i></b>
5
00:01:10,616 --> 00:01:12,700
<font color="#ed1840">FONT COLOR A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Ç É Ö Ş İ Ü
a b c d e f g h i j k l m n o p q r s t u v w x y z ç é ğ ö ş ı ü
? ! " " ; : @ # ~ % $ ( ) . ,</font>