Commit cb6d981f authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

subtitles: use PostScript names instead of user-facing names to speed-up CoreText rendering

parent a64313e1
......@@ -24,7 +24,7 @@
#define kVLCSettingSkipLoopFilterNonKey @(3)
#define kVLCSettingSaveHTTPUploadServerStatus @"isHTTPServerOn"
#define kVLCSettingSubtitlesFont @"quartztext-font"
#define kVLCSettingSubtitlesFontDefaultValue @"Helvetica Neue"
#define kVLCSettingSubtitlesFontDefaultValue @"HelveticaNeue"
#define kVLCSettingSubtitlesFontSize @"quartztext-rel-fontsize"
#define kVLCSettingSubtitlesFontSizeDefaultValue @"16"
#define kVLCSettingSubtitlesFontColor @"quartztext-color"
......
......@@ -114,29 +114,29 @@
</array>
<key>Values</key>
<array>
<string>American Typewriter</string>
<string>Arial</string>
<string>Arial Hebrew</string>
<string>Chalkboard SE</string>
<string>Courier New</string>
<string>AmericanTypewriter</string>
<string>ArialMT</string>
<string>ArialHebrew</string>
<string>ChalkboardSE-Regular</string>
<string>CourierNewPSMT</string>
<string>Georgia</string>
<string>Gill Sans</string>
<string>Gujarati Sangam MN</string>
<string>Heiti SC</string>
<string>Heiti TC</string>
<string>Helvetica Neue</string>
<string>Hiragino Kaku Gothic ProN</string>
<string>Hiragino Mincho ProN</string>
<string>Hoefler Text</string>
<string>GillSans</string>
<string>GujaratiSangamMN</string>
<string>STHeitiSC-Light</string>
<string>STHeitiTC-Light</string>
<string>HelveticaNeue</string>
<string>HiraKakuProN-W3</string>
<string>HiraMinProN-W3</string>
<string>HoeflerText-Regular</string>
<string>Kailasa</string>
<string>Kannada Sangam MN</string>
<string>Malayalam Sangam MN</string>
<string>Oriya Sangam MN</string>
<string>Sinhala Sangam MN</string>
<string>Snell Roundhand</string>
<string>Tamil Sangam MN</string>
<string>Telugu Sangam MN</string>
<string>Times New Roman</string>
<string>KannadaSangamMN</string>
<string>MalayalamSangamMN</string>
<string>OriyaSangamMN</string>
<string>SinhalaSangamMN</string>
<string>SnellRoundhand</string>
<string>TamilSangamMN</string>
<string>TeluguSangamMN</string>
<string>TimesNewRomanPSMT</string>
<string>Zapfino</string>
</array>
</dict>
......
......@@ -60,7 +60,7 @@
<key>Title</key>
<string>SETTINGS_SUBTITLES_TITLE</string>
</dict>
<dict>
<dict>
<key>Type</key>
<string>PSMultiValueSpecifier</string>
<key>Title</key>
......@@ -98,29 +98,29 @@
</array>
<key>Values</key>
<array>
<string>American Typewriter</string>
<string>Arial</string>
<string>Arial Hebrew</string>
<string>Chalkboard SE</string>
<string>Courier New</string>
<string>AmericanTypewriter</string>
<string>ArialMT</string>
<string>ArialHebrew</string>
<string>ChalkboardSE-Regular</string>
<string>CourierNewPSMT</string>
<string>Georgia</string>
<string>Gill Sans</string>
<string>Gujarati Sangam MN</string>
<string>Heiti SC</string>
<string>Heiti TC</string>
<string>Helvetica Neue</string>
<string>Hiragino Kaku Gothic ProN</string>
<string>Hiragino Mincho ProN</string>
<string>Hoefler Text</string>
<string>GillSans</string>
<string>GujaratiSangamMN</string>
<string>STHeitiSC-Light</string>
<string>STHeitiTC-Light</string>
<string>HelveticaNeue</string>
<string>HiraKakuProN-W3</string>
<string>HiraMinProN-W3</string>
<string>HoeflerText-Regular</string>
<string>Kailasa</string>
<string>Kannada Sangam MN</string>
<string>Malayalam Sangam MN</string>
<string>Oriya Sangam MN</string>
<string>Sinhala Sangam MN</string>
<string>Snell Roundhand</string>
<string>Tamil Sangam MN</string>
<string>Telugu Sangam MN</string>
<string>Times New Roman</string>
<string>KannadaSangamMN</string>
<string>MalayalamSangamMN</string>
<string>OriyaSangamMN</string>
<string>SinhalaSangamMN</string>
<string>SnellRoundhand</string>
<string>TamilSangamMN</string>
<string>TeluguSangamMN</string>
<string>TimesNewRomanPSMT</string>
<string>Zapfino</string>
</array>
</dict>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment