shithub: freetype+ttf2subf

Download patch

ref: 5116f129633d05c174504fb3b2586b7f92cee17f
parent: fed5521016227bf8cc4475f66450a9963568d162
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Tue Aug 17 18:08:45 EDT 2021

* builds/windows/ftsystem.c (FT_Stream_Open): Support UNICODE compilation.

git/fs: mount .git/fs: mount/attach disallowed
--- a/builds/windows/ftsystem.c
+++ b/builds/windows/ftsystem.c
@@ -217,8 +217,8 @@
       return FT_THROW( Invalid_Stream_Handle );
 
     /* open the file */
-    file = CreateFileA( filepathname, GENERIC_READ, FILE_SHARE_READ, NULL,
-                        OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0 );
+    file = CreateFile( filepathname, GENERIC_READ, FILE_SHARE_READ, NULL,
+                       OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0 );
     if ( file == INVALID_HANDLE_VALUE )
     {
       FT_ERROR(( "FT_Stream_Open:" ));