* add geneva fonts
* add dejavu font
* adjust stroke-width
pull/700/head
Kaalleen 2020-05-15 14:21:20 +02:00 zatwierdzone przez GitHub
rodzic 2aebae6826
commit 2df11b5ac5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
21 zmienionych plików z 50403 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,108 @@
This font has been adapted for Ink/Stitch by @Augusa
ORIGINAL FONT DOWNLOAD: https://www.fontsquirrel.com/fonts/dejavu-serif
LICENSE: https://www.fontsquirrel.com/license/dejavu-serif
==========================
DejaVu Fonts License v1.00
==========================
This license can also be found at this permalink: https://www.fontsquirrel.com/license/dejavu-serif
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below)
Bitstream Vera Fonts Copyright
———————————————
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
a trademark of Bitstream, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of the fonts accompanying this license (“Fonts”) and associated
documentation files (the “Font Software”), to reproduce and distribute the
Font Software, including without limitation the rights to use, copy, merge,
publish, distribute, and/or sell copies of the Font Software, and to permit
persons to whom the Font Software is furnished to do so, subject to the
following conditions:
The above copyright and trademark notices and this permission notice shall
be included in all copies of one or more of the Font Software typefaces.
The Font Software may be modified, altered, or added to, and in particular
the designs of glyphs or characters in the Fonts may be modified and
additional glyphs or characters may be added to the Fonts, only if the fonts
are renamed to names not containing either the words “Bitstream” or the word
“Vera”.
This License becomes null and void to the extent applicable to Fonts or Font
Software that has been modified and is distributed under the “Bitstream
Vera” names.
The Font Software may be sold as part of a larger software package but no
copy of one or more of the Font Software typefaces may be sold by itself.
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 BITSTREAM OR THE GNOME
FOUNDATION 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.
Except as contained in this notice, the names of Gnome, the Gnome
Foundation, and Bitstream Inc., shall not be used in advertising or
otherwise to promote the sale, use or other dealings in this Font Software
without prior written authorization from the Gnome Foundation or Bitstream
Inc., respectively. For further information, contact: fonts at gnome dot
org.
Arev Fonts Copyright
———————————————
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining
a copy of the fonts accompanying this license (“Fonts”) and
associated documentation files (the “Font Software”), to reproduce
and distribute the modifications to the Bitstream Vera Font Software,
including without limitation the rights to use, copy, merge, publish,
distribute, and/or sell copies of the Font Software, and to permit
persons to whom the Font Software is furnished to do so, subject to
the following conditions:
The above copyright and trademark notices and this permission notice
shall be included in all copies of one or more of the Font Software
typefaces.
The Font Software may be modified, altered, or added to, and in
particular the designs of glyphs or characters in the Fonts may be
modified and additional glyphs or characters may be added to the
Fonts, only if the fonts are renamed to names not containing either
the words “Tavmjong Bah” or the word “Arev”.
This License becomes null and void to the extent applicable to Fonts
or Font Software that has been modified and is distributed under the
“Tavmjong Bah Arev” names.
The Font Software may be sold as part of a larger software package but
no copy of one or more of the Font Software typefaces may be sold by
itself.
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
TAVMJONG BAH 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.
Except as contained in this notice, the name of Tavmjong Bah shall not
be used in advertising or otherwise to promote the sale, use or other
dealings in this Font Software without prior written authorization
from Tavmjong Bah. For further information, contact: tavmjong @ free
. fr.

Wyświetl plik

