![]() |
VOOZH | about |
dotnet add package Aspose.Font.Cpp --version 26.5.0
NuGet\Install-Package Aspose.Font.Cpp -Version 26.5.0
<PackageReference Include="Aspose.Font.Cpp" Version="26.5.0" />
<PackageVersion Include="Aspose.Font.Cpp" Version="26.5.0" />Directory.Packages.props
<PackageReference Include="Aspose.Font.Cpp" />Project file
paket add Aspose.Font.Cpp --version 26.5.0
#r "nuget: Aspose.Font.Cpp, 26.5.0"
#:package Aspose.Font.Cpp@26.5.0
#addin nuget:?package=Aspose.Font.Cpp&version=26.5.0Install as a Cake Addin
#tool nuget:?package=Aspose.Font.Cpp&version=26.5.0Install as a Cake Tool
Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License
Aspose.Font for C++ is a C++ API that offers you a library of readily available C++ code for font processing and manipulation. Our API enables your C++ applications to load, edit, and save font data as well as render any desired Glyph or text.
TTF
TTC, OpenType, CFF, Type1, WOFF/WOFF2
Aspose.Font for C++ is a native library. It supports 32-bit as well as 64-bit operating systems. Also, you can use Aspose.Font for C++ to develop applications in any development environment that supports C++, but the listed environments are explicitly supported.
Microsoft Windows: Microsoft Windows desktop (XP, Vista, 7, 8, 10) and server operating systems (2003, 2008, 2012), etc. Development Environments: Microsoft Visual C++ version 2017 or higher.
Are you ready to give Aspose.Font for C++ a try? Simply execute Install-Package Aspose.Font.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Font for C++ and want to upgrade the version, please execute Update-Package Aspose.Font.Cpp to get the latest version.
System::String fileName = dataDir + u"Montserrat-Regular.ttf";
//Font file name with full path
System::SharedPtr<FontDefinition> fd = System::MakeObject<FontDefinition>(Aspose::Font::FontType::TTF, System::MakeObject<FontFileDefinition>(u"ttf", System::MakeObject<FileSystemStreamSource>(fileName)));
System::SharedPtr<TtfFont> ttfFont = System::DynamicCast_noexcept<Aspose::Font::Ttf::TtfFont>(Aspose::Font::Font::Open(fd));
bool latinText = true;
for (uint32_t code = 65; code < static_cast<uint32_t>(123); code++)
{
System::SharedPtr<GlyphId> gid = ttfFont->get_Encoding()->DecodeToGid(code);
if (gid == nullptr || gid == System::StaticCast<System::Object>(GlyphUInt32Id::get_NotDefId()))
{
latinText = false;
}
}
if (latinText)
{
System::Console::WriteLine(System::String::Format(u"Font {0} supports latin symbols.", ttfFont->get_FontName()));
}
else
{
System::Console::WriteLine(System::String::Format(u"Latin symbols are not supported by font {0}.", ttfFont->get_FontName()));
}
Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| native | native native is compatible. |
Showing the top 1 NuGet packages that depend on Aspose.Font.Cpp:
| Package | Downloads |
|---|---|
|
Aspose.Total.Cpp
Aspose.Total for C++ is a complete package of C++ libraries specifically designed to create, manipulate and convert popular file formats from Microsoft Office and PDF without requiring Office or Adobe Automation. C++ API package also includes a specialized library to generate and recognize barcode labels from images with advanced features to customize the barcode generation and recognition process. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.5.0 | 218 | 5/20/2026 |
| 26.4.0 | 410 | 4/22/2026 |
| 26.3.0 | 500 | 3/27/2026 |
| 26.2.0 | 542 | 2/20/2026 |
| 26.1.0 | 586 | 1/28/2026 |
| 25.12.0 | 713 | 12/11/2025 |
| 25.11.0 | 806 | 11/28/2025 |
| 25.10.0 | 1,124 | 10/14/2025 |
| 25.9.0 | 1,099 | 9/18/2025 |
| 25.8.0 | 996 | 8/18/2025 |
| 25.7.0 | 1,393 | 7/22/2025 |
| 25.6.0 | 1,134 | 6/12/2025 |
| 25.5.0 | 1,020 | 5/16/2025 |
| 25.4.0 | 1,095 | 4/23/2025 |
| 25.3.0 | 969 | 3/21/2025 |
| 25.2.0 | 1,114 | 2/17/2025 |
| 25.1.0 | 1,151 | 1/21/2025 |
| 24.12.0 | 1,298 | 12/26/2024 |
| 24.11.0 | 1,347 | 11/18/2024 |
| 24.10.0 | 1,359 | 10/29/2024 |