Skip to content

Commit 7dffbb7

Browse files
authored
Merge pull request #263 from pamapa/fix-docu
docu: naming PDFsharpCore vs PdfSharpCore
2 parents 5f72b8f + 6b877fe commit 7dffbb7

21 files changed

+134
-134
lines changed

docs/MigraDocCore/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ MigraDocCore will create PDF documents.
2525

2626
## First steps
2727

28-
Both PDFsharpCore and MigraDocCore provide a lot of `AddXxx` functions.
28+
Both PdfSharpCore and MigraDocCore provide a lot of `AddXxx` functions.
2929
Typically these functions return the newly created objects. Once you’ve learned the basic principles it’s quite easy to work with.
3030
Intellisense helps a lot then.
3131

docs/MigraDocCore/samples/HelloWorld.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static void Main(string[] args)
2424
// This setting has no effect on the RTF renderer.
2525
// (The term 'font program' is used by Adobe for a file containing a font. Technically a 'font file'
2626
// is a collection of small programs and each program renders the glyph of a character when executed.
27-
// Using a font in PDFsharpCore may lead to the embedding of one or more font programs, because each outline
27+
// Using a font in PdfSharpCore may lead to the embedding of one or more font programs, because each outline
2828
// (regular, bold, italic, bold+italic, ...) has its own font program)
2929
const PdfFontEmbedding embedding = PdfFontEmbedding.Always;
3030

docs/MigraDocCore/samples/Invoice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Invoice
22

33
Shows how to create a simple invoice of a fictional book store.
4-
The invoice document is created with the MigraDocCore document object model and then rendered to PDF with PDFsharpCore.
4+
The invoice document is created with the MigraDocCore document object model and then rendered to PDF with PdfSharpCore.
55

66

77
## Creating the Document

docs/MigraDocCore/samples/MixMigraDocCoreAndPDFsharpCore.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Mix MigraDocCore and PDFsharpCore
1+
# Mix MigraDocCore and PdfSharpCore
22

3-
Demonstrates how to mix MigraDocCore and PDFsharpCore.
3+
Demonstrates how to mix MigraDocCore and PdfSharpCore.
44

55

66
## Creating the Document
@@ -14,10 +14,10 @@ static void Main()
1414
string filename = "MixMigraDocCoreAndPdfSharpCore.pdf";
1515
filename = Guid.NewGuid().ToString("D").ToUpper() + ".pdf";
1616
PdfDocument document = new PdfDocument();
17-
document.Info.Title = "PDFsharpCore XGraphic Sample";
17+
document.Info.Title = "PdfSharpCore XGraphic Sample";
1818
document.Info.Author = "Stefan Lange";
1919
document.Info.Subject = "Created with code snippets that show the use of graphical functions";
20-
document.Info.Keywords = "PDFsharpCore, XGraphics";
20+
document.Info.Keywords = "PdfSharpCore, XGraphics";
2121

2222
SamplePage1(document);
2323
SamplePage2(document);

docs/MigraDocCore/samples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Samples for [MigraDocCore](../index.md):
66
* [Hello MigraDocCore](HelloMigraDocCore.md)
77
* [Images](Images.md)
88
* [Invoice](Invoice.md)
9-
* [Mix MigraDocCore and PDFsharpCore](MixMigraDocCoreAndPDFsharpCore.md)
9+
* [Mix MigraDocCore and PdfSharpCore](MixMigraDocCoreAndPDFsharpCore.md)

docs/PdfSharpCore/faq.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
# PDFsharpCore > FAQ
1+
# PdfSharpCore > FAQ
22

3-
FAQ for [PDFsharpCore](index.md):
3+
FAQ for [PdfSharpCore](index.md):
44

55

6-
## What is PDFsharpCore
6+
## What is PdfSharpCore
77

8-
PDFsharpCore is a .NET library for creating and modifying Adobe PDF documents programmatically. It is written in C# and can be used from any .NET language.
8+
PdfSharpCore is a .NET library for creating and modifying Adobe PDF documents programmatically. It is written in C# and can be used from any .NET language.
99

1010

11-
## Is PDFsharpCore based on or does it require other libraries or tools?
11+
## Is PdfSharpCore based on or does it require other libraries or tools?
1212

13-
PDFsharpCore is newly designed and built from scratch in C#. Neither Adobe's PDF Library nor Acrobat are required.
13+
PdfSharpCore is newly designed and built from scratch in C#. Neither Adobe's PDF Library nor Acrobat are required.
1414

