This is a cross-platform library providing infrastructure and interfaces, font processing and text analysis to GrapeCity.Documents.Pdf and GrapeCity.Documents.Barcode.
This package is automatically added by those packages, there is no need to reference it directly.

There is a newer version of this package available.
See the version list below for details.
Install-Package GrapeCity.Documents.Common -Version
dotnet add package GrapeCity.Documents.Common --version
<PackageReference Include="GrapeCity.Documents.Common" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GrapeCity.Documents.Common --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

# Changes from version

## Breaking changes
- Image, GcGraphics, Pen, Brush, TextRenderer classes moved to GrapeCity.Documents.Imaging package, which is now required for GcPdf to work. If you reference the GcPdf NuGet package, after updating to the new GcPdf a reference to GrapeCity.Documents.Imaging will be added automatically.

## Bug fixes
- Issue when applying LineSpacingScaleFactor to inline objects in TextLayout.
- Single-character line breaks did not work with TextLayout with specified ObjectRects.
- Several issues in ContentWidthFitsInBounds and ContentHeightFitsInBounds properties of the TextLayout class.
- Unnecessary trimming of trailing spaces in TextLayout.
- Exception occurred when loading Font from a stream that does not support seeking.
- TextFormat.Tag property associated with GlyphRun had an incorrect value.

## New features and improvements
- Added TrimmingGranularity and EllipsisCharCode properties to TextLayout for text trimming.
- Added DelimiterCharCode and DelimiterCharCount properties to TextLayout to specify the portion of text to be preserved from trimming.
- Added JustifiedSpaceShrinking property to TextLayout to make justified text more compact.
- Added RecalcFontSizeForFallbackFonts property to TextFormat: indicates whether the size of fallback font should be coerced to the size of original font (true by default).
- Added the GlyphAdvanceOffset property to TextFormat specifying the additional increment to the glyph advance value.
- Added MeasureStringWithTrailingWhitespace() method to GcGraphics.
- Added ContentWithWhitespaceBounds and other related properties to TextLayout.
- Added font fallback support to combining marks.
- The value of GcGraphics.FontCollection is now copied to TextLayout.FontCollection in the GcGraphics.CreateTextLayout() method.
- Added opacity parameter to GcGraphics.DrawImage(...) methods.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (52)

Showing the top 5 NuGet packages that depend on GrapeCity.Documents.Common:

Package Downloads
GrapeCity Documents for Imaging (GcImaging) is a cross-platform library that allows to create, load, and save raster images. GcImaging supports several popular image formats including PNG, JPEG, TIFF, BMP and GIF. It provides powerful text layout, font management and graphics engines that allow to draw high-quality text and graphics on images. It allows to resize, rotate, and crop images, apply various filters and effects, and convert images between all supported image formats. GcImaging does not depend on any specific hardware or third-party libraries, and works on all platforms that support .NET Standard 2.0. HTML content can be rendered using the optional GcHtml library ( The online Documents for Imaging sample browser is available at
GrapeCity Documents for PDF (GcPdf) is a cross-platform library that allows to create, analyze, and modify PDF documents. Its object model closely follows the Adobe PDF specification, and is designed to provide direct access to features of the PDF format. In addition, Documents for PDF includes a powerful and platform-independent font handling and text layout engine and other high-level features that make PDF document creation easy and convenient. HTML content can be rendered using the optional GcHtml library ( The online Documents for PDF sample browser is available at
This is a platform-specific library allowing other GrapeCity.Documents packages to work with optimized system APIs on Windows. It provides support for font linking specified in the Windows registry, and access to native Windows imaging APIs, improving performance and adding some features.
ActiveReports rendering with GcDocs implementation
GrapeCity ActiveReports is a set of assemblies that enable you to create, render, print, and export reports in a .NET or .NET Core application. This package includes the core engine assemblies required to create and render pixel perfect, WYSIWYG, reports.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 0 8/11/2020 1,018 7/20/2020 1,517 7/3/2020 1,407 6/18/2020 788 6/2/2020 1,293 5/7/2020 1,818 4/22/2020 3,305 4/9/2020 3,695 3/5/2020 3,355 1/13/2020 656 1/3/2020 1,812 12/8/2019 5,641 11/14/2019 1,952 10/24/2019 3,397 2/4/2020 5,598 11/7/2019 197 11/6/2019 639 10/12/2019 2,089 9/20/2019 2,649 8/21/2019 857 8/5/2019 2,215 7/11/2019 1,886 6/9/2019 1,269 4/24/2019 1,344 3/25/2019 416 3/12/2019 959 3/1/2019 1,832 1/25/2019 564 12/18/2018 3,462 12/5/2018 442 11/21/2018 567 11/13/2018 629 10/24/2018 687 9/28/2018 2,004 5/15/2018 1,318 5/1/2018 804 3/12/2018 373 2/24/2018 389 2/9/2018
Show less