Explorar o código

Switch default Sans-Serif font from SourceSans-Pro to OpenSans to support Greek, Cyrillic and Vietnamese

Felix Paul Kühne %!s(int64=12) %!d(string=hai) anos
pai
achega
b77e12b8fe

+ 3 - 0
NEWS

@@ -5,6 +5,9 @@
   - vlc://anyprotocol:// allows you to force any URL to open in VLC
   - vlc://server/path will assume http://
 * Fix CSS rendering issue in the WiFi Uploader's web interface
+* Switch Default Subtitles Font from SourceSans-Pro to Open Sans
+  to support Greek, Cyrillic and Vietnamese (#8991)
+* Shake device to create a bug report (#7788)
 * New Danish translation
 
 2.0.1:

+ 209 - 1
Resources/About Contents.html

@@ -58,10 +58,13 @@ Copyright © 2009, 2010 Luc Vandal, Edovia Inc., Ortwin Gentz, FutureTap Gmb
 &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/ole/OBSlider">OBSlider</a><br />
 Copyright &copy; 2011 Ole Begemann and contributors - <a href="#mit">MIT License</a><br />
 <br />
+&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://opensans.com">OpenSans</a><br />
+Copyright &copy; 2010-2011 Steve Matteson / Ascender Corporation - <a href="#apache2">Apache 2 License</a><br />
+<br />
 &nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/dhennessy/PAPasscode">PAPasscodeViewController</a><br />
 Copyright &copy; 2012, Denis Hennessy (Peer Assembly) - <a href="#bsd3clause">3-clause BSD License</a><br />
 <br />
-&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/adobe/source-sans-pro">Source Sans Pro</a> and <a href="https://github.com/adobe/source-code-pro">Source Code Pro</a><br />
+&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://github.com/adobe/source-code-pro">Source Code Pro</a><br />
 Copyright 2010, 2012 Adobe Systems Incorporated, with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries. - <a href="#silopenfont">SIL Open Font License, Version 1.1</a>.<br />
 <br />
 &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://code.google.com/p/libass/">libass</a><br />
@@ -727,6 +730,211 @@ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING<br />
 FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM<br />
 OTHER DEALINGS IN THE FONT SOFTWARE.<br />
 <br />
+<br />
+<p><a href="#top">Back to top</a></p>
+<br />
+<h3 id="apache2">Apache License</h3>
+Version 2.0, January 2004<br />
+<a href="http://www.apache.org/licenses/">http://www.apache.org/licenses/</a><br />
+<br />
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION<br />
+<br />
+1. Definitions.<br />
+<br />
+&quot;License&quot; shall mean the terms and conditions for use, reproduction,<br />
+and distribution as defined by Sections 1 through 9 of this document.<br />
+<br />
+&quot;Licensor&quot; shall mean the copyright owner or entity authorized by<br />
+the copyright owner that is granting the License.<br />
+<br />
+&quot;Legal Entity&quot; shall mean the union of the acting entity and all<br />
+other entities that control, are controlled by, or are under common<br />
+control with that entity. For the purposes of this definition,<br />
+&quot;control&quot; means (i) the power, direct or indirect, to cause the<br />
+direction or management of such entity, whether by contract or<br />
+otherwise, or (ii) ownership of fifty percent (50%) or more of the<br />
+outstanding shares, or (iii) beneficial ownership of such entity.<br />
+<br />
+&quot;You&quot; (or &quot;Your&quot;) shall mean an individual or Legal Entity<br />
+exercising permissions granted by this License.<br />
+<br />
+&quot;Source&quot; form shall mean the preferred form for making modifications,<br />
+including but not limited to software source code, documentation<br />
+source, and configuration files.<br />
+<br />
+&quot;Object&quot; form shall mean any form resulting from mechanical<br />
+transformation or translation of a Source form, including but<br />
+not limited to compiled object code, generated documentation,<br />
+and conversions to other media types.<br />
+<br />
+&quot;Work&quot; shall mean the work of authorship, whether in Source or<br />
+Object form, made available under the License, as indicated by a<br />
+copyright notice that is included in or attached to the work<br />
+(an example is provided in the Appendix below).<br />
+<br />
+&quot;Derivative Works&quot; shall mean any work, whether in Source or Object<br />
+form, that is based on (or derived from) the Work and for which the<br />
+editorial revisions, annotations, elaborations, or other modifications<br />
+represent, as a whole, an original work of authorship. For the purposes<br />
+of this License, Derivative Works shall not include works that remain<br />
+separable from, or merely link (or bind by name) to the interfaces of,<br />
+the Work and Derivative Works thereof.<br />
+<br />
+&quot;Contribution&quot; shall mean any work of authorship, including<br />
+the original version of the Work and any modifications or additions<br />
+to that Work or Derivative Works thereof, that is intentionally<br />
+submitted to Licensor for inclusion in the Work by the copyright owner<br />
+or by an individual or Legal Entity authorized to submit on behalf of<br />
+the copyright owner. For the purposes of this definition, &quot;submitted&quot;<br />
+means any form of electronic, verbal, or written communication sent<br />
+to the Licensor or its representatives, including but not limited to<br />
+communication on electronic mailing lists, source code control systems,<br />
+and issue tracking systems that are managed by, or on behalf of, the<br />
+Licensor for the purpose of discussing and improving the Work, but<br />
+excluding communication that is conspicuously marked or otherwise<br />
+designated in writing by the copyright owner as &quot;Not a Contribution.&quot;<br />
+<br />
+&quot;Contributor&quot; shall mean Licensor and any individual or Legal Entity<br />
+on behalf of whom a Contribution has been received by Licensor and<br />
+subsequently incorporated within the Work.<br />
+<br />
+2. Grant of Copyright License. Subject to the terms and conditions of<br />
+this License, each Contributor hereby grants to You a perpetual,<br />
+worldwide, non-exclusive, no-charge, royalty-free, irrevocable<br />
+copyright license to reproduce, prepare Derivative Works of,<br />
+publicly display, publicly perform, sublicense, and distribute the<br />
+Work and such Derivative Works in Source or Object form.<br />
+<br />
+3. Grant of Patent License. Subject to the terms and conditions of<br />
+this License, each Contributor hereby grants to You a perpetual,<br />
+worldwide, non-exclusive, no-charge, royalty-free, irrevocable<br />
+(except as stated in this section) patent license to make, have made,<br />
+use, offer to sell, sell, import, and otherwise transfer the Work,<br />
+where such license applies only to those patent claims licensable<br />
+by such Contributor that are necessarily infringed by their<br />
+Contribution(s) alone or by combination of their Contribution(s)<br />
+with the Work to which such Contribution(s) was submitted. If You<br />
+institute patent litigation against any entity (including a<br />
+cross-claim or counterclaim in a lawsuit) alleging that the Work<br />
+or a Contribution incorporated within the Work constitutes direct<br />
+or contributory patent infringement, then any patent licenses<br />
+granted to You under this License for that Work shall terminate<br />
+as of the date such litigation is filed.<br />
+<br />
+4. Redistribution. You may reproduce and distribute copies of the<br />
+Work or Derivative Works thereof in any medium, with or without<br />
+modifications, and in Source or Object form, provided that You<br />
+meet the following conditions:<br />
+<br />
+(a) You must give any other recipients of the Work or<br />
+&nbsp;&nbsp;&nbsp;&nbsp;Derivative Works a copy of this License; and<br />
+<br />
+(b) You must cause any modified files to carry prominent notices<br />
+&nbsp;&nbsp;&nbsp;&nbsp;stating that You changed the files; and<br />
+<br />
+(c) You must retain, in the Source form of any Derivative Works<br />
+&nbsp;&nbsp;&nbsp;&nbsp;that You distribute, all copyright, patent, trademark, and<br />
+&nbsp;&nbsp;&nbsp;&nbsp;attribution notices from the Source form of the Work,<br />
+&nbsp;&nbsp;&nbsp;&nbsp;excluding those notices that do not pertain to any part of<br />
+&nbsp;&nbsp;&nbsp;&nbsp;the Derivative Works; and<br />
+<br />
+(d) If the Work includes a &quot;NOTICE&quot; text file as part of its<br />
+&nbsp;&nbsp;&nbsp;&nbsp;distribution, then any Derivative Works that You distribute must<br />
+&nbsp;&nbsp;&nbsp;&nbsp;include a readable copy of the attribution notices contained<br />
+&nbsp;&nbsp;&nbsp;&nbsp;within such NOTICE file, excluding those notices that do not<br />
+&nbsp;&nbsp;&nbsp;&nbsp;pertain to any part of the Derivative Works, in at least one<br />
+&nbsp;&nbsp;&nbsp;&nbsp;of the following places: within a NOTICE text file distributed<br />
+&nbsp;&nbsp;&nbsp;&nbsp;as part of the Derivative Works; within the Source form or<br />
+&nbsp;&nbsp;&nbsp;&nbsp;documentation, if provided along with the Derivative Works; or,<br />
+&nbsp;&nbsp;&nbsp;&nbsp;within a display generated by the Derivative Works, if and<br />
+&nbsp;&nbsp;&nbsp;&nbsp;wherever such third-party notices normally appear. The contents<br />
+&nbsp;&nbsp;&nbsp;&nbsp;of the NOTICE file are for informational purposes only and<br />
+&nbsp;&nbsp;&nbsp;&nbsp;do not modify the License. You may add Your own attribution<br />
+&nbsp;&nbsp;&nbsp;&nbsp;notices within Derivative Works that You distribute, alongside<br />
+&nbsp;&nbsp;&nbsp;&nbsp;or as an addendum to the NOTICE text from the Work, provided<br />
+&nbsp;&nbsp;&nbsp;&nbsp;that such additional attribution notices cannot be construed<br />
+&nbsp;&nbsp;&nbsp;&nbsp;as modifying the License.<br />
+<br />
+You may add Your own copyright statement to Your modifications and<br />
+may provide additional or different license terms and conditions<br />
+for use, reproduction, or distribution of Your modifications, or<br />
+for any such Derivative Works as a whole, provided Your use,<br />
+reproduction, and distribution of the Work otherwise complies with<br />
+the conditions stated in this License.<br />
+<br />
+5. Submission of Contributions. Unless You explicitly state otherwise,<br />
+any Contribution intentionally submitted for inclusion in the Work<br />
+by You to the Licensor shall be under the terms and conditions of<br />
+this License, without any additional terms or conditions.<br />
+Notwithstanding the above, nothing herein shall supersede or modify<br />
+the terms of any separate license agreement you may have executed<br />
+with Licensor regarding such Contributions.<br />
+<br />
+6. Trademarks. This License does not grant permission to use the trade<br />
+names, trademarks, service marks, or product names of the Licensor,<br />
+except as required for reasonable and customary use in describing the<br />
+origin of the Work and reproducing the content of the NOTICE file.<br />
+<br />
+7. Disclaimer of Warranty. Unless required by applicable law or<br />
+agreed to in writing, Licensor provides the Work (and each<br />
+Contributor provides its Contributions) on an &quot;AS IS&quot; BASIS,<br />
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or<br />
+implied, including, without limitation, any warranties or conditions<br />
+of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A<br />
+PARTICULAR PURPOSE. You are solely responsible for determining the<br />
+appropriateness of using or redistributing the Work and assume any<br />
+risks associated with Your exercise of permissions under this License.<br />
+<br />
+8. Limitation of Liability. In no event and under no legal theory,<br />
+whether in tort (including negligence), contract, or otherwise,<br />
+unless required by applicable law (such as deliberate and grossly<br />
+negligent acts) or agreed to in writing, shall any Contributor be<br />
+liable to You for damages, including any direct, indirect, special,<br />
+incidental, or consequential damages of any character arising as a<br />
+result of this License or out of the use or inability to use the<br />
+Work (including but not limited to damages for loss of goodwill,<br />
+work stoppage, computer failure or malfunction, or any and all<br />
+other commercial damages or losses), even if such Contributor<br />
+has been advised of the possibility of such damages.<br />
+<br />
+9. Accepting Warranty or Additional Liability. While redistributing<br />
+the Work or Derivative Works thereof, You may choose to offer,<br />
+and charge a fee for, acceptance of support, warranty, indemnity,<br />
+or other liability obligations and/or rights consistent with this<br />
+License. However, in accepting such obligations, You may act only<br />
+on Your own behalf and on Your sole responsibility, not on behalf<br />
+of any other Contributor, and only if You agree to indemnify,<br />
+defend, and hold each Contributor harmless for any liability<br />
+incurred by, or claims asserted against, such Contributor by reason<br />
+of your accepting any such warranty or additional liability.<br />
+<br />
+END OF TERMS AND CONDITIONS<br />
+<br />
+APPENDIX: How to apply the Apache License to your work.<br />
+<br />
+To apply the Apache License to your work, attach the following<br />
+boilerplate notice, with the fields enclosed by brackets &quot;[]&quot;<br />
+replaced with your own identifying information. (Don't include<br />
+the brackets!) &nbsp;The text should be enclosed in the appropriate<br />
+comment syntax for the file format. We also recommend that a<br />
+file or class name and description of purpose be included on the<br />
+same &quot;printed page&quot; as the copyright notice for easier<br />
+identification within third-party archives.<br />
+<br />
+Copyright [yyyy] [name of copyright owner]<br />
+<br />
+Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);<br />
+you may not use this file except in compliance with the License.<br />
+You may obtain a copy of the License at<br />
+<br />
+&nbsp;http://www.apache.org/licenses/LICENSE-2.0<br />
+<br />
+Unless required by applicable law or agreed to in writing, software<br />
+distributed under the License is distributed on an &quot;AS IS&quot; BASIS,<br />
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br />
+See the License for the specific language governing permissions and<br />
+limitations under the License.
+<br />
 <p><a href="#top">Back to top</a></p>
 <br />
 </div>

BIN=BIN
Resources/OpenSans-Regular.ttf


BIN=BIN
Resources/SourceSansPro-Regular.ttf


+ 4 - 4
VLC for iOS.xcodeproj/project.pbxproj

@@ -180,7 +180,6 @@
 		7D9529531732EFCA006F5B40 /* VLCAboutViewController~ipad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7D9529521732EFCA006F5B40 /* VLCAboutViewController~ipad.xib */; };
 		7DA6209B170A0CE500643D11 /* VLCPlaylistTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DA6209A170A0CE500643D11 /* VLCPlaylistTableViewCell.m */; };
 		7DA8B0FB173318E80029698C /* SourceCodePro-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7DA8B0F9173318E80029698C /* SourceCodePro-Regular.ttf */; };