1515

16-
## What is the license of PDFsharpCore?
16+
## What is the license of PdfSharpCore?
1717

18-
PDFsharpCore is Open Source. You can copy, modify and integrate the source code of PDFsharpCore in your application without restrictions at all.
18+
PdfSharpCore is Open Source. You can copy, modify and integrate the source code of PdfSharpCore in your application without restrictions at all.
1919

20-
See also: PDFsharpCore [license](../../LICENCE.md)
20+
See also: PdfSharpCore [license](../../LICENCE.md)
2121

2222

23-
## Can PDFsharpCore show PDF files? Print PDF files? Create images from PDF files?
23+
## Can PdfSharpCore show PDF files? Print PDF files? Create images from PDF files?
2424

25-
PDFsharpCore comes with a preview control designed to visualize drawing operations of the XGraphics object, but it cannot render PDF files.
25+
PdfSharpCore comes with a preview control designed to visualize drawing operations of the XGraphics object, but it cannot render PDF files.
2626

2727
Further the DrawImage function can be used to draw so called form XObjects in PDF pages. If you try to render such an object in the preview, only the bounding box is drawn to show that it cannot be rendered.
2828

29-
The PDFsharpCore [samples](samples/index.md) show how to invoke Adobe Reader or Acrobat to view or print PDF files and how to invoke GhostScript to create images from PDF pages.
29+
The PdfSharpCore [samples](samples/index.md) show how to invoke Adobe Reader or Acrobat to view or print PDF files and how to invoke GhostScript to create images from PDF pages.
3030

3131

32-
## Can I use PostScript fonts with PDFsharpCore?
32+
## Can I use PostScript fonts with PdfSharpCore?
3333

34-
PDFsharpCore cannot work with PostScript fonts. Only TrueType fonts and OpenType fonts with TrueType outlines can be used with PDFsharpCore. Read more...
34+
PdfSharpCore cannot work with PostScript fonts. Only TrueType fonts and OpenType fonts with TrueType outlines can be used with PdfSharpCore. Read more...
3535

3636

37-
## Can PDFsharpCore run on Web Servers under Medium Trust?
37+
## Can PdfSharpCore run on Web Servers under Medium Trust?
3838

39-
You can run applications on web servers without full trust provided you only use fonts that are serviced by your own FontResolver. See the PDFsharpCore sample: [Font Resolver](samples/FontResolver.md) for further information.
39+
You can run applications on web servers without full trust provided you only use fonts that are serviced by your own FontResolver. See the PdfSharpCore sample: [Font Resolver](samples/FontResolver.md) for further information.
4040

4141

42-
## Does PDFsharpCore support for Arabic, Hebrew, CJK (Chinese, Japanese, Korean)?
42+
## Does PdfSharpCore support for Arabic, Hebrew, CJK (Chinese, Japanese, Korean)?
4343

4444
Not yet. Right-to-left languages are not yet supported. Only simple languages like English or German are supported, with an easy one-to-one relationship between characters and glyphs.
4545

@@ -49,35 +49,35 @@ It seems that Hebrew works if you reverse the strings and set all paragraphs to
4949

5050
Japanese characters will be displayed, but left to right and not top to bottom. We cannot read Japanese and cannot verify they are shown correctly. Make sure you select a font that contains Japanese characters.
5151

52-
Arabic characters have different shapes (glyphs), depending on their position (beginning, end, middle, isolated). PDFsharpCore does not support the selection of the correct glyphs. Arabic text may work if you reverse the string and if you make sure to select the correct Unicode characters for beginning, end, middle, or isolated display. Make sure you select a font that contains Arabic characters.
52+
Arabic characters have different shapes (glyphs), depending on their position (beginning, end, middle, isolated). PdfSharpCore does not support the selection of the correct glyphs. Arabic text may work if you reverse the string and if you make sure to select the correct Unicode characters for beginning, end, middle, or isolated display. Make sure you select a font that contains Arabic characters.
5353

5454

55-
## Which PDF versions are supported by PDFsharpCore?
55+
## Which PDF versions are supported by PdfSharpCore?
5656

