OMR - v5.0 Template generation - Content elements with bold style do not render the last character

when generating a template using the Content elements with font_style bold, in the generated image the last letter of the Content is not rendered.

{
	"element_type": "Template",
	"children": [
		{
			"element_type": "Page",
			"children": [
				{
					"element_type": "Container",
					"name": "GeneralInfo",
					"block_bottom_margin": 0,
					"block_top_padding": 0,
					"columns_count": 2,
					"children": [
						{
							"element_type": "Block",
							"column": 1,
							"vertical_padding": 0,
							"horizontal_padding": 0,
							"children": [
								{
									"element_type": "Image",
									"name": "instructions.png",
									"height": 530,
									"width": 970
								}
							]
						},
						{
							"element_type": "Block",
							"column": 2,
							"overflow": "noclip",
							"vertical_padding": 0,
							"horizontal_padding": 0,
							"children": [
								{
									"element_type": "Paragraph",
									"paragraph_type": "Inline",
									"children": [
										{
											"name": "Culture and Geography of Romania plus Culture and Geography of Romania",
											"element_type": "Content"
										}
									]
								},
								{
									"element_type": "Paragraph",
									"paragraph_type": "Inline",
									"children": [
										{
											"name": "Date: ",
											"element_type": "Content",
											"font_style": "bold"
										},
										{
											"name": "09-05-2024",
											"element_type": "Content"
										}
									]
								},
								{
									"element_type": "Paragraph",
									"paragraph_type": "Inline",
									"children": [
										{
											"name": "Candidate: ",
											"element_type": "Content",
											"font_style": "bold"
										},
										{
											"name": "Homer Simpsone",
											"element_type": "Content"
										}
									]
								},
								{
									"name": "Candidate's signature",
									"element_type": "Content",
									"font_style": "bold"
								}
							]
						},
						{
							"element_type": "Block",
							"column": 2,
							"vertical_padding": 0,
							"horizontal_padding": 0,
							"border": "rounded",
							"height": 250,
							"children": [
								{
									"element_type": "Content",
									"name": " "
								}
							]
						}
					]
				},
				{
					"element_type": "EmptyLine"
				},
				{
					"element_type": "AnswerSheet",
					"name": "AnswersSection1",
					"elements_count": 15,
					"columns_count": 4,
					"answers_count": 5,
					"bubble_size": "normal",
					"vertical_margin": 10,
					"answers_list": [
						"A",
						"B",
						"C",
						"D",
						"E"
					]
				}
			]
		}
	]
}

Page settings:
fontFamily: “Arial”,
fontStyle: FontStyle.Regular,
fontSize: 10,
paperSize: PaperSize.A4,
pageMarginLeft: 50,

MissingLastCharacter.png (253.3 KB)
instructions.png (34.4 KB)

Hello, @opaspm1

I have registered this issue as OMRCLOUD-220.

Please provide us with additional information for this generation request:

  1. Code used for sending request.
  2. Request body (GlobalPageSettings etc)
  3. Images presenting in template ( “instructions.png”)

I have updated the ticket with the required info. To reproduce this, you can just use the swagger interface (Aspose.OMR Cloud - API References).

Hello, @opaspm1

I can confirm the issue, and we will work on solving it the nearest future.
I will notify on this thread on task completion.

Hello, @opaspm1

We have fixed the issue with text generation.
Please confirm if issue is resolved.

Thank you!

Yes. it seems to be fixed.