Possible to include fonts in packing?

Issues related to Enigma Virtual Box
Post Reply
ghostyc
Posts: 6
Joined: Fri Sep 27, 2019 2:07 am

Possible to include fonts in packing?

Post by ghostyc »

I have successfully packed my application, which runs without any problem, apart from an option that requires a font.
Without installing the font, it looks like this.

Code: Select all

https://prnt.sc/pbihb5
I DO have the font file, tried to pack it in the same folder under the exe, or pack it in the %windir%\fonts, neither worked. I have even tried to add registry entries.

Code: Select all

https://prnt.sc/pbihow

Code: Select all

https://prnt.sc/pbihxn
If I install the FONT to the target machine, then it should look like this

Code: Select all

https://prnt.sc/pbii77

I wonder if there is a way to INCLUDE this font, so that I don't have to have a spererate app to load the font.

Current file can be obtained from

Code: Select all

https://casperyc.weebly.com/uploads/1/2/2/0/122062411/fx-85gt.exe
Thanks.
ghostyc
Posts: 6
Joined: Fri Sep 27, 2019 2:07 am

Re: Possible to include fonts in packing?

Post by ghostyc »

What I am also sure is that if I DO NOT install the font, but "provide" the registry with the path, it should also work.

Using a standard registry entry like,

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"ES03 Regular"= ES03.ttf     (or the correct path)

So I tried,

Image

But it's just not working ....

I tried:

Code: Select all

%DEFAULT FOLDER%\ES03.TTF
%WINDOWS FOLDER%\fonts\ES03.TTF
and lots of variation...
ghostyc
Posts: 6
Joined: Fri Sep 27, 2019 2:07 am

Re: Possible to include fonts in packing?

Post by ghostyc »

Anyone worked out a solution yet?
Ilya
Posts: 82
Joined: Tue Oct 07, 2014 2:31 am

Re: Possible to include fonts in packing?

Post by Ilya »

ghostyc wrote: Fri Sep 27, 2019 2:22 am What I am also sure is that if I DO NOT install the font, but "provide" the registry with the path, it should also work.

Using a standard registry entry like,

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"ES03 Regular"= ES03.ttf     (or the correct path)

So I tried,

Image

But it's just not working ....

I tried:

Code: Select all

%DEFAULT FOLDER%\ES03.TTF
%WINDOWS FOLDER%\fonts\ES03.TTF
and lots of variation...
Of course this will not work! Why did you make such an assumption? You should read documentation. This is your application design problem, this does not apply to the enigma vb.
You should use PrivateFontCollection class. This is correct way.
ghostyc
Posts: 6
Joined: Fri Sep 27, 2019 2:07 am

Re: Possible to include fonts in packing?

Post by ghostyc »

Ilya wrote: Sat Feb 22, 2020 4:10 pm
ghostyc wrote: Fri Sep 27, 2019 2:22 am What I am also sure is that if I DO NOT install the font, but "provide" the registry with the path, it should also work.

Using a standard registry entry like,

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"ES03 Regular"= ES03.ttf     (or the correct path)

So I tried,

Image

But it's just not working ....

I tried:

Code: Select all

%DEFAULT FOLDER%\ES03.TTF
%WINDOWS FOLDER%\fonts\ES03.TTF
and lots of variation...
Of course this will not work! Why did you make such an assumption? You should read documentation. This is your application design problem, this does not apply to the enigma vb.
You should use PrivateFontCollection class. This is correct way.
Can you elaborate this? Or give an example?

It does not have a Chinese help manual, so a it hard to read and search the Help file.

Thanks!
Enigma
Site Admin
Posts: 3019
Joined: Wed Aug 20, 2008 2:24 pm

Re: Possible to include fonts in packing?

Post by Enigma »

Guys, resent version of Enigma Virtual Box supports packaging of TTF files as well. Just include files in necessary virtual folder, nothing more.
ghostyc
Posts: 6
Joined: Fri Sep 27, 2019 2:07 am

Re: Possible to include fonts in packing?

Post by ghostyc »

Enigma wrote: Mon Nov 04, 2024 3:20 pm Guys, resent version of Enigma Virtual Box supports packaging of TTF files as well. Just include files in necessary virtual folder, nothing more.
I am using the demo version of the lastest Protector (7.4 I think), tried to add in the ttf file in the same folder, or

Code: Select all

%DEFAULT FOLDER%\font_file.ttf
%windows folder%\Fonts\font_file.ttf
Added reg using

Code: Select all

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"font file name (TrueType)"="font_file.ttf"
Still not working.....
Enigma
Site Admin
Posts: 3019
Joined: Wed Aug 20, 2008 2:24 pm

Re: Possible to include fonts in packing?

Post by Enigma »

This thread is for Enigma Virtual Box, not for Enigma Protector.
If you need to test this feature for Enigma Protector, please contract at support@enigmaprotector.com with reference to this thread, we will provide you recent DEMO versions for testing.
ghostyc
Posts: 6
Joined: Fri Sep 27, 2019 2:07 am

Re: Possible to include fonts in packing?

Post by ghostyc »

Tested with the lastest Enigma Virtual Box FREEWARE (20241106)

Still not working.

Did not see anything new for dealing with fonts (compared with versions pre 2019).
Enigma
Site Admin
Posts: 3019
Joined: Wed Aug 20, 2008 2:24 pm

Re: Possible to include fonts in packing?

Post by Enigma »

Can you send us non packed sample, with all required files, at support@enigmaprotector.com?
Post Reply