-		7DA8B0FC173318E80029698C /* SourceSansPro-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7DA8B0FA173318E80029698C /* SourceSansPro-Regular.ttf */; };
 		7DADC55F1704FABF001DAC63 /* OBSlider.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DADC55E1704FABF001DAC63 /* OBSlider.m */; };
 		7DB43835176E20CC00F460EE /* VLCHTTPDownloadViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DB43833176E20CC00F460EE /* VLCHTTPDownloadViewController.m */; };
 		7DB43836176E20CC00F460EE /* VLCHTTPDownloadViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7DB43834176E20CC00F460EE /* VLCHTTPDownloadViewController.xib */; };
@@ -189,6 +188,7 @@
 		7DC87AEE17412A1F009DC250 /* VLCLinearProgressIndicator.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DC87AED17412A1F009DC250 /* VLCLinearProgressIndicator.m */; };
 		7DC87AF217413EE3009DC250 /* VLCPlaylistGridView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 7DC87AF117413EE3009DC250 /* VLCPlaylistGridView.xib */; };
 		7DD2A3A7179BFAFE003EB537 /* VLCBugreporter.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DD2A3A6179BFAFE003EB537 /* VLCBugreporter.m */; };
+		7DD2A3A9179C04A7003EB537 /* OpenSans-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7DD2A3A8179C04A6003EB537 /* OpenSans-Regular.ttf */; };
 		7DDABBB71775A3C7003D8937 /* UIDevice+SpeedCategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 7DDABBB61775A3C7003D8937 /* UIDevice+SpeedCategory.m */; };
 		7DDD0429172D98E5005A7B10 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7DDD0428172D98E5005A7B10 /* CFNetwork.framework */; };
 		7DE18629175BA9A5006C0173 /* badgeUnread@2x~ipad.png in Resources */ = {isa = PBXBuildFile; fileRef = 7DE1862B175BA9A5006C0173 /* badgeUnread@2x~ipad.png */; };
