强制使用在线webfont而不是安装的webfont [英] Force use of online webfont instead of installed webfont

查看:113
本文介绍了强制使用在线webfont而不是安装的webfont的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用的字体的下载版本与Google提供的字体不同,我想知道是否可以强制用户使用Google的版本。


<根据这个问题的评论,如果您使用 @ font-face 来将您的自定义字体嵌入到您的网页中,它将使用您的自定义字体,而不是您在计算机上安装的自定义字体。



我的解决方案在创建自定义字体时确保更改其名称并将其设置为不等于到它在计算机上安装的那个。



希望我很清楚,我解决了您的问题:)

The downloaded version of a font that I would like to use is different to the one that Google provides, and I was wondering if it was possible to force the user into using Google's version.

解决方案

According to this question's comment, if you use @font-face to embed your custom font onto your webpage, it will use your custom font not the one you installed on the computer.

My solution, while creating the custom font make sure to change its name and set it not equal to the one with which it's installed on the computer.

Hope I am clear and I solved your problem :)

这篇关于强制使用在线webfont而不是安装的webfont的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