57-
With PDFsharpCore you can create files with PDF versions from 1.2 (Adobe Acrobat Reader 3.0) through 1.7 (Adobe Reader 8.0).
58-
PDFsharpCore fully supports PDF 1.4 (Adobe Reader 5.0) including the transparency features introduced with this version.
59-
Some features of PDF 1.5 (Adobe Reader 6.0) are not yet implemented. Therefore PDFsharpCore cannot yet open all files marked for PDF 1.5 or higher. Since not all compression features of PDF 1.5 are implemented, with some files the file size may increase when they are processed with PDFsharpCore.
57+
With PdfSharpCore you can create files with PDF versions from 1.2 (Adobe Acrobat Reader 3.0) through 1.7 (Adobe Reader 8.0).
58+
PdfSharpCore fully supports PDF 1.4 (Adobe Reader 5.0) including the transparency features introduced with this version.
59+
Some features of PDF 1.5 (Adobe Reader 6.0) are not yet implemented. Therefore PdfSharpCore cannot yet open all files marked for PDF 1.5 or higher. Since not all compression features of PDF 1.5 are implemented, with some files the file size may increase when they are processed with PdfSharpCore.
6060

6161

62-
## Does PDFsharpCore support PDF/A?
62+
## Does PdfSharpCore support PDF/A?
6363

6464
Not yet.
6565

6666

67-
## Does PDFsharpCore support AcroForms?
67+
## Does PdfSharpCore support AcroForms?
6868

6969
There is limited support for AcroForms included.
7070

7171

72-
## Can I use PDFsharpCore to convert HTML or RTF to PDF?
72+
## Can I use PdfSharpCore to convert HTML or RTF to PDF?
7373

7474
No, not "out of the box", and we do not plan to write such a converter in the near future.
7575

76-
Yes, PDFsharpCore with some extra code can do it. But we do not supply that extra code.
76+
Yes, PdfSharpCore with some extra code can do it. But we do not supply that extra code.
7777
On NuGet and other sources you can find a third party library "HTML Renderer for PDF using PdfSharpCore" that converts HTML to PDF. And there may be other libraries for the same or similar purposes, too. Maybe they work for you, maybe they get you started.
7878

7979

80-
## Can I use PDFsharpCore to convert PDF to Word, RTF, HTML?
80+
## Can I use PdfSharpCore to convert PDF to Word, RTF, HTML?
8181

8282
No, and we do not plan to write such a converter in the near future.
8383

@@ -87,15 +87,15 @@ No, and we do not plan to write such a converter in the near future.
8787
There is an issue with the PDFs created by SQL Server 2008 Reporting Services. We are working on it.
8888
As a workaround, create reports with SQL Server 2005 Reporting Services. Workaround for SQL Server 2008 Reporting Services: For the DeviceSettings parameter for the Render method on the ReportExecutionService object, pass this value:
8989
`theDeviceSettings = "<DeviceInfo><HumanReadablePDF>True</HumanReadablePDF></DeviceInfo>";`.
90-
This disables PDF file compression for SSRS 2008. Then, PDFSharpCore is able to handle the resulting uncompressed PDF file. (Note: SSRS 2005 ignores this setting so it can be passed to both SSRS versions.)
90+
This disables PDF file compression for SSRS 2008. Then, PdfSharpCore is able to handle the resulting uncompressed PDF file. (Note: SSRS 2005 ignores this setting so it can be passed to both SSRS versions.)
9191

9292

93-
## Can I use PDFsharpCore to extract text from PDF?
93+
## Can I use PdfSharpCore to extract text from PDF?
9494

9595
This can be done at a low level. You can get at the characters in the order they are drawn - and most applications draw them from top-left to bottom-right. There are no high-level functions that return words, paragraphs, or whole pages.
9696

9797

98-
## Can PDFsharpCore simulate Bold or Italics?
98+
## Can PdfSharpCore simulate Bold or Italics?
9999

100100
Not yet.
101101

@@ -104,4 +104,4 @@ Not yet.
104104

105105
PDF is a vector format, so there are no DPI. Raster images used in a PDF file do have DPI, but DPI is determined by the usage.
106106
Consider an image with 300 DPI. This image can be embedded once in the PDF file, but can be drawn several times. There could be a thumbnail on page 1, a full size reproduction on page 2, and a double size reproduction on page 3. Thus the image is drawn with 600 DPI on page 1, 300 DPI on page 2, and 150 DPI on page 3. But when you watch the PDF file in Adobe Reader with a Zoom factor of 1000%, the DPI value will be much lower than that.
107-
PDF is vector. There is no DPI. PDFsharpCore uses Points as the unit for coordinates. There are 72 Points per Inch. For ease of use, units can be converted from Inch, Centimeter, Millimeter and other units.
107+
PDF is vector. There is no DPI. PdfSharpCore uses Points as the unit for coordinates. There are 72 Points per Inch. For ease of use, units can be converted from Inch, Centimeter, Millimeter and other units.

