Skip to content

Commit

Permalink
regenned fonts 2.010
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeiva committed Sep 12, 2023
1 parent 624c893 commit 68f0c02
Show file tree
Hide file tree
Showing 1,156 changed files with 44,626 additions and 0 deletions.
Binary file added fonts/otf/Prata-Regular.otf
Binary file not shown.
Binary file added fonts/ttf/Prata-Regular.ttf
Binary file not shown.
Binary file added fonts/webfonts/Prata-Regular.woff2
Binary file not shown.
13 changes: 13 additions & 0 deletions sources/.ninja_log
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# ninja log v5
0 652 1694525848958309000 master_ufo/Prata-Regular.designspace 119383bb86f9903f
0 652 1694525848958309000 master_ufo/Prata-Regular.ufo 119383bb86f9903f
652 1187 1694525849520941000 instance_ufo/Prata-Regular.ufo 4371456b66619116
1187 2272 1694525850608589393 ../fonts/ttf/Prata-Regular.ttf a83a7e29db45c658
1187 3310 1694525851639942931 ../fonts/otf/Prata-Regular.otf c5d90ee07d1020da
0 536 1694536242309697000 instance_ufo/Prata-Regular.ufo 4371456b66619116
536 1565 1694536243368691031 ../fonts/ttf/Prata-Regular.ttf a83a7e29db45c658
536 2518 1694536244318969207 ../fonts/otf/Prata-Regular.otf c5d90ee07d1020da
2519 3866 1694536245697250651 ../fonts/otf/Prata-Regular.otf.fixstamp 8af1046d79612fa5
1566 5769 1694536247600597397 ../fonts/ttf/Prata-Regular.ttf.autohintstamp 2f9830a2d89f3509
5769 6293 1694536248123977592 ../fonts/ttf/Prata-Regular.ttf.fixstamp 40312e5c3b3eaad4
6293 7174 1694536248998560935 ../fonts/webfonts/Prata-Regular.woff2 65136ddb8fd83d39
File renamed without changes.
70 changes: 70 additions & 0 deletions sources/build.ninja
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Rules

# Convert glyphs file to UFO
rule glyphs2ufo
command = fontmake -o ufo --instance-dir instance_ufo -g $in
# Build a set of instance UFOs from Designspace
rule instanceufo
command = fontmake -i -o ufo -m $in $fontmake_args
# Build a TTF file from a UFO
rule buildttf
command = fontmake -o ttf -u $in $fontmake_args --output-path $out
# Build an OTF file from a UFO
rule buildotf
command = fontmake -o otf -u $in $fontmake_args --output-path $out
# Add a STAT table to a set of variable fonts
rule genstat
command = gftools-gen-stat --inplace $other_args -- $in && touch $stampfile
# Run the font fixer in-place and touch a stamp file
rule fix
command = gftools-fix-font -o $in $fixargs $in && touch $in.fixstamp
# Run the ttfautohint in-place and touch a stamp file
rule autohint
command = ttfautohint $in $in.autohinted && mv $in.autohinted $in && $
touch $in.autohintstamp
# Create a web font
rule webfont
command = fonttools ttLib.woff2 compress -o $out $in

# Convert glyphs source to designspace
build master_ufo/Prata-Regular.designspace master_ufo/Prata-Regular.ufo: $
glyphs2ufo Prata.glyphs


# STATIC FONTS

# Interpolate UFOs for Prata-Regular.designspace
build master_ufo/../instance_ufo/Prata-Regular.ufo: instanceufo $
master_ufo/Prata-Regular.designspace

# Build otf format

# master_ufo/Prata-Regular.designspace
build ../fonts/otf/Prata-Regular.otf: buildotf $
master_ufo/../instance_ufo/Prata-Regular.ufo
fontmake_args = --filter ... --filter FlattenComponentsFilter --filter $
DecomposeTransformedComponentsFilter --output-path $
../fonts/otf/Prata-Regular.otf

# Post-processing otfs
build ../fonts/otf/Prata-Regular.otf.fixstamp: fix $
../fonts/otf/Prata-Regular.otf

# Build ttf format

# master_ufo/Prata-Regular.designspace
build ../fonts/ttf/Prata-Regular.ttf: buildttf $
master_ufo/../instance_ufo/Prata-Regular.ufo
fontmake_args = --filter ... --filter FlattenComponentsFilter --filter $
DecomposeTransformedComponentsFilter --output-path $
../fonts/ttf/Prata-Regular.ttf

# Post-processing ttfs
build ../fonts/ttf/Prata-Regular.ttf.autohintstamp: autohint $
../fonts/ttf/Prata-Regular.ttf
build ../fonts/ttf/Prata-Regular.ttf.fixstamp: fix $
../fonts/ttf/Prata-Regular.ttf | $
../fonts/ttf/Prata-Regular.ttf.autohintstamp
build ../fonts/webfonts/Prata-Regular.woff2: webfont $
../fonts/ttf/Prata-Regular.ttf | ../fonts/ttf/Prata-Regular.ttf.fixstamp

