seanpaultaylor há 12 anos atrás
pai
commit
15555a3221
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      tools/encoder/src/TTFFontEncoder.cpp

+ 2 - 2
tools/encoder/src/TTFFontEncoder.cpp

@@ -310,8 +310,8 @@ int writeFont(const char* inFilePath, const char* outFilePath, unsigned int font
     }
     }
     
     
     // File header and version.
     // File header and version.
-    FILE *gpbFp = fopen(outFilePath, "wb");
-    char fileHeader[9]     = {'«', 'G', 'P', 'B', '»', '\r', '\n', '\x1A', '\n'};
+    FILE *gpbFp = fopen(outFilePath, "wb");    
+    char fileHeader[9]     = {'\xAB', 'G', 'P', 'B', '\xBB', '\r', '\n', '\x1A', '\n'};
     fwrite(fileHeader, sizeof(char), 9, gpbFp);
     fwrite(fileHeader, sizeof(char), 9, gpbFp);
     fwrite(gameplay::GPB_VERSION, sizeof(char), 2, gpbFp);
     fwrite(gameplay::GPB_VERSION, sizeof(char), 2, gpbFp);