Conversion overview and advanced conversion using Convert and SaveToFormat; supported formats require validation during migration.
Two documentation examples are implemented: TTF to WOFF with SaveToFormat, and CFF to TTF with Convert followed by renaming and saving. Runtime verification is pending the user-run tests.
From the repository root:
dotnet test src/Aspose.Font.Net/Aspose.Font.Tests.csproj --filter "TestCategory=ConvertFontExamples"Inputs under tests-data/Aspose.Font: TTF/montserrat-bold.ttf and CFF/29645.cff. BaseTests supplies the license setup and resolves DataDir and OutputDir. Outputs under tests-out/Aspose.Font.Net/ConvertFonts: TtfToWoff_out1.woff and CffToTtf_out.ttf. Assertions check saved files, reopen both outputs, and verify the converted font name. Convert targets TrueType here; these examples do not validate every format pair listed in the documentation.
- Documentation – Aspose.Font for .NET
- Product page – Aspose.Font for .NET
- Free Support Forum – Aspose.Font
- Blog – Aspose.Font Product Family
- API Reference – Aspose.Font for .NET
- NuGet – Aspose.Font
- .NET 5.0+, .NET Core, or .NET Framework
- Aspose.Font for .NET library