![]() ttf files in a folder: # Move to the fonts folder SF-Fonts-June19/SF-UI/*.otf do fontforge -script otf2ttf.sh $i done Step 3: Install the FontsĪll that’s left is to install all the fonts! To make this easier, let’s put all the. # Worked? Great! Let's convert them all upįor i in. SF-Fonts-June19/SF-UI/SF-UI-Display-Black.otf Sweet, now we can do our conversions! # Test out a single file to make sure it works as expected:įontforge -script otf2ttf.sh. mnt/c/Users/Chuck/Downloads/Assets/Fonts # Lost? Make sure you're in the right directory! Check using pwd pwd Make sure it’s executable over in bash land. # Quick and dirty hack: converts a font to truetype (.ttf)ĭone? Cool. You could call it anything really, but if you’re charting really unfamiliar territory it’s best to leave the names as is: #!/usr/local/bin/fontforge Linux typically mounts those devices on the root system under /mnt, so the path above is saying /folder where Linux mounts hard drive and USB drives/the C drive/usual folders.īack on Windows land, copy paste the script to a new file where you downloaded your fonts and call it otf2ttf.sh. If you think of your Local C: drive, that’s just a hard drive device on the computer. Since the file systems are quite different on a Windows machine versus a Linux machine, it’ll take a bit of getting used to and wrangling the two worlds to get to where you want to be. # Change directory to where you downloaded the fonts.Ĭd /mnt/c/Users/Chuck/Downloads/Assets/Fonts/ So, let’s install the fontforge cli (command line interface) tool: # Just to make sure we have the latest repo info Windows key + “bash.exe” or within the start menu, find the program “bash.exe”. Open up a bash terminal once you’re ready. I hooked up my system with Ubuntu as I thought most guides online would be in that format.Ģb. Plus, it’s the Swiss Army Knife of computers. If you haven’t used it before and are a bit daunted by using terminals, don’t worry I’ll try to make it as clear as possible :wink. Install the Windows subsystem for Linux on your machine: Ain’t as much fun though, is it? Let’s do the techie thing and convert them ourselves!Ģa. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |