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

otfinfo.exe missing dependencies #2

Open
KreativeKrise opened this issue Jul 21, 2023 · 6 comments
Open

otfinfo.exe missing dependencies #2

KreativeKrise opened this issue Jul 21, 2023 · 6 comments

Comments

@KreativeKrise
Copy link

The otfinfo.exe does not run, because there are missing dependencies:

  • MiKTeX230500-app.dll
  • MiKTeX230500-core.dll
  • MiKTeX230500-utf8wrap.dll
  • MiKTeX230500-util.dll
@fishoak154
Copy link

Hi, I fixed this with help! You can take similar .dll files from your version of MiKTeX and rename them to this, like MiKTeX230400-app.dll becomes MiKTeX230500-app.dll, and place them into the folder with the powershell and .exe. Then run the liberator and this should work. Make sure your file folders aren't hidden.

@ericgl
Copy link

ericgl commented Mar 17, 2024

For those looking for the dependency files:
Download the [MiKTeX installer] (~138 MB) from https://miktex.org/download
Open it with 7-Zip
Find the file "miktex-runtime-bin-x64-2.9.tar.lzma"
Go inside \miktex-runtime-bin-x64-2.9.tar\texmf\miktex\bin\x64
Here's you'll see all the MiKTeX240100-xxx.dll files.
Note that otfinfo.exe requires more dependencies, which you'll find in the other lzma.tar files inside the package.

@Gonazar
Copy link

Gonazar commented Apr 4, 2024

I tried the above solution but still hit problems. Note I had to install MiKTeX, I wasn't able to just "open it with 7-Zip"
I did find the dlls under: User\AppData\Local\Programs\MiKTeX\miktex\bin\x64

After that I got a pretty garbled error message:
"The procedure entry point ?WideCharToUTF8@StringUtil@Util@MiKTeX@@sa?AV?$basic_string@DU?$char_traits@Dstd@@v?$allocator@D@2@@std@@PEB_W@Z could not be located in the dynamic link library C:\Users\User\Downloads\adobe-fonts-liberator-main\otfinfo.exe"

Doesn't seem to be another dependency?

@Fresh79300
Copy link

same issue occured

I tried the above solution but still hit problems. Note I had to install MiKTeX, I wasn't able to just "open it with 7-Zip" I did find the dlls under: User\AppData\Local\Programs\MiKTeX\miktex\bin\x64

After that I got a pretty garbled error message: "The procedure entry point ?WideCharToUTF8@StringUtil@Util@MiKTeX@@sa?AV?$basic_string@DU?$char_traits@Dstd@@v?$allocator@D@2@@std@@PEB_W@Z could not be located in the dynamic link library C:\Users\User\Downloads\adobe-fonts-liberator-main\otfinfo.exe"

Doesn't seem to be another dependency?

@fr0steh
Copy link

fr0steh commented Jul 25, 2024

For those looking for the dependency files: Download the [MiKTeX installer] (~138 MB) from https://miktex.org/download Open it with 7-Zip Find the file "miktex-runtime-bin-x64-2.9.tar.lzma" Go inside \miktex-runtime-bin-x64-2.9.tar\texmf\miktex\bin\x64 Here's you'll see all the MiKTeX240100-xxx.dll files. Note that otfinfo.exe requires more dependencies, which you'll find in the other lzma.tar files inside the package.

For anyone running into issues, install MiKTeX from this post (choose Install MiKTeX only for me option during install),
and then you'll want to change a line in the adobe-fonts-liberator.ps1 script:

From:
$binary = Join-Path -Path $PSScriptRoot -ChildPath 'otfinfo.exe'

To:
$binary = "C:\Users\$Env:UserName\AppData\Local\Programs\MiKTeX\miktex\bin\x64\otfinfo.exe"

This way, all the needed files (otfinfo.exe) + dependencies .dll files are already in your _C:\Users$Env:UserName\AppData\Local\Programs\MiKTeX\miktex\bin\x64_ folder from the MiKTeX install, and the script will use it from there

@gibson-bot
Copy link

Was so excited to use this and it just does not work at all.

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

7 participants