Skip to content

Commit

Permalink
remaining dependency licenses in help + fixed some mistakes in readme
Browse files Browse the repository at this point in the history
This puts all the dependency information in the help that is
present in the readme.

I've removed the TODO that said to get rid of the Source Code Pro
dependency, since I'm using that font for license texts in the
help. It looked better than anything else I tried for that, perhaps
due to pairing well with Source Serif [Pro] (which is used for
normal/body text in the help).

There's a major bug in the new help material: IE/WebBrowser doesn't
support the details element, so all licenses are shown in full (and
uncollapsable) when viewed in the application if WebView2 is
unavailable (or otherwise unused).

I think support for the details element can be polyfilled.
  • Loading branch information
EliahKagan committed Aug 12, 2021
1 parent 8d1810e commit 18cab71
Show file tree
Hide file tree
Showing 3 changed files with 1,056 additions and 23 deletions.
23 changes: 12 additions & 11 deletions NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</details>

Microsoft.Web.WebView2 is a library that exposes the WebView2 control for use
by .NET programs, but it is not itself that control. This is to say
Expand All @@ -246,7 +247,6 @@ Flood does not require the WebView2 control, but it does require the
Microsoft.Web.WebView2 library even in the absence of the WebView2 control.
(The mechanism Flood uses to check if the WebView2 control is present uses that
library.)
</details>

### MoreLINQ

Expand Down Expand Up @@ -511,8 +511,9 @@ Aside from fonts supplied by the operating system, Flood uses these fonts:

### IBM Plex Mono

[IBM Plex Mono](https://www.ibm.com/plex/) is designed for IBM by Mike Abbink
and the [Bold Monday](https://boldmonday.com/custom/ibm/) team. It [**is
[IBM Plex](https://www.ibm.com/plex/) (including its Mono subfamily) is
designed for IBM by Mike Abbink and the [Bold
Monday](https://boldmonday.com/custom/ibm/) team. It [**is
licensed**](https://github.com/IBM/plex/blob/master/LICENSE.txt) under the [SIL
OFL 1.1](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL):

Expand Down Expand Up @@ -729,18 +730,18 @@ licensed**](https://github.com/rsms/inter/blob/master/LICENSE.txt) under the
### Source Code Pro

<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright 2010-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'&hellip;&rdquo;</em>
</summary>

[Source Code Pro](https://adobe-fonts.github.io/source-code-pro/) is
principally designed by Paul D. Hunt. It [**is
licensed**](https://github.com/adobe-fonts/source-code-pro/blob/release/LICENSE.md)
under the [SIL OFL
1.1](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL):

<details>
<summary>
<strong>View SIL OFL 1.1</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;Copyright 2010-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'&hellip;&rdquo;</em>
</summary>

> Copyright 2010-2019 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe in the United States and/or other countries.
>
> This Font Software is licensed under the SIL Open Font License, Version 1.1.
Expand Down Expand Up @@ -962,11 +963,11 @@ Canonical Ltd. by typographers at the font foundry Dalton Maag, with some other

As stated in the copyright notice, [**it is
licensed**](https://ubuntu.com/legal/font-licence) under the Ubuntu Font
License, Version 1.0:
Licence, Version 1.0:

<details>
<summary>
<strong>View Ubuntu font license</strong>&nbsp;&nbsp;&nbsp;
<strong>View Ubuntu Font Licence</strong>&nbsp;&nbsp;&nbsp;
<em>&ldquo;This licence allows the licensed fonts to be used, studied, modified and redistributed&hellip;&rdquo;</em>
</summary>

Expand Down
4 changes: 2 additions & 2 deletions doc/help.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ details>summary {
font-size: .85em;
}

details>pre {
pre, details>pre {
background-color: aliceblue;
font-family: 'Source Code Pro', monospace;
font-size: .7em;
Expand Down Expand Up @@ -209,7 +209,7 @@ b {
font-weight: 600;
}

code {
code, pre>code, details>pre>code {
font-family: 'Consolas', 'Source Code Pro', monospace;
}

Expand Down
Loading

0 comments on commit 18cab71

Please sign in to comment.