Kaydet (Commit) 16ae7484 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add declaration of the very deprecated FMGetATSFontRefFromFont

Change-Id: I6a1b0ee2e7e012080774d29ea6ea5db5e9229d82
üst 28a48f2a
......@@ -201,6 +201,12 @@ static void UpdateAttributesFromPSName( const String& rPSName, ImplDevFontAttrib
// -----------------------------------------------------------------------
#if MACOSX_SDK_VERSION >= 1070
extern "C" {
extern ATSFontRef FMGetATSFontRefFromFont(FMFont iFont);
}
#endif
static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDFA )
{
// all ATSU fonts are device fonts that can be directly rotated
......
......@@ -128,6 +128,12 @@ inline FourCharCode GetTag(const char aTagName[5])
static unsigned GetUShort( const unsigned char* p ){return((p[0]<<8)+p[1]);}
static unsigned GetUInt( const unsigned char* p ) { return((p[0]<<24)+(p[1]<<16)+(p[2]<<8)+p[3]);}
#if MACOSX_SDK_VERSION >= 1070
extern "C" {
extern ATSFontRef FMGetATSFontRefFromFont(FMFont iFont);
}
#endif
const ImplFontCharMap* ImplMacFontData::GetImplFontCharMap() const
{
// return the cached charmap
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment