Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : entry point ScriptIsComplex... in GDI32.dll Windows 7 #136

Closed
McAsulys opened this issue Aug 27, 2021 · 9 comments
Closed

Error : entry point ScriptIsComplex... in GDI32.dll Windows 7 #136

McAsulys opened this issue Aug 27, 2021 · 9 comments

Comments

@McAsulys
Copy link

Hi, i try to install viking on my Windows 7 and got issue with an entry point ScriptIsComplex that coud not be located the GDI32 DLL. I try update it manually but my windows crash at startup. So i guess windows 7 is not abable to run Vinking. Is theyr way to make it run on win7 ?

That by advance.

@rnorris
Copy link
Collaborator

rnorris commented Sep 11, 2021

This seems to be this problem:

https://docs.microsoft.com/en-us/windows/win32/api/usp10/nf-usp10-scriptiscomplex#remarks

Unfortunately I don't readily have access to a Windows 7 64bit system, so I can't test my provisional changes to the build. However I've made preview release on dropbox here:

https://www.dropbox.com/s/5hshac2hxnmg6le/viking-win64-1.9.0.0.exe?dl=0

So it would be great if you @McAsulys could confirm if this does indeed fix it.

@McAsulys
Copy link
Author

McAsulys commented Sep 12, 2021 via email

@rnorris
Copy link
Collaborator

rnorris commented Sep 13, 2021

It's not Viking itself, but one (or more) of the dependencies (I haven't spent any time trying to identify which ones) used by Viking.

However it seems it has a knock effort to the build of Viking on Windows.

I'll see if I can get hold of a Windows 7 64 bit system, but since Windows 7 is of course very much End of Life - I ultimately won't be putting too much effort into fixing it.

@McAsulys
Copy link
Author

McAsulys commented Sep 14, 2021 via email

@McAsulys
Copy link
Author

McAsulys commented Sep 14, 2021 via email

@rnorris rnorris changed the title Error : entry point ScriptComplex... in GDI32.dll Windows 7 Error : entry point ScriptIsComplex... in GDI32.dll Windows 7 Sep 17, 2021
@rnorris
Copy link
Collaborator

rnorris commented Sep 17, 2021

Update: I've discovered the component that is using ScriptIsComplex - which is libpangowin32-1.0-0.dll

The DLL used in Viking is prebuilt from
https://build.opensuse.org/package/view_file/windows:mingw:win64/mingw64-pango/

Which is using a 6 year old release - 1.38, whereas the latest upstream is 1.49 see https://pango.gnome.org/
I'm not even sure where to raise the issue.

I may be able to build libpangowin32-1.0-0.dll myself and package that with Viking.

@McAsulys
Copy link
Author

McAsulys commented Sep 17, 2021 via email

@rnorris
Copy link
Collaborator

rnorris commented Sep 19, 2021

Seems like pango since version v1.42.2 has carried a fix for this issue.
https://bugzilla.gnome.org/show_bug.cgi?id=795045#c0

So I've backported the fix into the 1.38.1 version and included this libpangowin32-1.0-0.dll into the Viking build.
This is still OK under Windows 10.

An updated preview release is on dropbox - to confirm if it still works under Windows 7:

https://www.dropbox.com/s/dol48wa2n2z2nt4/viking-win64-1.9.0.0.exe?dl=0

@rnorris
Copy link
Collaborator

rnorris commented Sep 28, 2021

I have created a Windows 7 64 VM and confirmed the above fix does indeed work.

rnorris added a commit that referenced this issue Sep 28, 2021
Create own patched build of libpango to address out of date OpenSUSE mingw64-libpango package.

OpenSUSE mingw64-libpango package is version 1.38.1, whereas this issue is fixed upstream in version 1.42.2
@rnorris rnorris closed this as completed Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants