svn: r4071
This commit is contained in:
Alex Roitman 2005-02-22 02:26:14 +00:00
parent 8ee891bee7
commit 0552710245

View File

@ -20,13 +20,6 @@
# $Id$
#------------------------------------------------------------------------
#
# Python modules
#
#------------------------------------------------------------------------
from gettext import gettext as _
#------------------------------------------------------------------------
#
# gramps modules
@ -37,7 +30,7 @@ import PluginMgr
import Errors
import ImgManip
import GrampsMime
from ReportUtils import rgb_color
from gettext import gettext as _
_H = 'Helvetica'
_HB = 'Helvetica-Bold'
@ -618,7 +611,7 @@ class PdfDoc(BaseDoc.BaseDoc):
#
#------------------------------------------------------------------------
def make_color(c):
return Color(rgb_color(c))
return Color(float(c[0])/255.0, float(c[1])/255.0, float(c[2])/255.0)
#------------------------------------------------------------------------
#