Aspose.PDF.Cpp 22.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.PDF.Cpp --version 22.4.0                
NuGet\Install-Package Aspose.PDF.Cpp -Version 22.4.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.PDF.Cpp" Version="22.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.PDF.Cpp --version 22.4.0                
#r "nuget: Aspose.PDF.Cpp, 22.4.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.PDF.Cpp as a Cake Addin
#addin nuget:?package=Aspose.PDF.Cpp&version=22.4.0

// Install Aspose.PDF.Cpp as a Cake Tool
#tool nuget:?package=Aspose.PDF.Cpp&version=22.4.0                

Font Manipulation via C++ API

Version 22.4.0 Nuget

banner

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.

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.

Read & Write Font Formats

TTF

Read Font Formats

TTC, OpenType, CFF, Type1, WOFF/WOFF2

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()));
}

Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.PDF.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.10.1 877 10/18/2024
24.9.0 1,115 9/17/2024
24.8.0 1,615 8/21/2024
24.7.0 1,304 7/19/2024
24.6.0 2,238 6/20/2024
24.5.0 2,757 5/16/2024
24.4.0 2,998 4/22/2024
24.3.0 3,789 3/18/2024
24.2.1 3,650 2/23/2024
24.1.0 19,488 1/20/2024
23.12.0 4,187 12/20/2023
23.11.0 4,690 11/21/2023
23.10.0 4,678 10/20/2023
23.9.0 4,679 9/20/2023
23.8.0 5,736 8/17/2023
23.7.0 6,033 7/25/2023
23.6.0 5,721 6/20/2023
23.5.0 7,384 5/22/2023
23.4.0 6,126 4/17/2023
23.3.0 10,452 3/20/2023
23.2.0 8,266 2/20/2023
23.1.0 6,824 1/23/2023
22.12.1 9,935 12/28/2022
22.11.0 7,656 11/22/2022
22.10.1 10,164 10/21/2022
22.9.0 7,118 9/15/2022
22.8.0 8,392 8/17/2022
22.7.0 8,879 7/22/2022
22.6.0 8,714 6/21/2022
22.5.0 8,100 5/24/2022
22.4.0 9,315 4/25/2022
22.3.0 9,009 3/21/2022
22.2.0 8,870 2/21/2022
22.1.0 2,797 1/20/2022
21.12.0 6,845 12/20/2021
21.11.0 12,440 11/17/2021
21.10.0 8,792 10/18/2021
21.8.0 12,866 8/13/2021
21.7.0 6,672 7/16/2021
21.6.0 7,870 6/17/2021
21.5.1 1,537 5/18/2021
21.5.0 4,155 5/18/2021
21.4.0 11,526 4/15/2021
21.3.0 6,925 3/16/2021
21.2.0 8,344 2/16/2021
21.1.0 8,106 1/22/2021
20.12.0 8,352 12/19/2020
20.11.0 7,392 11/18/2020
20.10.0 6,342 10/21/2020
20.9.0 6,379 9/21/2020
20.8.0 6,021 8/24/2020
20.7.2 5,650 8/4/2020
20.7.1 1,734 8/4/2020
20.7.0 9,908 7/17/2020
20.6.0 11,029 6/18/2020
20.5.0 6,379 5/21/2020
20.4.0 9,695 4/22/2020
20.3.0 6,775 3/16/2020
20.2.0 10,024 2/17/2020
20.1.0 2,079 1/20/2020
19.12.1 2,578 12/17/2019
19.12.0 2,142 12/16/2019
19.11.0 5,034 11/19/2019
19.10.0 1,507 10/18/2019
19.9.0 1,746 9/13/2019
19.8.0 1,808 8/14/2019
19.7.0 1,797 7/14/2019
19.6.0 1,713 6/23/2019
19.5.0 1,782 5/15/2019
19.4.0 1,744 4/14/2019
19.3.0 1,731 3/15/2019
19.2.0 1,753 2/22/2019
19.1.0 1,707 1/30/2019
18.12.0 1,763 12/27/2018
18.11.0 23,654 11/30/2018
18.4.0 2,253 4/28/2018
18.3.0 1,954 3/28/2018
18.2.1 2,870 2/26/2018
18.2.0 2,015 2/26/2018