Skip to content

Commit

Permalink
Added Courier Prime 🍊
Browse files Browse the repository at this point in the history
- Added Courier Prime (and WOFF for Fountain preview)
- Updated Fountain preview CSS
- Updated promotion script
  • Loading branch information
fairybow committed Feb 5, 2023
1 parent cfad80a commit f0dd480
Show file tree
Hide file tree
Showing 18 changed files with 528 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<a href="#install"><img src="https://img.shields.io/badge/Arch%20Linux-5B5B5B?logo=archlinux" alt="Platform Arch Linux"/></a>
<a href="https://github.com/fairybow/fernanda/search?l=c%2B%2B"><img src="https://img.shields.io/badge/C%2B%2B20-5B5B5B?logo=c%2B%2B" alt="C++20"/></a>
<br>
<a href="https://shields.io/"><img src="https://img.shields.io/badge/omg-these%20are%20so%20cute-f34b7d"/></a>
<a href="https://shields.io/"><img src="https://img.shields.io/badge/omg-these%20are%20so%20cute-00b3b3"/></a>
</p>

## :tea: **Hello** <a name="hello"></a>
Expand Down
369 changes: 369 additions & 0 deletions fernanda/docs/fonts/Courier Prime/LICENSE/OFL-FAQ.txt

Large diffs are not rendered by default.

94 changes: 94 additions & 0 deletions fernanda/docs/fonts/Courier Prime/LICENSE/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
Copyright (c) 2013, Quote-Unquote Apps (http://quoteunquoteapps.com),
with Reserved Font Name Courier Prime.

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
44 changes: 44 additions & 0 deletions fernanda/docs/fonts/Courier Prime/Read me.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
ABOUT COURIER PRIME
===================

Courier Prime is a TrueType monospaced font designed specifically for screenplays. It was designed by Alan Dague-Greene for John August and released by Quote-Unquote Apps under the SIL Open Font License (OFL).

Visit http://quoteunquoteapps.com/courierprime for more information and the latest updates.

SIL Open Font License: http://scripts.sil.org/OFL

INSTALLATION
============

Mac OS X:

Select all the font files and double-click the selected files. Then, click 'Install Font' at the bottom of the preview window.

Windows 7 & 8:

The easiest way to install a font is to double-click on a font file to open the font preview and select 'Install'.

Windows Vista:

To install a TrueType or OpenType font on Windows Vista, right-click on the font file and then select 'Install'. You can also drag or paste a font into the Fonts Control Panel.

Windows XP:

1. From the 'Start' menu select 'Control Panel', then select the 'Appearance and Themes' category.

2. Select 'Fonts' from the 'See Also' panel at the left of this screen.

3. On the 'File' menu, select 'Install New Font...'

4. Click the drive and folder that contain the fonts you want to add.

5. To select more than one font to add, press and hold down the CTRL key, click the fonts you want, then click on 'OK'.

For more information on installing fonts on Windows, visit this link: http://www.microsoft.com/typography/truetypeinstall.mspx


CHANGELOG
=========

January 25, 2013 Courier Prime version 1.203
- Initial release
2 changes: 1 addition & 1 deletion fernanda/docs/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@

[^1]: [ColorHexa](https://www.colorhexa.com/)

[^2]: [ColorKit](https://colorkit.co/)
[^2]: [ColorKit](https://colorkit.co/)
3 changes: 2 additions & 1 deletion fernanda/docs/todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
- [ ] Ensure popups happen on the same monitor...

### Preview
- [ ] Scrollbar should begin tied to position in editor. Can be moved independently but when snapped, scrolls with editor.
- [x] ~~Replace fountain CSS~~
- [x] ~~Minify fountain CSS~~

Expand Down Expand Up @@ -160,4 +161,4 @@
- [ ] Split up the enums with namespaces for editor, data, and window (removing arg requirement for a IniGroup) (Unclear on how to do this at the moment)
- [x] ~~Enums for group (and possibly value)~~

[^1]: This class is a huge mess
[^1]: This class is a huge mess
5 changes: 5 additions & 0 deletions fernanda/docs/tools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Tools

- [ColorHexa](https://www.colorhexa.com/)
- [ColorKit](https://colorkit.co/)
- [Transfonter](https://transfonter.org/)
Binary file added fernanda/docs/zips/courier-prime.zip
Binary file not shown.
1 change: 1 addition & 0 deletions fernanda/fernanda.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
<None Include="..\README.md" />
<None Include="cpp.hint" />
<None Include="docs\palette.md" />
<None Include="docs\tools.md" />
<None Include="res\preview\fountain-overwrite.min.css" />
<None Include="res\preview\fountain.min.html" />
<None Include="res\preview\markdown-overwrite.min.css" />
Expand Down
3 changes: 3 additions & 0 deletions fernanda/fernanda.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@
<None Include="util\promote.bat">
<Filter>Utilities</Filter>
</None>
<None Include="docs\tools.md">
<Filter>Docs</Filter>
</None>
</ItemGroup>
<ItemGroup>
<None Include="cpp.hint" />
Expand Down
1 change: 1 addition & 0 deletions fernanda/res/fonts.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<file>fonts/Bree Serif.ttf</file>
<file>fonts/Cascadia Mono.ttf</file>
<file>fonts/Cozette.ttf</file>
<file>fonts/Courier Prime.ttf</file>
<file>fonts/Day Roman.ttf</file>
<file>fonts/Fixedsys Excelsior.ttf</file>
<file>fonts/Iosevka.ttf</file>
Expand Down
Binary file added fernanda/res/fonts/Courier Prime.ttf
Binary file not shown.
2 changes: 2 additions & 0 deletions fernanda/res/preview.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<file>preview/fountain-overwrite.min.css</file>
<file>preview/markdown.min.html</file>
<file>preview/markdown-overwrite.min.css</file>
<file>preview/include/CourierPrime.woff</file>
<file>preview/include/CourierPrime.woff2</file>
<file>preview/include/fountain.min.css</file>
<file>preview/include/fountain.min.js</file>
<file>preview/include/github-markdown.min.css</file>
Expand Down
8 changes: 1 addition & 7 deletions fernanda/res/preview/fountain-overwrite.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added fernanda/res/preview/include/CourierPrime.woff
Binary file not shown.
Binary file added fernanda/res/preview/include/CourierPrime.woff2
Binary file not shown.
4 changes: 2 additions & 2 deletions fernanda/src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

#pragma once

#define VER_FILEVERSION 0,18,3,41
#define VER_FILEVERSION_STR "v0.18.3-beta41"
#define VER_FILEVERSION 0,18,4,42
#define VER_FILEVERSION_STR "v0.18.4-beta42"
#define VER_PRODUCTVERSION VER_FILEVERSION
#define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
#define VER_COMPANYNAME_STR "@fairybow"
Expand Down
2 changes: 2 additions & 0 deletions fernanda/util/promote.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ start /w "C:\Program Files (x86)\NSIS\makensis.exe" "C:\Dev\fernanda\fernanda\ut
echo f|xcopy /v /y /f "C:\Dev\fernanda\fernanda\util\fernanda-setup-x64-windows.exe" "%OneDrive%\Desktop\fernanda-setup-x64-windows.exe"
del "C:\Dev\fernanda\fernanda\util\fernanda-setup-x64-windows.exe"

start https://github.com/fairybow/fernanda

:end
pause
exit

0 comments on commit f0dd480

Please sign in to comment.