extracting fonts from a .exe file
Teresa e Junior
teresaejunior at gmail.com
Sat Dec 23 05:51:55 UTC 2017
Em 23/12/2017 03:21, Stuart McGraw escreveu:
> I am trying to automate my installation of Ubuntu and ran into a
> problem extracting some ttf fonts from a .exe file.
>
> When I used the file-roller command in a terminal window it worked
> fine and extracted the fonts without starting a GUI. But when I
> run it from a script with no X session active:
>
> $ file-roller -e . /usr/local/src/dist/ttf31e.exe
> Unable to init server: Could not connect: Connection refused
> ** (file-roller:32627): CRITICAL **: Failed to parse arguments: Cannot open display:
>
> Is there some command line program available from the usual Ubuntu
> repositories that will extract fonts from a .exe file?
> Thanks as always...
If I'm not mistaken, EXE files are ZIP files, so `unzip
/usr/local/src/dist/ttf31e.exe` should work. It it doesn't, the command
`unar` can guess whichever format and extract it. `sudo apt install
unar` if you don't have it installed.
More information about the ubuntu-users
mailing list