I want to extract font files (ttf, otf etc) from my pdf files and so i installed ghostscript on my windows 11 using .exe file. after that i took the extractFonts.ps file from toolbin folder and pasted in on my personal folder on d drive and then when i am running the below command its not giving any error however no font is created anywhere. can anyone please help.
here is the command i am running on my cmd and its working correctly but not showing any error nor any response:
gswin64c -q –permit-file-all=”D:*” -dNODISPLAY D:\ghostscript\extractFonts.ps -c “(D:\ghostscript\test.pdf) extractFonts quit”
I am expecting that this code would extract the fonts from test.pdf file and paste it on same folder where the pdf is existing, however no font file is creating
The extractfonts program does not work with current releases of Ghostscript and has been removed from the distribution. See commit git.ghostscript.com/…
Another Artifex supported option is MuTool sadly no longer runs on this newest Windows 32bit so the 1.20 command was
mutool extract input2.pdf 6
and outputextracting font-0006.ttf
how did i know it was 6 is because that came from 8 and 8 came from 3 and 3 was listed in infomutool info input2.pdf
result included an output ofFonts (5): 1 (39 0 R): Type0 'AAAAAA+SegoeUI-Bold' Identity-H (3 0 R)