@ -0,0 +1,105 @@
{
"name": "Dejavu for Inkstitch semicondensed",
"description": "The capital em is 19,8 millimeter wide at 100% scale. Can be scaled down to 80% or up to 150%. Every satin has center-walk underlay.",
"leading": 24,
"letter_spacing": 1.5,
"word_spacing": 7,
"auto_satin": false,
"default_glyph": "<22>",
"min_scale": 0.80,
"max_scale": 1.5,
"kerning_pairs": {
"AA": -1.5 , "AB": -1.5, "AC": -2, "AD": -1.5, "AE": -1.5,
"AF": -1.5,"AG": -2, "AH": -1.5, "AI": -1.5, "AJ": -4,
"AK": -1.5, "AL": -1.5, "AM": -1.5, "AN": -1.5, "AO": -2,
"AP": -1.5, "AQ": -2, "AR": -1.5,"AS": -1.5,"AT": -4,
"AU": -2.5, "AV": -4, "AW": -4, "AX": -1.5, "AY": -3,
"AZ": -1.5,
"BA": -1.5, "CA": -2, "DA": -2, "EA": -1.5, "FA": -2.5,
"GA": -1.5, "HA": -1.5, "IA": -1.5, "JA": -2, "KA": -1.5,
"LA": -1.5, "MA": -1.5, "NA": -1.5, "OA": -2.5, "PA": -2.5,
"QA": -2.5, "RA": -1.5, "SA": -2, "TA": -4, "UA": -2.5,
"VA": -4, "WA": -4, "XA": -1.5, "YA": -3, "ZA": -1.5,
"BJ": -4, "BT": -1, "BU": -1, "BV": -1, "BW": -1,
"BX": -1.5, "BY": -1.5, "BZ": -1,"CJ": -3.5, "CT": -1,
"CV": -1, "CW": -1, "CX": -3.5, "CJ": -3.5, "CY": -1,
"DJ": -3.5, "DT": -1, "DU": -1.5, "DV": -1, "DW": -1,
"DX": -1.5, "DY": 1, "DZ": -1,
"EJ": -3.5, "ET": -1, "EV": -1, "EW": -1, "EY": -1.5,
"FC": -0.5, "FG": -0.5, "FJ": -1.5, "FO": -1, "FQ": -1,
"FS": -1, "FT": -1.5, "FU": -1, "FV": -1.5, "FW": -1.5,
"FY": -1.5,
"GJ": -3, "GT": -0.5, "GV": -1, "GW": -1, "GY": -1,
"HJ": -4, "HT": -1, "HV": -1.5, "HW": -1.5, "HY": -1,
"IJ": -4, "IT": -1, "IV": -1.5,"IW": -1.5,"IY": -1,
"KC": -1.5, "KC": -1.5, "KC": -1.5, "KG": -1.5, "KO": -1.5,
"KQ": -1.5, "KT": -1.5, "KV": -1.5, "KW": -1.5, "KY": -1.5,
"LC": -1, "LG": -1, "LI": -1, "LJ": -4, "LO": -1,
"LQ": -1, "LS": -1, "LT": -1, "LU": -1, "LV": -3,
"LW": -3, "LX": -1, "LY": -3,
"MJ": -3.5, "MT": -1, "MV": -1.5, "MW": -1.5, "MY": -1,
"NJ": -3.5, "NT": -1, "NV": -1.5, "NW": -1.5, "NY": -1,
"OJ": -3, "OT": -1, "OV": -2, "OW": -2, "OX": -2,
"OY": -2, "OZ": -1,
"PJ": -4, "PT": -1, "PU": -1, "PV": -1.5, "PW": -1.5,
"PX": -1, "PY": -1, "PZ": -1,
"QJ": -3, "QT": -1, "QU": -1, "QT": -1, "QV": -2,
"QW": -2, "QY": -2, "QX": -2,
"RC": -2, "RG": -2, "RJ": -4, "RO": -1, "RQ": -1,
"RS": -1, "RT": -3, "RU": -3, "RV": -3, "RW": -3,
"RX": -1, "RY": -4, "RZ": -1,
"SJ": -4, "SO": -1, "SQ": -1, "ST": -2, "SU": -1,
"SV": -1, "SW": -1, "SX": -1, "SY": -1, "SZ": -1,
"TB": -1, "TC": -1, "TD": -1, "TE": -1, "TF": -1,
"TG": -1, "TH": -1, "TI": -1, "TJ": -4, "TK": -1,
"TL": -1, "TM": -1, "TN": -1, "TO": -1, "TQ": -1,
"TR": -1, "TS": -1, "TU": -1, "TV": -1, "TW": -1,
"TX": -1, "TY": -1, "TZ": -1,
"UJ": -4, "UO": -1, "UQ": -1, "US": -1, "UT": -1,
"UU": -1, "UV": -1, "UW": -1, "UX": -1, "UY": -1,
"VB": -1, "VC": -1, "VC": -2, "VD": -1, "VE": -1,
"VF": -1, "VG": -2, "VH": -1, "VI": -1, "VJ": -4,
"VK": -1, "VL": -1, "VM": -1, "VN": -1, "VO": -2,
"VP": -1, "VQ": -2, "VR": -1, "VS": -1, "VT": -1,
"VU": -1, "VV": -1, "VW": -1, "VX": -1, "VY": -1,
"VZ": -1,
"WB": -1, "WC": -1, "WC": -2, "WD": -1, "WE": -1,
"WF": -1, "WG": -2, "WH": -1, "WI": -1, "WJ": -4,
"WK": -1, "WL": -1, "WM": -1, "WN": -1, "WO": -2,
"WP": -1, "WQ": -2, "WR": -1, "WS": -1, "WT": -1,
"WU": -1, "WV": -1, "WW": -1, "WX": -1, "WY": -1,
"WZ": -1,
"XC": -2, "XG": -2, "XJ": -4, "XO": -2, "XQ": -2,
"XT": -2, "XU": -1, "XV": -1, "XW": -1, "XX": -1,
"XY": -2, "XZ": -1,
"YB": -1, "YC": -3, "YD": -1, "YE": -1, "YF": -1,
"YG": -3, "YH": -1, "YI": -1, "YJ": -4, "YK": -1,
"YL": -1, "YM": -1, "YN": -1, "YO": -3, "YP": -1,
"YQ": -3, "YR": -1, "YS": -1, "YT": -1, "YU": -1,
"YV": -1, "YW": -1, "YX": -1, "YZ": -1,
"ZC": -1, "ZG": -1, "ZJ": -4, "ZO": -2, "ZT": -1,
"ZU": -1, "ZV": -1, "ZW": -1, "ZX": -1, "ZY": -1, "ZZ": -1
}
}

