-
-
Notifications
You must be signed in to change notification settings - Fork 560
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
75 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Version 1.00 April 11, 2014, initial release |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This font was created using FontCreator 6.0 from High-Logic.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copyright (c) 2021 by Bung Letter. All rights reserved. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Macromedia Fontographer 4.1 Gong! Normal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copyright \251 2002, m klein fonteria. All rights reserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copyright \251 2002, m klein fonteria. All rights reserved. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
hardware/portapack_h2m/fonts/Schwarzenegger Condensed Regular-info.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Schwarzenegger Condensed:Version 1.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Schwarzenegger:Version 1.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL |
1 change: 1 addition & 0 deletions
1
hardware/portapack_h2m/fonts/SedgwickAveDisplay-Regular-info.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
:Smoke Weed normal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Free for personal use only. Please visit www.mawns.com for a commercial license. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copyright (c) M Klein 10-04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import os | ||
import re | ||
from fontTools.ttLib import TTFont | ||
|
||
def get_longest_copyright(font): | ||
decodable_copyrights = [] | ||
for name in font['name'].names: | ||
try: | ||
decoded_string = name.string.decode('utf-8') | ||
if decoded_string: | ||
decodable_copyrights.append(decoded_string) | ||
except UnicodeDecodeError: | ||
pass | ||
if decodable_copyrights: | ||
return max(decodable_copyrights, key=len) | ||
else: | ||
return None | ||
|
||
def read_copyright_info(font_file): | ||
try: | ||
font = TTFont(font_file) | ||
copyright_info = get_longest_copyright(font) | ||
|
||
#decode copyright info, it has a lot of \x00, replace all those for nothing | ||
|
||
if copyright_info: | ||
return re.sub(r'\x00', '', copyright_info) | ||
else: | ||
print(f"Could not find any copyright info in {font_file}") | ||
return None | ||
|
||
except Exception as e: | ||
print(f"Error reading copyright info from {font_file}: {e}") | ||
return None | ||
|
||
def write_license_file(font_file, copyright_info): | ||
try: | ||
base_name, ext = os.path.splitext(font_file) | ||
license_file = f"{base_name}-info.txt" | ||
with open(license_file, 'w') as f: | ||
f.write(copyright_info) | ||
print(f"License file written: {license_file}") | ||
except Exception as e: | ||
print(f"Error writing license file for {font_file}: {e}") | ||
|
||
def main(): | ||
folder_path = os.path.dirname(__file__) | ||
for filename in os.listdir(folder_path): | ||
if filename.endswith('.ttf') or filename.endswith('.otf'): | ||
font_file = os.path.join(folder_path, filename) | ||
copyright_info = read_copyright_info(font_file) | ||
if copyright_info: | ||
write_license_file(font_file, copyright_info) | ||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copyright (c) 2011 by wickhop. All rights reserved. |
1 change: 0 additions & 1 deletion
1
hardware/portapack_h2m/fonts/beatstreet-font/.~lock.schriftlizens_1.doc#
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-62.2 KB
hardware/portapack_h2m/fonts/beatstreet-font/beatstreet_type_sample3_web.jpg
Binary file not shown.
Binary file removed
BIN
-119 KB
hardware/portapack_h2m/fonts/beatstreet-font/beatstreet_type_sample4_web.jpg
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Beatstreet is a trademark of Danny Bernecker. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
If you would like to help support Larabie Fonts please consider making a donation. It costs a lot to keep the site running and free from irritating pop-up or banner ads. Any amount is appreciated and goes right back into making maintaining the site and developing more free fonts. Visit www.larabiefonts.com for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
JohnGauthier: Fresh Marker: 2015 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Ver 2 Gomarice Font 2005/08/02 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.