If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
Product Page | Docs | Demos | Blog | Free Support | Temporary License | EULA
Aspose.Font Convert Micro Application
This micro application facilitates the conversion of fonts between different formats, including TTF, WOFF, and more, to any desired font format.
Competitive Features
- Supported Input Formats: TTF, WOFF, WOFF2, EOT, Type1 (PFA, PFB), CFF.
- Supported Output Formats: TTF, WOFF, WOFF2, SVG.
- Can be used both via command line and programmatically in your C# code, compatible with .NET 6.0/7.0.
Licensing
While the Aspose.Font Convert application is freely available, Aspose.Font .NET requires a valid license for use beyond trial limitations. You can apply your existing license or evaluate the application under the trial mode of Aspose.Font .NET.
System Requirements
- Requires .NET 6.0/7.0 on Windows, Linux, or MacOS.
- Aspose.Font Convert application installed.
Installation
The Aspose.Font Convert application can be installed either globally or locally, depending on your project’s needs. It is recommended to use the local installation for project-specific use to avoid version conflicts.
Global Installation:
To install Aspose.Font Convert globally on your machine, use the following command:
dotnet tool install --global Aspose.Font.Convert
Specify the --version
option if you need a specific version of the tool.
Local Installation:
For local installation within a specific project, first, navigate to your project’s root directory. Then, execute the following commands:
Create a tool-manifest if not already present:
Install Aspose.Font Convert locally:
dotnet tool install Aspose.Font.Convert --local
Again, you can specify the --version
option for a specific version.
Updating the Tool:
To update the Aspose.Font Convert tool to the latest version, use the dotnet tool update
command with either --global
or --local
, matching your installation type.
Uninstalling the Tool:
If you need to uninstall the tool, use the dotnet tool uninstall
command with either --global
or --local
, depending on how the tool was installed.
Usage
Command Line:
Convert your fonts using command-line arguments. Here are the available parameters:
-i, --input [Required]
: Path to the input font file.- Example:
--input "path/to/font.ttf"
-o, --output [Required]
: Path where the converted font will be saved.- Example:
--output "path/to/output/font.woff2"
-f, --format [Optional]
: Desired output font format. Supported formats include TTF, OTF, WOFF, WOFF2, and more, as per Aspose.Font supported font formats.- Example:
--format "woff2"
-l, --license [Optional]
: Path to your Aspose.Font .NET license file. This parameter is optional and only necessary if you have a license to apply.- Example:
--license "path_to_license.lic
-v, --verbose [Optional]
: Enable verbose output for detailed operation logging.
Example command-line usage:
Aspose.Font.Convert --input input.ttf --output output.woff2 --format woff2
Use from code:
using Aspose.Font.Convert;
using System.Threading.Tasks;
class Program
{
static async Task Main(string[] args)
{
// Initialize font convert options
var options = new ConvertOptions
{
// Required: Specify the input font file path
InputPath = "input.ttf",
// Required: Specify the output font file path
OutputPath = "output.woff2",
// Optional: Specify the output font format
ToFormat = "woff2"
};
// Conditional: Apply license if you have one
if (isLicensed)
{
options.LicenseFile = "path_to_license.lic";
}
// Execute the font conversion task
await ConvertTasks.Create(options).Execute();
}
}