LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How destroy a font build by 'CreateMetaFont()' ?

I 'm working on a generic "lib" (Labwindow/CVI), in this "lib", I "create" many metafonts.

When a font become useless, I would like to "destroy" the created metafont.

How destroy a font build by 'CreateMetaFont()' ?

Thanks for your help.
0 Kudos
Message 1 of 3
(2,669 Views)
As far as I can see, you can't destroy them.

--
Martin
--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 3
(2,669 Views)
Hi,

There is actually no direct way of destroying a metafont, the run-time engine mantains a table of the the created metafonts and the clean-up is done when the CVIRTE is unloaded.

However you can change the font parameters on the fly by calling CreateMetafont twice with the same metafont name. This way you can reuse the space allready alocated.

Hope that helps.

Regards,

Juan Carlos
N.I.
Message 3 of 3
(2,669 Views)