From 91032d1ca06d5c1741d3d1d79b84ed54564ac63c Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Tue, 22 Jun 2004 14:43:34 +0000 Subject: [PATCH] Disabled some code until I can figure out the changes in FT2's font cache subsys tem from 2.1.4 to 2.1.8 git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8129 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/server/FontFamily.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/servers/app/server/FontFamily.cpp b/src/servers/app/server/FontFamily.cpp index 6adda1bb03..4097fb042a 100644 --- a/src/servers/app/server/FontFamily.cpp +++ b/src/servers/app/server/FontFamily.cpp @@ -96,11 +96,16 @@ const char *FontStyle::Name(void) \brief Returns a handle to the style in question, straight from FreeType's cache \return FreeType face handle or NULL if there was an internal error */ + +// TODO: Re-enable when I understand how the FT2 Cache system changed from +// 2.1.4 to 2.1.8 +/* FT_Face FontStyle::GetFace(void) { FT_Face f; return (FTC_Manager_Lookup_Face(ftmanager,cachedface,&f)!=0)?f:NULL; } +*/ /*! \brief Returns the path to the style's font file @@ -116,6 +121,10 @@ const char *FontStyle::GetPath(void) \param c An ASCII character \return A Unicode value for the character */ + +// TODO: Re-enable when I understand how the FT2 Cache system changed from +// 2.1.4 to 2.1.8 +/* int16 FontStyle::ConvertToUnicode(uint16 c) { FT_Face f; @@ -124,6 +133,7 @@ int16 FontStyle::ConvertToUnicode(uint16 c) return FT_Get_Char_Index(f,c); } +*/ /*! \brief Creates a new ServerFont object for the style, given size, shear, and rotation.