3 changes: 3 additions & 0 deletions sources/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sources:
- Prata.glyphs
familyName: Prata
125 changes: 125 additions & 0 deletions sources/instance_ufo/Prata-Regular.ufo/features.fea
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
# Prefix: Languagesystems
# automatic
languagesystem DFLT dflt;

languagesystem latn dflt;

languagesystem cyrl dflt;
languagesystem cyrl BSH;
languagesystem cyrl CHU;


feature aalt {
# automatic
feature locl;
feature sups;
feature frac;
feature ordn;
feature case;

} aalt;

feature ccmp {
# automatic
lookup ccmp_Other_1 {
@CombiningTopAccents = [acutecomb brevecomb caroncomb circumflexcomb dieresiscomb gravecomb hookabovecomb hungarumlautcomb macroncomb ringcomb tildecomb];
lookupflag UseMarkFilteringSet @CombiningTopAccents;
sub i' @CombiningTopAccents by idotless;
} ccmp_Other_1;

lookup ccmp_latn_1 {
lookupflag 0;
sub brevecomb acutecomb by brevecomb_acutecomb;
sub brevecomb gravecomb by brevecomb_gravecomb;
sub brevecomb hookabovecomb by brevecomb_hookabovecomb;
sub brevecomb tildecomb by brevecomb_tildecomb;
sub circumflexcomb acutecomb by circumflexcomb_acutecomb;
sub circumflexcomb gravecomb by circumflexcomb_gravecomb;
sub circumflexcomb hookabovecomb by circumflexcomb_hookabovecomb;
sub circumflexcomb tildecomb by circumflexcomb_tildecomb;
} ccmp_latn_1;

script latn;
lookup ccmp_latn_1;

} ccmp;

feature locl {
# automatic
script cyrl;
language BSH;
lookup locl_cyrl_0 {
sub Ghestroke-cy by Ghestroke-cy.loclBSH;
sub Zedescender-cy by Zedescender-cy.loclBSH;
sub Esdescender-cy by Esdescender-cy.loclBSH;
sub ghestroke-cy by ghestroke-cy.loclBSH;
sub zedescender-cy by zedescender-cy.loclBSH;
sub esdescender-cy by esdescender-cy.loclBSH;
} locl_cyrl_0;

script cyrl;
language CHU;
lookup locl_cyrl_1 {
sub Esdescender-cy by Esdescender-cy.loclCHU;
sub esdescender-cy by esdescender-cy.loclCHU;
} locl_cyrl_1;

} locl;

feature sups {
# automatic
sub one by onesuperior;
sub two by twosuperior;
sub three by threesuperior;
sub four by foursuperior;

} sups;

feature frac {
# automatic
sub one slash four by onequarter;
sub one slash two by onehalf;
sub three slash four by threequarters;

} frac;

feature ordn {
# automatic
sub [zero one two three four five six seven eight nine] [A a]' by ordfeminine;
sub [zero one two three four five six seven eight nine] [O o]' by ordmasculine;

} ordn;

feature case {
# automatic
sub brevecomb-cy by brevecomb-cy.case;
sub descender-cy by descender-cy.case;
sub verticalbar-cy by verticalbar-cy.case;
sub dieresiscomb by dieresiscomb.case;
sub gravecomb by gravecomb.case;
sub acutecomb by acutecomb.case;
sub hungarumlautcomb by hungarumlautcomb.case;
sub circumflexcomb by circumflexcomb.case;
sub circumflexcomb_gravecomb by circumflexcomb_gravecomb.case;
sub circumflexcomb_acutecomb by circumflexcomb_acutecomb.case;
sub circumflexcomb_tildecomb by circumflexcomb_tildecomb.case;
sub circumflexcomb_hookabovecomb by circumflexcomb_hookabovecomb.case;
sub caroncomb by caroncomb.case;
sub brevecomb_gravecomb by brevecomb_gravecomb.case;
sub brevecomb_acutecomb by brevecomb_acutecomb.case;
sub brevecomb_tildecomb by brevecomb_tildecomb.case;
sub brevecomb_hookabovecomb by brevecomb_hookabovecomb.case;
sub ringcomb by ringcomb.case;
sub tildecomb by tildecomb.case;

} case;

