Aspose.Font.Cpp
20.11.0
See the version list below for details.
dotnet add package Aspose.Font.Cpp --version 20.11.0
NuGet\Install-Package Aspose.Font.Cpp -Version 20.11.0
<PackageReference Include="Aspose.Font.Cpp" Version="20.11.0" />
paket add Aspose.Font.Cpp --version 20.11.0
#r "nuget: Aspose.Font.Cpp, 20.11.0"
// Install Aspose.Font.Cpp as a Cake Addin #addin nuget:?package=Aspose.Font.Cpp&version=20.11.0 // Install Aspose.Font.Cpp as a Cake Tool #tool nuget:?package=Aspose.Font.Cpp&version=20.11.0
Font Manipulation via C++ API
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.
Font Processing Features
- Load font files from disc as well as stream.
- Read font information and save updated font files to disc.
- Support for TrueType and OpenType Fonts.
- Work with CFF & Type1 fonts in your C++ Apps.
- Read Glyphs and Metrics information from Font files.
- Detect Latin Symbols in Fonts.
- Extract embedded licensing information from font files.
- Render text using font Glyphs.
New Features & Enhancements
- Since this monthly release
20.11
Aspose.Font for C++ is available for the Linux platform.
Please visit Aspose.Font for CPP 20.11 Release Notes for the detailed notes.
Read & Write Font Formats
TTF
Read Font Formats
TTC, OpenType, CFF, Type1
Supported Platforms
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.
Get Started with Aspose.Font for C++
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.
Check Latin Symbols Support in the Font using C++ Code
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()));
}
Home | Product Page | Docs | API Reference | Examples | Blog | Free Support | Temporary License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
native | native is compatible. |
-
- CodePorting.Native.Cs2Cpp.API (>= 20.11.0)
NuGet packages (1)
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.11.0 | 145 | 11/18/2024 |
24.10.0 | 221 | 10/29/2024 |
24.9.0 | 394 | 9/18/2024 |
24.8.0 | 683 | 8/22/2024 |
24.7.0 | 612 | 7/29/2024 |
24.6.0 | 1,039 | 6/16/2024 |
24.5.0 | 1,269 | 5/27/2024 |
24.4.0 | 1,522 | 4/25/2024 |
24.3.0 | 1,709 | 3/29/2024 |
24.2.0 | 1,842 | 2/21/2024 |
24.1.0 | 2,046 | 1/22/2024 |
23.12.0 | 2,353 | 12/18/2023 |
23.11.0 | 2,498 | 11/19/2023 |
23.10.0 | 2,865 | 10/18/2023 |
23.9.0 | 2,548 | 9/15/2023 |
23.8.0 | 2,952 | 8/14/2023 |
23.7.0 | 2,964 | 7/19/2023 |
23.6.0 | 3,252 | 6/22/2023 |
23.5.0 | 2,000 | 5/24/2023 |
23.4.0 | 2,342 | 4/21/2023 |
23.3.0 | 2,645 | 3/17/2023 |
23.2.0 | 3,045 | 2/17/2023 |
23.1.0 | 3,012 | 1/20/2023 |
22.12.0 | 3,385 | 12/23/2022 |
22.11.0 | 3,758 | 11/22/2022 |
22.10.0 | 455 | 10/28/2022 |
22.9.0 | 6,881 | 9/16/2022 |
22.8.0 | 4,139 | 8/19/2022 |
22.7.0 | 4,541 | 7/21/2022 |
22.6.0 | 4,499 | 6/23/2022 |
22.5.0 | 3,768 | 5/25/2022 |
22.4.0 | 4,285 | 4/26/2022 |
22.1.1 | 8,156 | 2/14/2022 |
21.12.0 | 3,346 | 12/17/2021 |
21.11.0 | 7,109 | 11/19/2021 |
21.10.0 | 5,107 | 10/17/2021 |
21.8.0 | 7,314 | 8/19/2021 |
21.7.0 | 3,499 | 7/19/2021 |
21.6.0 | 3,798 | 6/19/2021 |
21.5.1 | 437 | 5/19/2021 |
21.5.0 | 3,997 | 5/14/2021 |
21.4.0 | 2,920 | 4/16/2021 |
21.3.0 | 3,368 | 3/17/2021 |
21.2.0 | 4,779 | 2/19/2021 |
21.1.0 | 4,375 | 1/25/2021 |
20.12.0 | 4,153 | 12/15/2020 |
20.11.0 | 3,667 | 11/18/2020 |
20.10.0 | 3,012 | 10/20/2020 |
20.9.1 | 2,830 | 9/23/2020 |
20.9.0 | 528 | 9/23/2020 |