diff -Nurd cairomm-1.8.2.ori/cairomm/quartz_font.cc cairomm-1.8.2/cairomm/quartz_font.cc --- cairomm-1.8.2.ori/cairomm/quartz_font.cc 2008-12-20 15:37:46.000000000 -0200 +++ cairomm-1.8.2/cairomm/quartz_font.cc 2009-09-05 14:47:35.000000000 -0300 @@ -30,21 +30,24 @@ check_object_status_and_throw_exception(*this); } -QuartzFontFace::QuartzFontFace(ATSUFontID font_id) : - FontFace(cairo_quartz_font_face_create_for_atsu_font_id(font_id), true) +RefPtr QuartzFontFace::create(CGFontRef font) { - check_object_status_and_throw_exception(*this); + return RefPtr(new QuartzFontFace(font)); } -RefPtr QuartzFontFace::create(CGFontRef font) + +#ifndef __LP64__ +QuartzFontFace::QuartzFontFace(ATSUFontID font_id) : + FontFace(cairo_quartz_font_face_create_for_atsu_font_id(font_id), true) { - return RefPtr(new QuartzFontFace(font)); + check_object_status_and_throw_exception(*this); } RefPtr QuartzFontFace::create(ATSUFontID font_id) { return RefPtr(new QuartzFontFace(font_id)); } +#endif } diff -Nurd cairomm-1.8.2.ori/cairomm/quartz_font.h cairomm-1.8.2/cairomm/quartz_font.h --- cairomm-1.8.2.ori/cairomm/quartz_font.h 2008-12-20 15:37:46.000000000 -0200 +++ cairomm-1.8.2/cairomm/quartz_font.h 2009-09-05 14:53:00.000000000 -0300 @@ -46,6 +46,7 @@ */ static RefPtr create(CGFontRef font); +#ifndef __LP64__ /** Creates a new font for the Quartz font backend based on an ATSUFontID. * This font can then be used with Context::set_font_face() or * ScaledFont::create(). @@ -55,11 +56,14 @@ * @since 1.8 */ static RefPtr create(ATSUFontID font_id); +#endif protected: QuartzFontFace(CGFontRef font); +#ifndef __LP64__ QuartzFontFace(ATSUFontID font_id); +#endif }; }