freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] Problem with CMap Research


From: PILLET Céline
Subject: [ft-devel] Problem with CMap Research
Date: Fri, 22 Dec 2006 11:02:08 +0100

Hello,
 
i have a problem.
I use FreeType with an TTF Arial font (see attached file),
and i want to get the glyph "quoterigh". (Unicode value 0x2019 --> 0x92 --> Glyph Index 182 In FontLab).
 
With freeType, i can't get this glyph in the Cmap Format4, (i get the glyph 0) but when i try to put the value 182
in the fonction "FT_Load_Glyph", i get the real "quoterigh", not the default glyph.
 

Glyph.m_ID = FT_Get_Char_Index((m_vect_FT_FontFace.at(m_UI32_CurrentFace)),146);

Glyph.m_ID = 0;

This test works :

FT_Load_Glyph(m_vect_FT_FontFace.at(m_UI32_CurrentFace),182,FT_LOAD_NO_HINTING|FT_LOAD_NO_BITMAP);

Do you know why the CMap can't find this Glyph Index??

Please Help me!

Thanks.

Celine.

PS : i don't have another problems with FreeType, my compiler don't generate warnings for other such situations !!!

 

 
 

Céline PILLET
Ingénieur R&D
Département PrinterWorkflow
TagG-Informatique
ZI Praz Bon
73410 ALBENS FRANCE
Tél. : +33 (0) 4 79 34 31 00
Fax. : +33 (0) 4 79 34 31 02
N° interne : 445
address@hidden

This e-mail and any attachments thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by persons other than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer. Thank you for your cooperation.

 

Attachment: arial.ttf
Description: arial.ttf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]