Loading font into memory.
Hi all,
I have a scenario where i have to load the font(ttf files) into the memory and apply it to all the selected textframe in the active document. So for loading the font i am using 'AddFontResourceEx()' api.
The problem is this, when i used this api it will not load the font at the same time, it will take some time to load the font. But the plugin will try to apply that font to the text frame. Sometimes font will apply somtimes not.
I am unable to understand its behaviour. Can someone tell me why its happening? Also is there any api through which we can refresh font list?
Thanks in advance....
