在ASP.NET中复制客户端上的字体 [英] Copy font on client in ASP.NET

查看:90
本文介绍了在ASP.NET中复制客户端上的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!



我如何在ASP.Net C#中将我的网络应用程序中的字体复制到客户端?



我尝试了什么:



如何在ASP.Net C#中将我的Web应用程序中的字体复制到客户端?

Hi !

How I can copy font from my web application to client in ASP.Net C# ?

What I have tried:

How I can copy font from my web application to client in ASP.Net C# ?

推荐答案

你不能。客户端系统禁止在浏览器中运行的任何代码。



如果要在客户端上安装字体,则必须是打包安装,由客户下载并由用户安装在该计算机上。



现在,如果您的网站使用此字体,您可以在您的网站中嵌入该字体,在CSS中使用它。



开始阅读这些 [ ^ ]。
You can't. The client system is off-limits to any code running in a browser.

If you want to install a font on a client, it has to be a packaged installation and downloaded by the client and installed by the user on that machine.

Now, if this font is used by your website, you can just embed the font in your site and use it in CSS.

Start reading these[^].


这篇关于在ASP.NET中复制客户端上的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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