我为 gridview
提供了一种并非在所有系统中都存在的字体。是否有一种方法可以将字体放入元素文件夹中,让所有用户都可以看到它而无需使用它?
最佳答案
一种选择是使用 @font-face
CSS 属性来指定自定义字体:
http://return-true.com/2010/05/css-3-custom-fonts-using-font-face/
@font-face {
font-family: myCustomFont;
src: url(path/to/my/font);
}
.gridViewClass
{
font-family: myCustomFont;
}
关于c# - 为 gridview 提供一种在所有系统中都不存在的字体,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9276069/