From 5863e14953bd674e0cca165a36644e7e10d69007 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Fri, 1 Nov 2013 08:37:27 +0100 Subject: [PATCH] MRI-Binding: Bitmap: Add FIXME --- binding-mri/bitmap-binding.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/binding-mri/bitmap-binding.cpp b/binding-mri/bitmap-binding.cpp index fd54050..1e174b4 100644 --- a/binding-mri/bitmap-binding.cpp +++ b/binding-mri/bitmap-binding.cpp @@ -291,6 +291,11 @@ RB_METHOD(bitmapTextSize) DEF_PROP_OBJ(Bitmap, Font, Font, "font") +// FIXME: This isn't entire correct as the cloned bitmap +// does not get a cloned version of the original bitmap's 'font' +// attribute (the internal font attrb is the default one, whereas +// the stored iv visible to ruby would still be the same as the original) +// Not sure if this needs fixing though INITCOPY_FUN(Bitmap)