From simon.urbanek at r-project.org  Tue Oct 25 17:48:43 2011
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Tue, 25 Oct 2011 11:48:43 -0400
Subject: [Rd] R fails when converting units using Hershey-Fonts
In-Reply-To: <7E039D56-F37A-4D54-8461-BAADFDFB649C@gmx.de>
References: <7E039D56-F37A-4D54-8461-BAADFDFB649C@gmx.de>
Message-ID: <465FF9BA-3A06-4367-9BFE-6DDDB3770260@r-project.org>

Thanks, now fixed.
Simon


On Oct 25, 2011, at 5:21 AM, Mark Heckmann wrote:

> I run into some problems when trying to convert units using Hershey-Fonts: R chrashes.
> 
>> library(grid)
>> label <- "some text"
>> pushViewport(viewport(gp=gpar(fontfamily="HersheySerif")))
>> convertHeight(stringHeight(label), unitTo="mm")              
> 
> *** caught segfault ***
> address 0xadc838f8, cause 'memory not mapped'
> 
> Traceback:
> 1: .Call(fnname, ..., PACKAGE = "grid")
> 2: grid.Call("L_convert", x, as.integer(whatfrom), as.integer(whatto),     valid.units(unitTo))
> 3: convertUnit(x, unitTo, "y", "dimension", "y", "dimension", valueOnly = valueOnly)
> 4: convertHeight(stringHeight(label), unitTo = "mm")
> 
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> 
> 
> System: MacOS 10.6.4
> R version 2.13.2 (2011-09-30)
> Platform: i386-apple-darwin9.8.0/i386 (32-bit)
> 
> ???????????????????????????????????????
> Mark Heckmann
> Blog: www.markheckmann.de
> R-Blog: http://ryouready.wordpress.com
> 
> 
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] R fails when converting units using Hershey-Fonts
Simon Urbanek