@@ -538,7 +538,6 @@
 		7DA62099170A0CE500643D11 /* VLCPlaylistTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VLCPlaylistTableViewCell.h; sourceTree = "<group>"; };
 		7DA6209A170A0CE500643D11 /* VLCPlaylistTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCPlaylistTableViewCell.m; sourceTree = "<group>"; };
 		7DA8B0F9173318E80029698C /* SourceCodePro-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SourceCodePro-Regular.ttf"; sourceTree = "<group>"; };
-		7DA8B0FA173318E80029698C /* SourceSansPro-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "SourceSansPro-Regular.ttf"; sourceTree = "<group>"; };
 		7DADC55D1704FABF001DAC63 /* OBSlider.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OBSlider.h; path = ImportedSources/OBSlider/OBSlider/OBSlider.h; sourceTree = SOURCE_ROOT; };
 		7DADC55E1704FABF001DAC63 /* OBSlider.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = OBSlider.m; path = ImportedSources/OBSlider/OBSlider/OBSlider.m; sourceTree = SOURCE_ROOT; };
 		7DB43832176E20CC00F460EE /* VLCHTTPDownloadViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VLCHTTPDownloadViewController.h; sourceTree = "<group>"; };
@@ -560,6 +559,7 @@
 		7DC87AF117413EE3009DC250 /* VLCPlaylistGridView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = VLCPlaylistGridView.xib; path = ../Resources/VLCPlaylistGridView.xib; sourceTree = "<group>"; };
 		7DD2A3A5179BFAFE003EB537 /* VLCBugreporter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VLCBugreporter.h; sourceTree = "<group>"; };
 		7DD2A3A6179BFAFE003EB537 /* VLCBugreporter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCBugreporter.m; sourceTree = "<group>"; };
+		7DD2A3A8179C04A6003EB537 /* OpenSans-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "OpenSans-Regular.ttf"; sourceTree = "<group>"; };
 		7DDABBB51775A3A7003D8937 /* UIDevice+SpeedCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIDevice+SpeedCategory.h"; sourceTree = "<group>"; };
 		7DDABBB61775A3C7003D8937 /* UIDevice+SpeedCategory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIDevice+SpeedCategory.m"; sourceTree = "<group>"; };
 		7DDD0428172D98E5005A7B10 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
@@ -1315,7 +1315,7 @@
 				A7035BBD174519600057DFA7 /* iTunesArtwork */,
 				7DEB3B5F17647DE30038FC70 /* iTunesArtwork@2x */,
 				7DA8B0F9173318E80029698C /* SourceCodePro-Regular.ttf */,
