Can I replace an image with a custom font?
-
09-10-2019 - |
Question
On my website I'm currently using image files to represent custom fonts. I'm wondering if I can replace this with actual text but with a font that may not be installed on the viewer's system. How can I achieve this? Thanks
Solution
This is possible (with certain restrictions) using @font-face
. For a great introduction, read this.
OTHER TIPS
This seems to be a very good choice if you don't mind that the user cannot select and copy your text.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow