Hi Sarthak I suggest using ftgrid or ftview executables directly without xvfbRunAndScreenShot. They have built-in capability to save PNG screenshots by pressing [P] or using -k[blah-blah-blah]Pq switch. Please compile freetype-demos in a parallel folder and try it.
Best, Alexei On Thu, Apr 8, 2021 at 8:25 AM sarthak bhardwaj <1sarthakbhard...@gmail.com> wrote: > > hello mentors, > I had found the same problem as Aman is facing some days before actually, I > forgot to intimate about this thing earlier, > inside test-font.sh, there is a function written xvfbRunAndScreenShot, it > will show error and only blank png's will be generated, as far as there is no > ../freetype2-demos/bin/ftgrid directory found in our demos program, and > there is no branch in demos for GSoC's Gregs works. It will only work when > ftgrid file will get merge to the demos repo. > I have found the solution and is running that way but if it is working > without the ftgrid file please let me know the way. > > thanks, -- Alexei A. Podtelezhnikov, PhD