Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 如何在Flatter Web项目中使用Adobe字体?_Flutter_Dart_Fonts_Adobe_Flutter Web - Fatal编程技术网

Flutter 如何在Flatter Web项目中使用Adobe字体?

Flutter 如何在Flatter Web项目中使用Adobe字体?,flutter,dart,fonts,adobe,flutter-web,Flutter,Dart,Fonts,Adobe,Flutter Web,我们的设计团队使用Adobe字体,并给了我们一个https://use.typekit.net/qwertyuiop.cssURL以嵌入到我们的flatter Web项目中 /* * The Typekit service used to deliver this font or fonts for use on websites * is provided by Adobe and is subject to these Terms of Use * http://www.adobe.c

我们的设计团队使用Adobe字体,并给了我们一个
https://use.typekit.net/qwertyuiop.css
URL以嵌入到我们的flatter Web项目中

/*
 * The Typekit service used to deliver this font or fonts for use on websites
 * is provided by Adobe and is subject to these Terms of Use
 * http://www.adobe.com/products/eulas/tou_typekit. For font license
 * information, see the list below.
 *
 * anton:
 *   - http://typekit.com/eulas/00000000000000003b9b1327
 *
 * © 2009-2020 Adobe Systems Incorporated. All Rights Reserved.
 */
/*{"last_published":"2020-10-08 12:06:43 UTC"}*/

@import url("https://p.typekit.net/p.css?s=1&k=uws7ddb&ht=tk&f=10881.10882.10884.10885.15357.15358.15361.15362.15898.32874.32875&a=11875597&app=typekit&e=css");

@font-face {
font-family:"anton";
src:url("https://use.typekit.net/af/123456/00000000000000003b9b1327/27/l?primer=7cdcb44be4a7db8877ffa5c0007b123865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/123456/00000000000000003b9b1327/27/d?primer=7cdcb44be4a7db8877ffa5c0007b123865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/123456/00000000000000003b9b1327/27/a?primer=7cdcb44be4a7db8877ffa5c0007b123865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;
}

.tk-anton { font-family: "anton",sans-serif; }
您知道如何将这样的CSS文件嵌入到颤振Web项目中吗


谢谢大家!

flatter是一个应用程序开发平台,Adobe Fonts不支持应用程序许可,因此Adobe Fonts的大多数字体不能在应用程序中使用。然而,这一次你很幸运,因为所讨论的字体Anton是一种开源字体,也是

因此,在本例中,您可以从Google字体下载Anton,然后按照Flatter的教程进行操作


对于大多数Adobe字体库,每个页面上都会列出制作字体的设计师和/或字体铸造厂,因此请首先查看。他们中的许多人通过自己的网站出售应用程序许可证,或者他们将从网站链接到他们授权字体的市场,如Fontspring和MyFonts。

Anton只是一个例子。我正试图推动我们的设计师只使用谷歌字体。。。但尝试是不够的。哈哈哈!由于我们目前正在开发一个Flutter Web(仅限)应用程序,因此在索引HTML中定义Adobe要求的字体似乎在某些浏览器上可以顺利工作,但并非在所有浏览器上都可以。总体而言,我们在iPad、iPhone和苹果产品上遇到了很多问题。无论如何,谢谢你的回答。:-)