[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Re-encoding interface requested?
From: |
Sander van der Wal |
Subject: |
[Devel] Re-encoding interface requested? |
Date: |
Mon, 12 Mar 2001 13:25:06 +0100 |
Hi
A couple of weeks ago (8 jan 2001) Leonard Rosenthol had a problem
with custom encodings for Type 1 fonts and CFF fonts having no cmap.
I have the same problems (because I am also doing a PDF viewer) and I
think that the solution is to add a function to the public interface
of freetype2. Right now there's FT_Get_Char_Index, to translate a
character code to a glyph index. If there would be a function
FT_UInt FT_Get_Glyphname_Index(FT_Face* face, const FT_String*
glyph_name)
that returned the glyph index based on the glyph name, client
applications could do the re-encoding themselves.
Is this a reasonable way? I can work on the implementations.
Sander van der Wal
- [Devel] Re-encoding interface requested?,
Sander van der Wal <=