-				7DA8B0FA173318E80029698C /* SourceSansPro-Regular.ttf */,
+				7DD2A3A8179C04A6003EB537 /* OpenSans-Regular.ttf */,
 				7D5DD5C617590ABF001421E3 /* About Contents.html */,
 				7DEB3B7B1764A4080038FC70 /* menu */,
 				7DBC3B3C1711DD1E00DCF688 /* Icons */,
@@ -1456,7 +1456,6 @@
 				7D33D41617182615008AF0E0 /* VLCMovieViewController~ipad.xib in Resources */,
 				7D9529531732EFCA006F5B40 /* VLCAboutViewController~ipad.xib in Resources */,
 				7DA8B0FB173318E80029698C /* SourceCodePro-Regular.ttf in Resources */,
-				7DA8B0FC173318E80029698C /* SourceSansPro-Regular.ttf in Resources */,
 				7DC87AF217413EE3009DC250 /* VLCPlaylistGridView.xib in Resources */,
 				A7FF9F3E17428C1900999819 /* DeleteButton.png in Resources */,
 				A7FF9F4017428C3800999819 /* DeleteButton@2x.png in Resources */,
@@ -1589,6 +1588,7 @@
 				7D2339B0176DE72E008D223C /* VLCOpenNetworkStreamViewController.xib in Resources */,
 				7DB43836176E20CC00F460EE /* VLCHTTPDownloadViewController.xib in Resources */,
 				A7990064176E9352009E8267 /* libraryBackground.png in Resources */,
