We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Unicode Font

Thread ID:

Created:

Updated:

Platform:

Replies:

97085 Oct 27,2010 03:58 AM Feb 9,2011 03:43 AM Windows Forms 9
loading
Tags: PDF
Enrica EANDI
Asked On October 27, 2010 03:58 AM

Hi,

i've created a PDF file that contains two strings: the differences between the strings are only the Unicode flag.

1 Arial Narrow 12 (Unicode=False)
2 Arial Narrow 12 (Unicode=True)

The result is that the strings are different. Why?

I've attached a ZIP file that contains the visual basic project and the pdf result sample.


Regards,
Stefano M



UnicodePDFTest_55a787eb.zip

Geetha M [Syncfusion]
Replied On October 29, 2010 06:14 AM

Hi Stefano,

Thank you for your interest in Syncfusion products.

You need to create TrueTypeFont from the file when the document is set with PdfA1B conformance level. Please try the modified sample in the link below.

F97085.zip

Please let me know if you have any questions.

Regards,
Geetha


Enrica EANDI
Replied On November 2, 2010 01:25 PM

Hi Geetha,

thank you for your reply.

How can i create the font from the fontFile if I don't know where it is located but i know that it is installed on the pc? I can't distribute TTF file.

I have the font name ("Arial Narrow") and not the font file ("ARIALN.TTF").


Regards,
Stefano


Geetha M [Syncfusion]
Replied On November 8, 2010 06:51 AM

Hi Stefano,

For PdfA1B conformance documents, TrueTypeFont must be created from the font files so that the font information can be embed in the PDF document. You can get the file from the Fonts (Control Panel) in the PC. There is no need to distribute the font file.

Please let me know if you have any questions.

Regards,
Geetha


Enrica EANDI
Replied On November 9, 2010 12:54 PM

Hi Geetha M,

I use the font Arial Narrow in a console application and I distribute my application to thousands of users. The individuation of True Type font must be in c# code and I can't distribute the font.

Could you send me the same sample (F97085) without the embedded resource "ARIALN.TTF" assuming that I've installed the font in my pc (i want to use the installed font arial narrow)?


Regards,
Stefano


Selvakumar P [Syncfusion]
Replied On November 15, 2010 07:22 AM

Hi Stefano,

Currently in Essential PDF, we do not have provision for embedding the installed font in the computer.
In order to embed, it should be retrieved from a location as given in the earlier sample F97085.zip. However, we have added your request to our feature-requests list. We will let you know once this has been implemented.

Please let us know if you have any questions.

Regards,
Selvakumar.



Enrica EANDI
Replied On January 21, 2011 02:52 AM

Hi Selvakumar,

thank you for your reply.

The sample that i sent to Syncfusion contains two text with the first as Unicode and the second not Unicode.

The solution for you is to load the font from file, but this mode load the font always as Unicode but my first question was "Why the texts on Pdf are different if i use Unicode font or not Unicode font?".

I've another question: Is it possible to incorporate only fonts as Unicode? Unicode is larger than not Unicode but if I create the font as not Unicode it is not incorporated to the pdf. Why? Can I incorporate the font only if it is Unicode? If no, how can I use not unicode font and incorporate it? And why the aspect of an Arial Narrow text is different if it is Unicode or not?


Thanks

Regards,
Stefano


Selvakumar P [Syncfusion]
Replied On January 26, 2011 12:28 AM

Hi Stefano,

Unicode is a 16-bit encoding system that is defined by the Unicode Consortium. Unicode provides a unique number for every character, regardless of which platform, program, or language is being used. A hexadecimal number is used to represent that character. So, the texts are different when we use a Unicode font than a non Unicode font.

The text size is different when we use Unicode font because it contains fonts for different languages and scripts. So, typographical compromises are required.

Arial Unicode MS font is a complete font as it contains all characters in Arial plus full fonts for Japanese, Chinese, Korean, Arabic and Hebrew, plus all of the different symbol characters and character ranges.

Regards,
Selvakumar.


Enrica EANDI
Replied On February 8, 2011 07:57 AM

Hi Selvakumar,

thank you for your reply.

So can't I embed a non Unicode font, right? I can embed only Unicode font.


Thanks

Regards,
Stefano


Geetha M [Syncfusion]
Replied On February 9, 2011 03:43 AM

Hi Stefano,

You can embed any font (except PdfStandardFont) using the font file in PDF.

Please let me know if you have any questions.

Regards,
Geetha


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;