shithub: freetype+ttf2subf

Download patch

ref: 15eab363402c826d9ed0f300eb1020ee9b2ad379
parent: 04e7c7447b95cf260b041abedf8439a5e7a73117
author: Werner Lemberg <[email protected]>
date: Tue Jun 7 06:36:27 EDT 2016

[autofit] Fix compilation with VS2016 (#48126).

This compiler doesn't recognize the end-of-comment sequence `*/' if
it immediately follows non-ASCII characters.

* src/autofit/afscript.h: Ensure whitespace before `*/'.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2016-06-07  Werner Lemberg  <[email protected]>
+
+	[autofit] Fix compilation with VS2016 (#48126).
+
+	This compiler doesn't recognize the end-of-comment sequence `*/' if
+	it immediately follows non-ASCII characters.
+
+	* src/autofit/afscript.h: Ensure whitespace before `*/'.
+
 2016-06-04  Werner Lemberg  <[email protected]>
 
 	Fix a test for named instances (#48122).
--- a/src/autofit/afscript.h
+++ b/src/autofit/afscript.h
@@ -47,7 +47,7 @@
           "Bengali",
           HB_SCRIPT_BENGALI,
           HINTING_TOP_TO_BOTTOM,
-          "\xE0\xA7\xA6 \xE0\xA7\xAA" ) /* ০ ৪*/
+          "\xE0\xA7\xA6 \xE0\xA7\xAA" ) /* ০ ৪ */
 
   SCRIPT( cyrl, CYRL,
           "Cyrillic",
@@ -89,7 +89,7 @@
           "Gurmukhi",
           HB_SCRIPT_GURMUKHI,
           HINTING_TOP_TO_BOTTOM,
-          "\xE0\xA8\xA0 \xE0\xA8\xB0 \xE0\xA9\xA6" ) /* ਠ ਰ ੦*/
+          "\xE0\xA8\xA0 \xE0\xA8\xB0 \xE0\xA9\xA6" ) /* ਠ ਰ ੦ */
 
   SCRIPT( hebr, HEBR,
           "Hebrew",