freetype-devel
[Top][All Lists]
Advanced

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

[Devel] FreeType Internal Types


From: Salman Khilji
Subject: [Devel] FreeType Internal Types
Date: Thu, 1 Apr 2004 16:18:16 -0800
User-agent: KMail/1.5.1

Is it safe to #include internal FreeType files in my project?  I am
doing the following:

#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_INTERNAL_TYPE1_TYPES_H

Reason:  I need to cast an FT_Face object to T1_Face object so that I
can access the following two elements:

face->type1->encoding->code_first and
face->type1->encoding->code_last

I need this because the an embedded PDF Font Dictionary needs this.

Can I access these elements directly instead of #including
FT_INTERNAL_TYPE1_TYPES_H?

Salman



reply via email to

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