Question Embedding fonts in Access DB (1 Viewer)

alvingenius

IT Specialist
Local time
Today, 16:14
Joined
Jul 10, 2016
Messages
169
Hello
Good day to all,

i'm using a custom fonts from windows in Forms and Reports and i wanna embed them to access front end

instead of making a package and attach fonts files , i want it to go through access it self, like creating a table with fonts and attach fonts on the table and with a code to copy this fonts to system fonts

and i saw this post in UtterAccess that have my same question

https://www.utteraccess.com/forum/index.php?showtopic=2050914&view=findpost&p=2697549

and i'm quoting this post
You can do what you ask. I do it by storing the font(s) in a table as a BLOB. This makes deployment very simple

How it works:

When the Application opens it runs VBA code to save the font from the table to the hard drive and registers it in Windows so it can be used.

When the application closes it removes the font.

I have created an example that prints barcodes. It stores the font in the database. It has the code you need to do what you desire.

See the example Print Barcodes on an Access report

I have run this with Access 2003/2007/2010/2013/2016 (full and runtime) on Windows 7/8.x/10/2008/2012

but i don't know how to customize the code based on my custom fonts
 

isladogs

MVP / VIP
Local time
Today, 14:14
Joined
Jan 14, 2017
Messages
18,186
Why not ask the question at UA? Perhaps the original author will respond.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 07:14
Joined
Oct 29, 2018
Messages
21,357
Hi. Not sure you would need to customize the code. It says to just store your font in the table to use it.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 10:14
Joined
Feb 19, 2002
Messages
42,970
Just FYI, make sure that the fonts are not proprietary and that you don't need to pay for copies for each PC.
 

Users who are viewing this thread

Top Bottom