Module: wine
Branch: master
Commit: 0c5d0f80bc739bfd14415f9d64570db06da0455b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0c5d0f80bc739bfd14415f9d6…
Author: Aric Stewart <aric(a)codeweavers.com>
Date: Thu Oct 7 06:46:09 2010 -0500
usp10: When checking font for shaping the font needs at least 1 of the features but does not need all.
---
dlls/usp10/shape.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c
index a2cbd2a..f1864fa 100644
--- a/dlls/usp10/shape.c
+++ b/dlls/usp10/shape.c
@@ -1348,13 +1348,15 @@ HRESULT SHAPE_CheckFontForRequiredFeatures(HDC hdc, ScriptCache *psc, SCRIPT_ANA
if (!psc->GSUB_Table)
psc->GSUB_Table = load_gsub_table(hdc);
+ /* we need to have at least one of the required features */
i = 0;
while (ShapingData[psa->eScript].requiredFeatures[i])
{
feature = load_GSUB_feature(hdc, psa, psc, ShapingData[psa->eScript].requiredFeatures[i]);
- if (!feature)
- return USP_E_SCRIPT_NOT_IN_FONT;
+ if (feature)
+ return S_OK;
i++;
}
- return S_OK;
+
+ return USP_E_SCRIPT_NOT_IN_FONT;
}
Module: wine
Branch: master
Commit: e068971075d4780a23e21fb018cf4e54ed43a32b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e068971075d4780a23e21fb01…
Author: Louis Lenders <xerox_xerox2000(a)yahoo.co.uk>
Date: Wed Oct 6 23:46:05 2010 +0200
fusion: Add version resource.
---
dlls/fusion/Makefile.in | 2 ++
dlls/fusion/version.rc | 26 ++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/dlls/fusion/Makefile.in b/dlls/fusion/Makefile.in
index 5998813..63b1b73 100644
--- a/dlls/fusion/Makefile.in
+++ b/dlls/fusion/Makefile.in
@@ -9,4 +9,6 @@ C_SRCS = \
fusion.c \
fusion_main.c
+RC_SRCS = version.rc
+
@MAKE_DLL_RULES@
diff --git a/dlls/fusion/version.rc b/dlls/fusion/version.rc
new file mode 100644
index 0000000..06b7e1c
--- /dev/null
+++ b/dlls/fusion/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2010 Louis Lenders
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine assembly manager"
+#define WINE_FILENAME_STR "fusion.dll"
+#define WINE_FILEVERSION 2,0,50727,4016
+#define WINE_FILEVERSION_STR "2.0.50727.4016"
+#define WINE_PRODUCTVERSION 2,0,50727,4016
+#define WINE_PRODUCTVERSION_STR "2.0.50727.4016"
+
+#include "wine/wine_common_ver.rc"