docs/PdfSharpCore/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# PDFsharpCore
1+
# PdfSharpCore
22

3-
PDFsharpCore is a .NET library for processing PDF file.
3+
PdfSharpCore is a .NET library for processing PDF file.
44
You create PDF pages using drawing routines known from GDI+.
5-
Almost anything that can be done with GDI+ will also work with PDFsharpCore.
5+
Almost anything that can be done with GDI+ will also work with PdfSharpCore.
66
Keep in mind it does no longer depend on GDI+, as it was ported to make use of [ImageSharp](https://github.com/SixLabors/ImageSharp).
7-
Only basic text layout is supported by PDFsharpCore, and page breaks are not created automatically.
7+
Only basic text layout is supported by PdfSharpCore, and page breaks are not created automatically.
88
The same drawing routines can be used for screen, PDF, or meta files.
99

1010
* [Features](#features)
@@ -26,7 +26,7 @@ The same drawing routines can be used for screen, PDF, or meta files.
2626

2727
## First steps
2828

29-
Both PDFsharpCore and MigraDocCore provide a lot of `AddXxx` functions.
29+
Both PdfSharpCore and MigraDocCore provide a lot of `AddXxx` functions.
3030
Typically these functions return the newly created objects. Once you’ve learned the basic principles it’s quite easy to work with.
3131
Intellisense helps a lot then.
3232

docs/PdfSharpCore/samples/Annotations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This sample shows how to create PDF annotations.
44

5-
PDFsharpCore supports the creation of the following annotations:
5+
PdfSharpCore supports the creation of the following annotations:
66
* [Text annotations](#text-annotations)
77
* [Text annotations opened](#text-annotations-opened)
88
* [Rubber stamp annotations](#rubber-stamp-annotations)

docs/PdfSharpCore/samples/Clock.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void Page_Load(object sender, EventArgs e)
1212
// Create new PDF document
1313
PdfDocument document = new PdfDocument();
1414
this.time = document.Info.CreationDate;
15-
document.Info.Title = "PDFsharpCore Clock Demo";
15+
document.Info.Title = "PdfSharpCore Clock Demo";
1616
document.Info.Author = "Stefan Lange";
1717
document.Info.Subject = "Server time: " +
1818
this.time.ToString("F", CultureInfo.InvariantCulture);
@@ -80,7 +80,7 @@ static void DrawText(XGraphics gfx, XPen pen, XBrush brush)
8080
{
8181
XSize size = gfx.PageSize;
8282
XGraphicsPath path = new XGraphicsPath();
83-
path.AddString("PDFsharpCore",
83+
path.AddString("PdfSharpCore",
8484
new XFontFamily("Verdana"), XFontStyle.BoldItalic, 60,
8585
new XRect(0, size.Height / 3.5, size.Width, 0), XStringFormats.Center);
8686
gfx.DrawPath(new XPen(pen.Color, 3), brush, path);

docs/PdfSharpCore/samples/ExportImages.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
This sample shows how to export JPEG images from a PDF file.
44

5-
Note: This snippet shows how to export JPEG images from a PDF file. PDFsharpCore cannot convert PDF pages to JPEG files. This sample does not handle non-JPEG images. It does not (yet) handle JPEG images that have been flate-encoded.
5+
Note: This snippet shows how to export JPEG images from a PDF file. PdfSharpCore cannot convert PDF pages to JPEG files. This sample does not handle non-JPEG images. It does not (yet) handle JPEG images that have been flate-encoded.
66

77
There are several different formats for non-JPEG images in PDF. Those are not supported by this simple sample and require several hours of coding, but this is left as an exercise to the reader.
88

9-
PDFsharpCore cannot render PDF pages - not to printers, not to bitmaps, not to JPEG files.
9+
PdfSharpCore cannot render PDF pages - not to printers, not to bitmaps, not to JPEG files.
1010

1111

1212
## Code
@@ -97,6 +97,6 @@ static void ExportAsPngImage(PdfDictionary image, ref int count)
9797
// PdfSharpCore.Pdf.Advanced/PdfImage.cs to see how we create the PDF image formats.
9898
// We don't need that feature at the moment and therefore will not implement it.
9999
// If you write the code for exporting images I would be pleased to publish it in a future release
100-
// of PDFsharpCore.
100+
// of PdfSharpCore.
101101
}
102102
```

0 commit comments

Comments
 (0)