File diff suppressed because one or more lines are too long

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 658 KiB

File diff suppressed because one or more lines are too long

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 658 KiB

File diff suppressed because one or more lines are too long

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 658 KiB

File diff suppressed because one or more lines are too long

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 658 KiB

Wyświetl plik

@ -0,0 +1 @@
CC-BY-SA 2.5 https://creativecommons.org/licenses/by-sa/2.5/

Wyświetl plik

@ -0,0 +1,7 @@
Geneva-simple-sans-rounded embroidery typeface V2 (draft)
suitable (in principle) for small fonts 8 to 20 mm
License: https://creativecommons.org/licenses/by-sa/2.5/
Cite: https://edutechwiki.unige.ch/en/InkStitch_-_Geneva-simple_typefaces
This work is based on the 1-stroke Hershey font available in InkScape
http://evilmadscientist.com/go/hershey

Wyświetl plik

@ -0,0 +1,14 @@
{
"name": "Geneva Simple Sans Rounded",
"description": "Suitable for small fonts (8 to 20 mm)",
"leading": 16,
"letter_spacing": 2,
"word_spacing": 8,
"auto_satin": true,
"default_glyph": "<22>",
"min_scale": 0.75,
"max_scale": 2.0,
"kerning_pairs": {
"wo": -0.9
}
}

Plik diff jest za duży Load Diff

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 433 KiB

Plik diff jest za duży Load Diff

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 433 KiB

Plik diff jest za duży Load Diff

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 433 KiB

Plik diff jest za duży Load Diff

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 433 KiB

Wyświetl plik

@ -0,0 +1 @@
CC-BY-SA 2.5 https://creativecommons.org/licenses/by-sa/2.5/

Wyświetl plik

@ -0,0 +1,7 @@
Geneva-simple-sans embroidery typeface V1 (draft)
suitable (in principle) for small fonts (6 to 15mm)
License: https://creativecommons.org/licenses/by-sa/2.5/
Cite: https://edutechwiki.unige.ch/en/InkStitch_-_Geneva-simple_typefaces
This work is based on the 1-stroke Hershey font available in InkScape
http://evilmadscientist.com/go/hershey

Wyświetl plik

@ -0,0 +1,14 @@
{
"name": "Geneva Simple Sans",
"description": "Suitable for small fonts (6 to 15mm)",
"leading": 16,
"letter_spacing": 2.5,
"word_spacing": 9,
"auto_satin": true,
"default_glyph": "<22>",
"min_scale": 0.75,
"max_scale": 2.0,
"kerning_pairs": {
"wo": -0.9
}
}

Plik diff jest za duży Load Diff

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 392 KiB

Plik diff jest za duży Load Diff

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 392 KiB

Plik diff jest za duży Load Diff

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 392 KiB

Plik diff jest za duży Load Diff

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 392 KiB

Wyświetl plik

@ -144,6 +144,12 @@ class Font(object):
if self.auto_satin and len(destination_group) > 0:
self._apply_auto_satin(destination_group, trim)
else:
# set stroke width because it is almost invisible otherwise (why?)
for element in destination_group.iterdescendants(SVG_PATH_TAG):
style = ['stroke-width:1px' if s.startswith('stroke-width') else s for s in element.get('style').split(';')]
style = ';'.join(style)
element.set('style', '%s' % style)
return destination_group