Page 1 of 1

Possible to include fonts in packing?

Posted: Fri Sep 27, 2019 2:13 am
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.

Re: Possible to include fonts in packing?

Posted: Fri Sep 27, 2019 2:22 am
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...

Re: Possible to include fonts in packing?

Posted: Tue Feb 11, 2020 4:09 pm
by ghostyc
Anyone worked out a solution yet?

Re: Possible to include fonts in packing?

Posted: Sat Feb 22, 2020 4:10 pm
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.

Re: Possible to include fonts in packing?

Posted: Sun Nov 03, 2024 3:11 pm
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!

Re: Possible to include fonts in packing?

Posted: Mon Nov 04, 2024 3:20 pm
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.

Re: Possible to include fonts in packing?

Posted: Mon Nov 04, 2024 4:06 pm
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.....

Re: Possible to include fonts in packing?

Posted: Mon Nov 04, 2024 4:13 pm
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.

Re: Possible to include fonts in packing?

Posted: Sun Nov 10, 2024 2:03 pm
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).

Re: Possible to include fonts in packing?

Posted: Wed Nov 13, 2024 7:39 am
by Enigma
Can you send us non packed sample, with all required files, at support@enigmaprotector.com?