[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I've got a problem with TT_GET_GLYPHINDEX
From: |
Markus Humm |
Subject: |
I've got a problem with TT_GET_GLYPHINDEX |
Date: |
Tue, 22 Feb 2000 17:40:09 +0100 |
I'm writing a little API to use Freetype in my programs.
The most important function is OUTEXTXY which places a string onto
screen at x,y.
Therefore it gets the Unicode Table and translates the ASCII-String to
Unicode. Then it wants to get the glyphindex to be able to render the
glyph.
But TT_GET_GLYPHINDEX always reports 0 (I've tried ARIAL.TTF and
TIMES.TTF which came with Windows 3.x)
They've got a Unicode table and I'm using Freetype 1.3.1 (the Pascal
version).
I've attached my not working code as ZIP-File (Winzip 7).
If you need the TTFs I used, I can mail them as well.
All I need to konow is, why I always get 0 from TT_GET_GLYPHINDEX
Markus
ttf.zip
Description: Zip compressed data