Skip to content

Commit

Permalink
Make tool names lowercase so the commands don't fail on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelsousa committed Feb 24, 2018
1 parent d975556 commit 1bb54c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions buildVFs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ ro_name=SourceSansVariable-Roman
it_name=SourceSansVariable-Italic

# build variable OTFs
buildMasterOTFs $rom/$ro_name.designspace
buildCFF2VF -p $rom/$ro_name.designspace
buildMasterOTFs $itm/$it_name.designspace
buildCFF2VF -p $itm/$it_name.designspace
buildmasterotfs $rom/$ro_name.designspace
buildcff2vf -p $rom/$ro_name.designspace
buildmasterotfs $itm/$it_name.designspace
buildcff2vf -p $itm/$it_name.designspace

# extract and subroutinize the CFF2 table
echo 'Subroutinizing' $rom/$ro_name.otf
Expand Down

2 comments on commit 1bb54c7

@thechinesekid
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there, for some reason, I can't compile the fonts from source. This is the error I got when I run build.sh:

makeotf [Note] Running makeotfexe with commands:
cd "/Users/hzheng/Downloads/source-sans-pro-master 2/Italic/Instances/SemiboldIt"
makeotfexe "-f" "font.ttf.tmp" "-o" "../../../target/TTF/SourceSansPro-SemiboldIt.ttf.temp_cff" -r -ff "font.ufo/features.fea" -lic "ADOBE" -gf "../../GlyphOrderAndAliasDB" -i -mf "../../../FontMenuNameDB" -shw
syntax error at ";" missing "}" [font.ufo/../../../../familyTables.fea 2]
makeotfexe [FATAL] aborting because of errors
makeotf [Error] Failed to build output font file '../../../target/TTF/SourceSansPro-SemiboldIt.ttf.temp_cff'.

It looks like a syntax error. Do you know what I can do to fix that error?

@miguelsousa
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thechinesekid the font data is correct, but you may have to use the latest build of the afdko which is available thru PyPi. Read the documentation on the afdko repo for more details on how to install it.

Related with adobe-type-tools/afdko#236

Please sign in to comment.