Can I replace an image with a custom font?
-
09-10-2019 - |
سؤال
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
المحلول
This is possible (with certain restrictions) using @font-face
. For a great introduction, read this.
نصائح أخرى
This seems to be a very good choice if you don't mind that the user cannot select and copy your text.
لا تنتمي إلى StackOverflow