about fonts

I'm developing a website. When I write font-family: system-ui,PingFang SC in css, I understand that there is no risk of infringement. Can you confirm it for me? At the same time, what I'm not sure about is if I take screenshots on my website, are there any risks in terms of copyright infringement? Looking forward to your reply

What I mean is if I take a screenshot of some content on the website and display it on the website as an img, is there any risk?

about fonts
 
 
Q