Hello

Is there any way to find out the character code for the glyph handles passed
in the DrvTextOut, STROBJ struct?

For the true type fonts, are the glyph handles corresponding to the glyph
indexes in the true type font file? Or is there any way to map them?

Thank you
Luminita

RE: Glyph handles in DrvTextOut() by bobbym

bobbym
Tue Nov 16 13:11:49 CST 2004

------=_NextPart_0001_7A8AFF09
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


--------------------
From: "Luminita" <magisoft@zappmobile.ro>
Subject: Glyph handles in DrvTextOut()
Date: Wed, 10 Nov 2004 12:06:07 +0200
Hello

Is there any way to find out the character code for the glyph handles passed
in the DrvTextOut, STROBJ struct?

For the true type fonts, are the glyph handles corresponding to the glyph
indexes in the true type font file? Or is there any way to map them?

Thank you
Luminita


Luminata,
There is not always a 1:1 mapping between glyph indices and character codes
and vice versa.
This is expecially true with international character sets like Hebrew,
Arabic etc.
The string pstro->pwszOrg has a Unicode string if the below is NOT true:
if ( pstro->flAccel & SO_GLYPHINDEX_TEXTOUT )

Hope this helps.

Thank you,
Bobby Mattappally
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.

------=_NextPart_0001_7A8AFF09
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20
\par \pard\li720 --------------------
\par From: "Luminita" <magisoft@zappmobile.ro>
\par Subject: Glyph handles in DrvTextOut()
\par Date: Wed, 10 Nov 2004 12:06:07 +0200
\par Hello
\par
\par Is there any way to find out the character code for the glyph handles passed
\par in the DrvTextOut, STROBJ struct?
\par
\par For the true type fonts, are the glyph handles corresponding to the glyph
\par indexes in the true type font file? Or is there any way to map them?
\par
\par Thank you
\par Luminita
\par
\par
\par \pard Luminata,
\par There is not always a 1:1 mapping between glyph indices and character codes and vice versa.
\par This is expecially true with international character sets like Hebrew, Arabic etc.
\par The string pstro->pwszOrg has a Unicode string if the below is NOT true:
\par if ( pstro->flAccel & SO_GLYPHINDEX_TEXTOUT )
\par
\par Hope this helps.
\par
\par Thank you,
\par Bobby Mattappally
\par Microsoft
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par }
------=_NextPart_0001_7A8AFF09--