Page 1 of 1
"Failed to extract font properties" when start Faceswap.
Posted: Sun Jul 25, 2021 6:43 pm
by water_35
When I run Faceswap via:
, appear these messages below:
Failed to extract font properties from /usr/share/fonts/google-noto-emoji/NotoColorEmoji.ttf: In FT2Font: Can not load face. Unknown file format.
Failed to extract font properties from /usr/share/fonts/cantarell/Cantarell-VF.otf: In FT2Font: Can not load face (error code 0x8e)
I confirmed the two files are exist and update:
Code: Select all
/usr/share/fonts/google-noto-emoji/NotoColorEmoji.ttf
Code: Select all
/usr/share/fonts/cantarell/Cantarell-VF.otf
But it looks like not to affect Faceswap to use correctly.
Re: "Failed to extract font properties" when start Faceswap.
Posted: Mon Jul 26, 2021 8:54 am
by torzdf
This looks like a corrupt font file to me.
This isn't specific to faceswap, so google might give you the best idea for a solution:
https://stackoverflow.com/questions/486 ... -load-face
Re: "Failed to extract font properties" when start Faceswap.
Posted: Wed Aug 25, 2021 9:39 am
by zzukaba
Please,I'm sorry to bother you, but can you help me?
I follow the link you sent and deleted all files and folder in:/Users/YOUR_USER/.matplotlib
and then uninstalling and reinstalling 'matplotlib' from my environment in Anaconda Navigator.
But there are still problems:
(faceswap) D:\python\Lib\faceswap>python faceswap.py gui
Setting Faceswap backend to NVIDIA
08/25/2021 17:01:55 INFO Log level set to: INFO
08/25/2021 17:01:57 INFO Failed to extract font properties from C:\Windows\Fonts\mstmc.ttf: In FT2Font: Can not load face. Unknown file format.
08/25/2021 17:01:57 INFO generated new fontManager
08/25/2021 17:01:58 INFO Failed to extract font properties from C:\Windows\Fonts\mstmc.ttf: In FT2Font: Can not load face. Unknown file format.
Maybe because I am not a mac system?
Re: "Failed to extract font properties" when start Faceswap.
Posted: Sat Sep 04, 2021 8:56 am
by torzdf
Honestly, I don't know why this happens. However, it is just an info message generated by Matplotlib when scanning your font files, that it can't process a specific font. I don't believe it impacts the workings of Faceswap in any way. Whilst it is annoying to be nagged every time you launch faceswap, I think you can safely just ignore it.
Re: "Failed to extract font properties" when start Faceswap.
Posted: Fri Sep 17, 2021 6:23 am
by zzukaba
torzdf wrote: ↑Sat Sep 04, 2021 8:56 am
Honestly, I don't know why this happens. However, it is just an info message generated by Matplotlib when scanning your font files, that it can't process a specific font. I don't believe it impacts the workings of Faceswap in any way. Whilst it is annoying to be nagged every time you launch faceswap, I think you can safely just ignore it.
Very much appreciate it