feature dlig {
# automatic
lookupflag IgnoreMarks;
sub AE by Aie-cy;
sub En-cy Ge-cy by Enghe-cy;
sub ae by aie-cy;
sub en-cy ge-cy by enghe-cy;

} dlig;
97 changes: 97 additions & 0 deletions sources/instance_ufo/Prata-Regular.ufo/fontinfo.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ascender</key>
<integer>993</integer>
<key>capHeight</key>
<integer>800</integer>
<key>copyright</key>
<string>Copyright 2011 The Prata Project Authors (contact@cyreal.org)</string>
<key>descender</key>
<integer>-303</integer>
<key>familyName</key>
<string>Prata</string>
<key>italicAngle</key>
<integer>0</integer>
<key>openTypeHeadCreated</key>
<string>2023/09/12 11:06:19</string>
<key>openTypeHheaAscender</key>
<integer>993</integer>
<key>openTypeHheaDescender</key>
<integer>-362</integer>
<key>openTypeHheaLineGap</key>
<integer>0</integer>
<key>openTypeNameDesigner</key>
<string>Ivan Petrov</string>
<key>openTypeNameDesignerURL</key>
<string>http://www.cyreal.org</string>
<key>openTypeNameLicense</key>
<string>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</string>
<key>openTypeNameLicenseURL</key>
<string>http://scripts.sil.org/OFL</string>
<key>openTypeNameManufacturer</key>
<string>Cyreal</string>
<key>openTypeNameManufacturerURL</key>
<string>http://www.cyreal.org</string>
<key>openTypeOS2Selection</key>
<array>
<integer>7</integer>
</array>
<key>openTypeOS2Type</key>
<array/>
<key>openTypeOS2TypoAscender</key>
<integer>993</integer>
<key>openTypeOS2TypoDescender</key>
<integer>-362</integer>
<key>openTypeOS2TypoLineGap</key>
<integer>0</integer>
<key>openTypeOS2VendorID</key>
<string>CYRE</string>
<key>openTypeOS2WeightClass</key>
<integer>400</integer>
<key>openTypeOS2WinAscent</key>
<integer>1201</integer>
<key>openTypeOS2WinDescent</key>
<integer>362</integer>
<key>postscriptBlueValues</key>
<array>
<integer>-292</integer>
<integer>-283</integer>
<integer>-20</integer>
<integer>0</integer>
<integer>518</integer>
<integer>527</integer>
<integer>800</integer>
<integer>820</integer>
</array>
<key>postscriptStemSnapH</key>
<array>
<integer>110</integer>
<integer>100</integer>
</array>
<key>postscriptStemSnapV</key>
<array>
<integer>25</integer>
<integer>20</integer>
</array>
<key>postscriptUnderlinePosition</key>
<integer>-100</integer>
<key>postscriptUnderlineThickness</key>
<integer>50</integer>
<key>styleMapFamilyName</key>
<string>Prata</string>
<key>styleMapStyleName</key>
<string>regular</string>
<key>styleName</key>
<string>Regular</string>
<key>unitsPerEm</key>
<integer>1000</integer>
<key>versionMajor</key>
<integer>2</integer>
<key>versionMinor</key>
<integer>10</integer>
<key>xHeight</key>
<integer>518</integer>
</dict>
</plist>
11 changes: 11 additions & 0 deletions sources/instance_ufo/Prata-Regular.ufo/glyphs/A_-cy.glif
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="A-cy" format="2">
<advance width="719"/>
<unicode hex="0410"/>
<anchor x="360" y="0" name="bottom"/>
<anchor x="647" y="10" name="ogonek"/>
<anchor x="367" y="800" name="top"/>
<outline>
<component base="A"/>
</outline>
</glyph>
33 changes: 33 additions & 0 deletions sources/instance_ufo/Prata-Regular.ufo/glyphs/A_.glif
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version='1.0' encoding='UTF-8'?>
<glyph name="A" format="2">
<advance width="719"/>
<unicode hex="0041"/>
<anchor x="360" y="0" name="bottom"/>
<anchor x="647" y="10" name="ogonek"/>
<anchor x="367" y="800" name="top"/>
<outline>
<contour>
<point x="-28" y="0" type="line"/>
<point x="186" y="0" type="line"/>
<point x="186" y="21" type="line"/>
<point x="96" y="61" type="line"/>
<point x="177" y="271" type="line"/>
<point x="443" y="271" type="line"/>
<point x="528" y="34" type="line"/>
<point x="446" y="21" type="line"/>
<point x="446" y="0" type="line"/>
<point x="740" y="0" type="line"/>
<point x="740" y="21" type="line"/>
<point x="648" y="36" type="line"/>
<point x="375" y="820" type="line"/>
<point x="359" y="820" type="line"/>
<point x="70" y="61" type="line"/>
<point x="-28" y="21" type="line"/>
</contour>
<contour>
<point x="185" y="292" type="line"/>
<point x="316" y="644" type="line"/>
<point x="436" y="292" type="line"/>
</contour>
</outline>
</glyph>
Loading

0 comments on commit 68f0c02

Please sign in to comment.