gpt4 book ai didi

fonts - 为 Segoe UI 字体使用 @font-face

转载 作者:行者123 更新时间:2023-12-03 12:07:35 29 4
gpt4 key购买 nike

关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。












想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。

7年前关闭。




Improve this question




我现在有一个小时的谷歌,我不知道是否可以使用 Segoe UI 字体使用 @font-face。有没有人知道字体的许可证是否允许我这样做?

最佳答案

正如其他答案所指出的, Segoe UI 不可用于非 Microsoft 或其代理制作的 Web 应用程序 .然而,为了回答你的问题,我想指出微软自己通过@font-face 在他们的网络应用程序中使用 Segoe UI,例如,来自 Microsoft Surface 2 CSS :

@font-face {
font-family: 'Segoe UI';
src: url('/surface/Assets/css/fonts/all/normal/segoeui.eot');
src: url('/surface/Assets/css/fonts/all/normal/segoeui.eot?#iefix') format('embedded-opentype'),
url('/surface/Assets/css/fonts/all/normal/segoeui.woff') format('woff'),
url('/surface/Assets/css/fonts/all/normal/segoeui.svg#SegoeUI') format('svg');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Segoe UI Semibold';
src: url('/surface/Assets/css/fonts/all/semibold/seguisb.eot');
src: url('/surface/Assets/css/fonts/all/semibold/seguisb.eot?#iefix') format('embedded-opentype'),
url('/surface/Assets/css/fonts/all/semibold/seguisb.woff') format('woff'),
url('/surface/Assets/css/fonts/all/semibold/seguisb.svg#SegoeUISemibold') format('svg');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Segoe UI Bold';
src: url('/surface/Assets/css/fonts/all/bold/segoeuib.eot');
src: url('/surface/Assets/css/fonts/all/bold/segoeuib.eot?#iefix') format('eot'), /* Wrong format will tell IE9+ to ignore and use WOFF instead. MSHAR-2822 */
url('/surface/Assets/css/fonts/all/bold/segoeuib.woff') format('woff'),
url('/surface/Assets/css/fonts/all/bold/segoeuib.svg#SegoeUIBold') format('svg');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Segoe UI Light';
src: url('/surface/Assets/css/fonts/all/light/segoeuil.eot');
src: url('/surface/Assets/css/fonts/all/light/segoeuil.eot?#iefix') format('embedded-opentype'),
url('/surface/Assets/css/fonts/all/light/segoeuil.woff') format('woff'),
url('/surface/Assets/css/fonts/all/light/segoeuil.svg#SegoeUILight') format('svg');
font-weight: normal;
font-style: normal;
}

甚至像 Metro UI - that look exactly like Windows 8 这样的项目- 使用 OpenSans:
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 700;
src: local("Open Sans Bold"), local("OpenSans-Bold"), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/k3k702ZOKiLJc3WVjuplzJ1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 300;
src: local("Open Sans Light"), local("OpenSans-Light"), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/DXI1ORHCpsQm3Vp6mXoaTZ1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 800;
src: local("Open Sans Extrabold"), local("OpenSans-Extrabold"), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/EInbV5DfGHOiMmvb1Xr-hp1r3JsPcQLi8jytr04NNhU.woff) format('woff');
}
@font-face {
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
src: local("Open Sans"), local("OpenSans"), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/K88pR3goAWT7BTt32Z01mz8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}

我会推荐 OpenSans。

关于fonts - 为 Segoe UI 字体使用 @font-face,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3911816/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com