Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Anonymous Pro #1175

Merged
merged 2 commits into from
Apr 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bin/scripts/name_parser/FontnameTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ def postscript_char_filter(name):
return out

SIL_TABLE = [
( '(a)nonymous', r'\1nonymice' ),
( '(s)ource', r'\1auce' ),
( '(h)ermit', r'\1urmit' ),
( '(h)asklig', r'\1asklug' ),
Expand Down Expand Up @@ -264,7 +265,8 @@ def parse_font_name(name):
( style, weight_token ) = FontnameTools.get_name_token(style, weights)
( style, style_token ) = FontnameTools.get_name_token(style, styles)
( style, other_token ) = FontnameTools.get_name_token(style, other, True)
if len(style) < 4:
if (len(style) < 4
and style.lower() != 'pro'): # Prevent 'r' of Pro to be detected as style_abbrev
( style, weight_token_abbrevs ) = FontnameTools.get_name_token(style, weight_abbrevs)
( style, style_token_abbrevs ) = FontnameTools.get_name_token(style, style_abbrevs)
weight_token += weight_token_abbrevs
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
Copyright (c) 2009, Mark Simonson
(http://www.ms-studio.com, mark@marksimonson.com),
with Reserved Font Name Anonymous Pro.
Copyright (c) 2013, Kim Silkebækken and Carl X. Su.
Copyright (c) 2009, Mark Simonson (http://www.ms-studio.com, mark@marksimonson.com),
with Reserved Font Name Anonymous Pro.

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:
Expand All @@ -21,7 +19,7 @@ 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,
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
Expand Down Expand Up @@ -93,4 +91,4 @@ 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.
OTHER DEALINGS IN THE FONT SOFTWARE.
4 changes: 4 additions & 0 deletions src/unpatched-fonts/AnonymousPro/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Anonymous Pro 1.002
Anonymous Pro (2009) is a family of four fixed-width fonts designed with coding in mind.

For more information have a look at the upstream website: https://www.marksimonson.com/fonts/view/anonymous-pro
21 changes: 0 additions & 21 deletions src/unpatched-fonts/AnonymousPro/README.rst

This file was deleted.

Binary file not shown.
3 changes: 2 additions & 1 deletion src/unpatched-fonts/AnonymousPro/config.cfg
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
config_has_powerline=1
config_rfn="Anonymous Pro"
config_rfn_substitue="Anonymice Pro"