|
1 | 1 | # PdfSharpCore
|
2 | 2 |
|
3 |
| -[](https://codecov.io/github/ststeiger/PdfSharpCore?branch=master)  |
4 |
| - |
5 |
| -## About |
| 3 | +[](https://www.nuget.org/packages/PdfSharpCore/) |
| 4 | +[](https://github.com/ststeiger/PdfSharpCore/actions/workflows/build.yml) |
| 5 | +[](https://codecov.io/github/ststeiger/PdfSharpCore?branch=master) |
6 | 6 |
|
7 | 7 | **PdfSharpCore** is a partial port of [PdfSharp.Xamarin](https://github.com/roceh/PdfSharp.Xamarin/) for .NET Standard.
|
8 |
| -Additionally MigraDoc has been ported as well (from version 1.32).<br /> |
9 |
| - |
10 |
| -Support for images has been implemented with [ImageSharp](https://github.com/SixLabors/ImageSharp). |
11 |
| - |
12 |
| -## Example project |
| 8 | +Additionally MigraDoc has been ported as well (from version 1.32). |
| 9 | +Image support has been implemented with [SixLabors.ImageSharp](https://github.com/JimBobSquarePants/ImageSharp/) and Fonts support with [SixLabors.Fonts](https://github.com/SixLabors/Fonts). |
13 | 10 |
|
14 |
| -An example project is not included in this repository, but exists in the repository linked below. |
15 | 11 |
|
16 |
| -[Go to the example project](https://github.com/ststeiger/Stammbaum) |
| 12 | +## Table of Contents |
17 | 13 |
|
18 |
| -### Font resolving |
| 14 | +- [Documentation](docs/index.md) |
| 15 | +- [Example](#example) |
| 16 | +- [Contributing](#contributing) |
| 17 | +- [License](#license) |
19 | 18 |
|
20 |
| -There's a default font-resolver in [`FontResolver.cs`](https://github.com/ststeiger/PdfSharpCore/blob/master/PdfSharpCore/Utils/FontResolver.cs).<br /> |
21 |
| -It should work on Windows, Linux, OSX and Azure. <br /> |
22 |
| -Some limitations apply. <br /> |
23 |
| -See open issues. |
24 | 19 |
|
25 |
| -## Usage |
| 20 | +## Example |
26 | 21 |
|
27 | 22 | The following code snippet creates a simple PDF-file with the text 'Hello World!'.
|
28 | 23 | The code is written for a .NET 6 console app with top level statements.
|
@@ -50,8 +45,11 @@ gfx.DrawString("Hello World!", font, textColor, layout, format);
|
50 | 45 | document.Save("helloworld.pdf");
|
51 | 46 | ```
|
52 | 47 |
|
53 |
| -See the [example project](#example-project) for MigraDoc usage. |
| 48 | +## Contributing |
| 49 | + |
| 50 | +We appreciate feedback and contribution to this repo! |
| 51 | + |
54 | 52 |
|
55 | 53 | ## License
|
56 | 54 |
|
57 |
| -Distributed under the MIT License. See [`LICENSE.md`](LICENSE.md) for more information. |
| 55 | +This software is released under the MIT License. See the [LICENSE](LICENCE.md) file for more info. |
0 commit comments