[
https://issues.apache.org/jira/browse/RAT-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17809665#comment-17809665
]
Philipp Ottlinger commented on RAT-359:
---------------------------------------
Trying to copy the dejavu stuff via antrun did not work properly as the files
were not found in submodules' builds:
{code:xml}
<!--execution - test with: mvn
antrun:run@copy-missing-javadoc-font-resources >
<phase>post-site</phase>
<id>copy-missing-javadoc-font-resources</id>
<goals>
<goal>run</goal>
</goals-->
<!-- RAT-353: files were generated from
https://github.com/marchof/the-missing-javadoc-fonts
<configuration>
<target name="copy-javadoc-fonts-over">
<copy todir="${project.build.directory}/site/apidocs/"
failonerror="true">
<fileset dir="src/site/javadocFont/">
<patternset id="AllFiles">
<include name="**"/>
</patternset>
</fileset>
</copy>
</target>
</configuration>
</execution -->
{code}
> Replace externally loaded fonts Mate SC and Overlock with locally hosted ones
> to comply with privacy regulations
> ----------------------------------------------------------------------------------------------------------------
>
> Key: RAT-359
> URL: https://issues.apache.org/jira/browse/RAT-359
> Project: Apache Rat
> Issue Type: Task
> Components: site
> Affects Versions: 0.16
> Reporter: Philipp Ottlinger
> Assignee: Philipp Ottlinger
> Priority: Major
> Fix For: 0.16.1
>
>
> Due to
> [https://privacy.apache.org/faq/committers.html#can-i-use-google-fonts]
> we should replace the
> {code:html}
> <head>
> <![CDATA[<link href="https://fonts.googleapis.com/css?family=Mate+SC"
> type="text/css" rel="stylesheet" />]]>
> </head>
> {code}
> snippets in all webpages with a locally hosted version.
> This applies to all of Creadur's projects:
> [https://whimsy.apache.org/site/project/creadur]
> h2. Font Mate SC / Overlock
> licensed under [https://openfontlicense.org/]
> is part of the google-main-fonts:
> {code:bash}
> fonts-main/ofl/matesc$ ls
> DESCRIPTION.en_us.html MateSC-Regular.ttf METADATA.pb OFL.txt
> upstream.yaml
> {code}
> - no attribution required
> - 2.1 Can I make webpages using these fonts?
> Yes! Go ahead! You could ask visitors to download and install the fonts, but
> loading the fonts dynamically as webfonts through CSS @font-face declarations
> is a much better method. The referenced fonts can be hosted on the same
> server as other site assets and content, or loaded from a separate webfont
> service. This is recommended and explicitly allowed by the licensing model
> because it is distribution.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)