Skip to content

Commit b3fdc23

Browse files
dessyordanovayordan-mitevYoanKar
authored
Dess ai coding assistant (#611)
* AI Coding Assistant - intro * Getting started * DPL MCP server * Update mcp-server.md * fix slugs * Update overview.md * addressed feedback * changes * replaced image * Add images * move down * Update ai-coding-assistant/overview.md Co-authored-by: Yordan <[email protected]> * Update ai-coding-assistant/overview.md Co-authored-by: Yordan <[email protected]> * Update ai-coding-assistant/overview.md Co-authored-by: Yordan <[email protected]> * Update ai-coding-assistant/copilot-extension.md Co-authored-by: Yordan <[email protected]> * Update ai-coding-assistant/copilot-extension.md Co-authored-by: Yordan <[email protected]> * Update ai-coding-assistant/mcp-server.md Co-authored-by: Yordan <[email protected]> * Update ai-coding-assistant/mcp-server.md Co-authored-by: Yordan <[email protected]> * Update ai-coding-assistant/mcp-server.md Co-authored-by: Yordan <[email protected]> * Fixed MPC Visual Studio snippet. * Update overview.md * SVG FormSource. * Barcode FormSource. * Draft for Prompt Library * FontsProvider Note. * test the layout for the prompt cards * fix column width * middle column removed * Update prompt-library.md * hide the ai section from the toc. * Remove temporray the AI section --------- Co-authored-by: Yordan <[email protected]> Co-authored-by: PROGRESS\ykaraman <[email protected]>
1 parent 72ec487 commit b3fdc23

File tree

23 files changed

+50
-19
lines changed

23 files changed

+50
-19
lines changed

libraries/radpdfprocessing/concepts/fonts.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ position: 5
1818

1919
>note As of **Q2 2024** RadPdfProcessing offers support for OTF (OpenType Font) font file format.
2020
21+
>important In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
22+
2123
## Supported Font Types
2224

2325
>tip *A character is an abstract symbol, whereas a glyph is a specific graphical rendering of a character. Glyphs are organized into fonts. A font defines glyphs for a particular character set; for example, the Helvetica and Times fonts define glyphs for a set of standard Latin characters. A font for use with a PDF consumer application is prepared in the form of a program. Such a font program is written in a special-purpose language, such as the Type 1 or TrueType font format, that is understood by a specialized font interpreter. In PDF, the term `font` refers to a font dictionary, a PDF object that identifies the font program and contains additional information about it. There are several different font types, identified by the Subtype entry of the font dictionary. For most font types, the font program is defined in a separate font file, which may be either embedded in a PDF stream object or obtained from an external source. The font program contains glyph descriptions that generate glyphs. A content stream paints glyphs on the page by specifying a font dictionary and a string object that is interpreted as a sequence of one or more character codes identifying glyphs in the font. * (PDF Reference 1.7)

libraries/radpdfprocessing/editing/block.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Inserting [TextFragments]({%slug radpdfprocessing-model-textfragment%}) is achie
4040

4141
>The '\r' and '\n' characters don't have the usual meaning of "go to next line" when they are inserted into a PDF document and you cannot simply insert text containing these characters to produce multiline text. Instead, you should insert a line break.
4242
43+
>important In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
44+
4345
### Inserting Line Break
4446

4547
Inserting a line break results in the next element starting on a new line. The action is achieved with the __InsertLineBreak()__ method as shown in __Example 2__.

libraries/radpdfprocessing/editing/radfixeddocumenteditor.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ The character properties that are responsible for the look of the runs are liste
210210

211211
>In order for the character properties to be respected, make sure to set them __before__ inserting the Run.
212212
213+
>important In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
214+
213215
### Inserting a Run
214216

215217
There are a number of overloads that insert a run. The code snippet in __Example 5__ inserts new runs with specific font family, style and weight.

libraries/radpdfprocessing/editing/text-and-graphic-properties.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ The TextProperties also exposes the following methods, which can be used for cha
110110

111111
* __TextProperties.TrySetFont(fontFamily, fontStyle, fontWeight);__
112112

113+
>important In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
114+
113115
## Preserving Current State
114116

115117
Both Text and Graphic properties contain methods that can preserve and restore the current state.

libraries/radpdfprocessing/features/accessibility-support/create-accessible-pdf-documents.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ RadFixedDocument offers a constructor allowing to specify the **AutoTag** proper
2121

2222
>note Please refer to the [PdfProcessing Accessibility Demo](https://demos.telerik.com/document-processing/pdfprocessing/accessibility) which demonstrates how to create accessible PDF documents programmatically, ensuring compliance with standards such as PDF/UA by supporting features like tagged content, document structure, and metadata. Downloaded documents will adhere to the selected compliance level.
2323
24+
>important In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
25+
2426
## Creating Accessible PDF Documents and Building the StructureTree
2527

2628
When exporting the document, specify the [TaggingStrategy]({%slug radpdfprocessing-model-tagged-pdf%}#tagging-strategy) so the document should not be tagged automatically and use the existing StructureTree:

libraries/radpdfprocessing/features/embedded-file-streams/embedded-file-streams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ RadPdfProcessing provides support for embedding of [ZUGFeRD](https://de.wikipedi
6969

7070
>note Only a single XML invoice attachment is allowed according to ZUGFeRD standard.
7171
72-
>important To comply with the PDF/A-3B standard all the fonts in the documents should be embedded, so please avoid using [Standard Fonts]({%slug radpdfprocessing-concepts-fonts%}) because they are not being embedded in the document.
72+
>important To comply with the PDF/A-3B standard all the fonts in the documents should be embedded, so please avoid using [Standard Fonts]({%slug radpdfprocessing-concepts-fonts%}) because they are not being embedded in the document. In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
7373
7474
#### **[C#] Remove ZUGFeRD invoice**
7575

libraries/radpdfprocessing/model/actions/named-actions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ The following example demonstrates how to create a PDF document with a [PushButt
7575

7676
![Print Named Action](images/print-named-action.gif)
7777

78+
>important In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
79+
7880
## See Also
7981

8082
* [FormField]({%slug radpdfprocessing-model-interactive-forms-form-fields%})

libraries/radpdfprocessing/model/annotations/stamp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,16 @@ The **AnnotationContentSource** class, accessed by the **Content** property of t
102102
}
103103

104104
formEditor.TextProperties.FontSize = 20;
105+
formEditor.TextProperties.Font = FontsRepository.Courier;
105106
formEditor.Position.Translate(10, 10);
106107
formEditor.DrawText(text);
107108
}
108109
```
109110

110111
![Create StampAnnotation with Appearance](images/pdf-processing-create-stampannotation-with-appearance.png)
111112

113+
>important In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
114+
112115
## See Also
113116

114117
* [AcroForm]({%slug radpdfprocessing-model-interactive-forms-acroform %})

libraries/radpdfprocessing/model/annotations/text-markup.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,16 @@ Depending on the TextMarkupAnnotationType the respective type of the TextMarkup
9696
}
9797

9898
formEditor.TextProperties.FontSize = 16;
99+
formEditor.TextProperties.Font = FontsRepository.Courier;
99100
formEditor.Position.Translate(10, 10);
100101
formEditor.DrawText(text);
101102
}
102103
```
103104

104105
![Create Highlight Annotation with Appearance](images/pdf-processing-create-highlight-annotation-with-appearance.gif)
105106

107+
>important In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
108+
106109
## Underline
107110

108111
```csharp

libraries/radpdfprocessing/model/annotations/text.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ The FixedContentEditor offers the public **DrawTextAnnotation** method which cre
6464

6565
The **AnnotationContentSource** class, accessed by the **Content** property of the annotation object, represents the [FormSource]({%slug radpdfprocessing-model-formsource-overview%}) instances used for displaying the widget content. The following example shows how to change the annotation's visual appearance when the mouse is not interacting with the widget (**NormalContentSource**) and when the mouse is over the widget (**MouseOverContentSource**):
6666

67+
>important In **.NET Standard/.NET (Target OS: None)** environments, fonts beyond the [14 standard ones]({%slug radpdfprocessing-concepts-fonts%}#standard-fonts) require a [FontsProvider implementation]({%slug pdfprocessing-implement-fontsprovider%}) to be resolved correctly.
68+
6769
```csharp
6870
private RadFixedDocument CreateTextAnnotation()
6971
{
@@ -102,6 +104,7 @@ The **AnnotationContentSource** class, accessed by the **Content** property of t
102104
}
103105

104106
formEditor.TextProperties.FontSize = 10;
107+
formEditor.TextProperties.Font = FontsRepository.Courier;
105108
formEditor.Position.Translate(10, 10);
106109
formEditor.DrawText(text);
107110
}

0 commit comments

Comments
 (0)