|
1 |
| -# Configuration file for fontmake |
| 1 | +# The configuration for the builder is in YAML format. You can use |
| 2 | +# https://www.yamllint.com/ to make sure that your configuration |
| 3 | +# file is correctly formatted. |
2 | 4 |
|
| 5 | +# First we need to define the source files to build. Please list |
| 6 | +# all sources in the same family. These are expected to be in the |
| 7 | +# sources/ directory, so all paths should be relative to that |
| 8 | +# directory. |
3 | 9 | sources:
|
4 |
| - - path: Parkinsans_AW_Google.glyphs |
5 |
| - familyName: Parkinsans |
6 |
| - styleName: Regular |
7 |
| - weight: 400 |
8 |
| - - path: Parkinsans_AW_Google.glyphs |
9 |
| - familyName: Parkinsans |
10 |
| - styleName: Light |
11 |
| - weight: 300 |
12 |
| - - path: Parkinsans_AW_Google.glyphs |
13 |
| - familyName: Parkinsans |
14 |
| - styleName: Semibold |
15 |
| - weight: 600 |
16 |
| - - path: Parkinsans_AW_Google.glyphs |
17 |
| - familyName: Parkinsans |
18 |
| - styleName: Bold |
19 |
| - weight: 700 |
20 |
| - - path: Parkinsans_AW_Google.glyphs |
21 |
| - familyName: Parkinsans |
22 |
| - styleName: Extrabold |
23 |
| - weight: 800 |
| 10 | + - Parkinsans_AW_Google.glyphs |
| 11 | +# You don't have to supply the family name, but builds are slightly |
| 12 | +# faster if you do. |
| 13 | +#familyName: "Parkinsans" |
| 14 | + |
| 15 | +# Next you can supply alternative paths for where you want the |
| 16 | +# binaries to live. But we'd recommend you stick to the defaults |
| 17 | +# especially if you are planning to upload your font to Google Fonts. |
24 | 18 |
|
25 |
| -output: |
26 |
| - variable: false # Set to true if you want to create a variable font |
27 |
| - static: true |
28 |
| - formats: |
29 |
| - - ttf # Add other formats if needed, e.g., otf |
| 19 | +outputDir: ../fonts |
| 20 | +# vfDir: $outputDir/variable |
| 21 | +ttDir: $outputDir/ttf |
| 22 | +otDir: $outputDir/otf |
| 23 | +woffDir: $outputDir/webfonts |
| 24 | + |
| 25 | +# The following entries, which are either "true" or "false" |
| 26 | +# determine which targets to build. We turn off OTFs for this demo. |
| 27 | + |
| 28 | +buildVariable: false |
| 29 | +buildStatic: true |
| 30 | +buildTTF: true |
| 31 | +buildOTF: false |
| 32 | +# buildSmallCap: false |
| 33 | + |
| 34 | +# The next flags control autohinting. |
| 35 | +# autohintTTF: true |
| 36 | +# autohintOTF: false |
| 37 | +# ttfaUseScript: false # Set this to true if your font is not Latin |
| 38 | + |
| 39 | +# The "fix" operation can optionally fix some problems which |
| 40 | +# are better dealt with in the font sources. Set this to true if you |
| 41 | +# want gftools-fix to automatically fix source problems. |
| 42 | +# includeSourceFixes: true |
| 43 | + |
| 44 | +# These options give fine-grained control over how fontmake builds |
| 45 | +# the fonts. |
| 46 | +# flattenComponents: true |
| 47 | +# decomposeTransformedComponents: true |
| 48 | +# checkCompatibility: true |
| 49 | +# overlaps: booleanOperations |
| 50 | +# expandFeaturesToInstances: false |
| 51 | +# reverseOutlineDirection: true |
| 52 | +# removeOutlineOverlaps: true |
| 53 | +# extraFontmakeArgs: "" |
| 54 | +# extraVariableFontmakeArgs: "" |
| 55 | +# extraStaticFontmakeArgs: "" |
| 56 | +# glyphData: GlyphData.xml |
| 57 | + |
| 58 | +# This control how STAT tables are generated. The STAT table is |
| 59 | +# specified here as a list of axis names, tags and values. You |
| 60 | +# can either map a list to each output VF, or provide a single |
| 61 | +# list which is used for all VFs. Note that the build will fail |
| 62 | +# if you specify a dictionary which does not contain an entry |
| 63 | +# for each VF file built. |
| 64 | +# stat: |
| 65 | +# RadioCanadaDisplay[wght].ttf: |
| 66 | +# - name: Weight |
| 67 | +# tag: wght |
| 68 | +# values: |
| 69 | +# - name: Regular |
| 70 | +# value: 400 |
| 71 | +# linkedValue: 700 |
| 72 | +# flags: 2 |
| 73 | +# - name: Medium |
| 74 | +# value: 500 |
| 75 | +# - name: SemiBold |
| 76 | +# value: 600 |
| 77 | +# - name: Bold |
| 78 | +# value: 700 |
| 79 | +# - name: Italic |
| 80 | +# tag: ital |
| 81 | +# values: |
| 82 | +# - name: Roman |
| 83 | +# value: 0 |
| 84 | +# linkedValue: 1 |
| 85 | +# flags: 2 |
| 86 | +# RadioCanadaDisplay-Italic[wght].ttf: |
| 87 | +# - name: Weight |
| 88 | +# tag: wght |
| 89 | +# values: |
| 90 | +# - name: Regular |
| 91 | +# value: 400 |
| 92 | +# linkedValue: 700 |
| 93 | +# flags: 2 |
| 94 | +# - name: Medium |
| 95 | +# value: 500 |
| 96 | +# - name: SemiBold |
| 97 | +# value: 600 |
| 98 | +# - name: Bold |
| 99 | +# value: 700 |
| 100 | +# - name: Italic |
| 101 | +# tag: ital |
| 102 | +# values: |
| 103 | +# - name: Italic |
| 104 | +# value: 1 |
| 105 | +# Configuration file for fontmake |
30 | 106 |
|
31 | 107 | instances:
|
32 | 108 | - familyName: Parkinsans
|
|
0 commit comments