PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Dec 08, 2024 4:02 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: State of unicode
PostPosted: Fri Sep 20, 2024 8:32 pm 
Offline

Joined: Fri Sep 20, 2024 8:25 pm
Posts: 2
Hello and thanks for the great library.
I am using MigraDoc/PDFSharp for a while and am switching to v6 now.
What is the current state of unicode in PDFSharp?
I tried the examples from github but still have a problem with most glyphs.
Specifically the two classics:
Check Mark: ✔ (U+2714)
Cross Mark: ❌ (U+274C)

But I always get the empty rectangles.
I tried to embed other fonts and also tried using PDFSharp only (w/o MigraDoc) but to no avail.

I know that unicode was problematic in the old version but I also read that it's supported now.

Should MigraDoc and/or PDFSharp be able to render these glyphs or am I just missing something and this is not possible?

Any clarification is much appreciated.


Top
 Profile  
Reply with quote  
 Post subject: Re: State of unicode
PostPosted: Sun Sep 22, 2024 6:06 pm 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1019
Location: CCAA
Wally wrote:
Should MigraDoc and/or PDFSharp be able to render these glyphs or am I just missing something and this is not possible?
PDFsharp and MigraDoc are able to render these characters - provided you use a font that has them.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
 Post subject: Re: State of unicode
PostPosted: Sun Sep 22, 2024 9:34 pm 
Offline

Joined: Fri Sep 20, 2024 8:25 pm
Posts: 2
Thank you!
I searched and tried for so long and it was just the Font :oops:

Got it working perfectly now and am making very sure now, that all of the correct fonts get embedded in the project :D


Top
 Profile  
Reply with quote  
 Post subject: Re: State of unicode
PostPosted: Mon Sep 23, 2024 12:26 pm 
Offline
PDFsharp Guru
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 1019
Location: CCAA
BTW: Even 1Fxxx codes work with the right fonts - and even in colour now.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group