I am using the ofVideoGrabber to grab the image of an “Unibrain fire-i” camera.
For testings I use the little videoGrabberExample and want to extend this with font. For this I am using the ofTrueTypeFont to draw my font.
There are two different scenarios. For one of them it works. For the other one the grabber did not show the image.
... vidGrabber.initGrabber(camWidth,camHeight, false); ttf.loadFont("fonts/verdana.ttf", 10, true, true); ...
- did not work!!!
... ttf.loadFont("fonts/verdana.ttf", 10, true, true); vidGrabber.initGrabber(camWidth,camHeight, false); ...
So if I first load the font and then init the grabber, it did not work. But I can not explain this to me.
I hope that someone else know why this happens!!!
Maybe someone else can test it.
Btw: With an usb cam there is no Problem, only with the firewire cam!