+				7DD2A3A9179C04A7003EB537 /* OpenSans-Regular.ttf in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};

+ 1 - 1
patches/0007-freetype-added-a-fake-font-lookup-mechanism-for-iOS-.patch

@@ -38,7 +38,7 @@ index cdc9243..bc0a535 100644
 +
 +    CFURLRef fileURL;
 +    fileURL = CFBundleCopyResourceURL(CFBundleGetMainBundle(), b_monospace ?
-+                                      CFSTR("SourceSansPro-Regular.ttf") : CFSTR("SourceCodePro-Regular.ttf"),
++                                      CFSTR("OpenSans-Regular.ttf") : CFSTR("SourceCodePro-Regular.ttf"),
 +                                      NULL,
 +                                      NULL);
 +    CFStringRef urlString = CFURLCopyFileSystemPath(fileURL, kCFURLPOSIXPathStyle);

+ 2 - 2
patches/0009-libass-fix-text-rendering-on-iOS-by-providing-a-font.patch

@@ -36,7 +36,7 @@ index b32791c..b3fee5f 100644
 +    const char *psz_family = "Arial"; /* Use Arial if we can't find anything more suitable */
 +#else
 +    CFURLRef fileURL;
-+    fileURL = CFBundleCopyResourceURL(CFBundleGetMainBundle(), CFSTR("SourceSansPro-Regular.ttf"),
++    fileURL = CFBundleCopyResourceURL(CFBundleGetMainBundle(), CFSTR("OpenSans-Regular.ttf"),
 +                                      NULL,
 +                                      NULL);
 +    CFStringRef urlString = CFURLCopyFileSystemPath(fileURL, kCFURLPOSIXPathStyle);
@@ -56,7 +56,7 @@ index b32791c..b3fee5f 100644
 +
 +    const char *psz_font = (const char *)strdup(psz_path);
 +    free(psz_path);
-+    const char *psz_family = "Source Sans Pro";
++    const char *psz_family = "Open Sans";
 +#endif
  #else
      const char *psz_font = NULL; /* We don't ship a default font with VLC */