You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Andre (JIRA)" <ji...@apache.org> on 2015/11/15 13:18:10 UTC
[jira] [Commented] (NIFI-318) Web Fonts
[ https://issues.apache.org/jira/browse/NIFI-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15005860#comment-15005860 ]
Andre commented on NIFI-318:
----------------------------
Current list is:
{code}
$ find . -type f -exec grep -H "fonts.googleapis.com" {} \;
./nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-docs/src/main/webapp/css/component-usage.css:@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic|Noto+Serif:400,400italic,700,700italic|Droid+Sans+Mono:400";
./nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/resources/templates/index.html.hbs: @import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic|Noto+Serif:400,400italic,700,700italic|Droid+Sans+Mono:400";
./nifi-docs/src/main/asciidoc/asciidoc-mod.css:@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400";
{code}
> Web Fonts
> ---------
>
> Key: NIFI-318
> URL: https://issues.apache.org/jira/browse/NIFI-318
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Reporter: Matt Gilman
> Priority: Minor
>
> - Consider using a web font loader for more control when loading fonts from external sources [1]. Specifically note the iframe support for the NiFi shell and documents within the help section.
> - Update asciidoctor usage to try to eliminate external font (and font-awesome) dependencies [2][3]. The major issue here is that the Google fonts API returns a dynamically generated stylesheet based on the browser requesting the font. This makes for embedding the font's tricky.
> [1] https://github.com/typekit/webfontloader
> [2] https://github.com/asciidoctor/asciidoctor/issues/879
> [3] http://mrhaki.blogspot.com/2014/08/awesome-asciidoc-changing-fontawesome.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)