Hello
I have a problem with line spacing of the EucrosiaUPC font.
how set line spacing EucrosiaUPC
//Create Pdf document
PdfDocument document = new PdfDocument();
//Add a page
PdfPageBase pdfPage = document.Pages.Add();
string text = "Spire.PDF for .NET is a professional PDF API applied to creating, writing, editing, handling and reading PDF files without any external dependencies within .NET ( C#, VB.NET, ASP.NET, .NET Core, Xamarin ) application. Using this .NET PDF library, you can implement rich capabilities to create PDF files from scratch or process existing PDF documents entirely through C#/VB.NET without installing Adobe Acrobat.";
//Define font
PdfTrueTypeFont font = new PdfTrueTypeFont(new Font("EucrosiaUPC", 16f));
PdfStringFormat format = new PdfStringFormat();
//Set line spacing
format.LineSpacing = 20f;
RectangleF rectangle = new RectangleF(0, 0, 500, 100);
//Draw string
pdfPage.Canvas.DrawString(text, font, PdfBrushes.Black, rectangle, format);
//Save document
document.SaveToFile("result.pdf",FileFormat.PDF);