[RESOLVED] Are WOFF fonts supported in QWebView in QT 5.1
My fonts are not displaying correctly and I think that is may be that fact that they are WOFF fonts from google. Does anyone know if WOFF fonts are supported out of the box in QT 5.1 or do I need to do anything to enable them.
Also how can I inspect the QWebView in debug mode to see what fonts and files have been downloaded ?
It should actually, it made it in between the alpha and the beta of 5.1:
You can use the web inspector and check out the resources tab, then once you located the font, right click on it and pick "reveal in network panel" which should show the mimetype.
To get the inspector available from the context menu, you can just set the DeveloperExtrasEnabled attribute:
Thanks for the info. I was using a custom QWebPage class, once I removed that the WOFF fonts rendered correctly.
Thanks for the inspector heads up as well, that has made things a lot simpler.