Re: [Rd] Font problem (PR#9906)

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Wed, 12 Sep 2007 12:40:02 -0500

On Wed, Sep 12, 2007 at 04:52:19PM +0200, manuel.munoz_at_uca.es wrote:
> Full_Name: M. Muñoz Márquez
> Version: 2.3.1

Note that this is over a year out of date ...

> OS: Ubuntu

... even though the R FAQ tells you that you can get current R versions for Ubuntu from all CRAN mirror with a simple apt-get.

> Submission from: (NULL) (150.214.231.66)
>
>
> Here is the reply to the edit command using gnome
> > edit(data.frame())
> Erro en dataentry(datalist, modes) : invalid device
> Además: Warning message:
> unable to create fontset -*-fixed-medium-r-normal--13-*-*-*-*-*-*-*
> > Sys.getlocale()
> [1] "LC_CTYPE=es_ES.UTF-8;LC_NUMERIC=C;LC_TIME=es_ES.UTF-8;LC_COLLATE=es_ES.UTF-8;LC_MONETARY=es_ES.UTF-8;LC_MESSAGES=es_ES.UTF-8;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C"
>
> Under kde it works fine.

Demonstrating that it is a local admin problem that your fonts aren't right. IIRC there was an Ubuntu issue that /etc/X11/xorg.conf ended up with a misspecified font path. FWIW, I use

Section "Files"

        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        #
        FontPath        "/usr/share/X11/fonts/misc"
	FontPath        "/usr/share/X11/fonts/cyrillic"
	FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath        "/usr/share/X11/fonts/Type1"
	FontPath        "/usr/share/X11/fonts/100dpi"
	FontPath        "/usr/share/X11/fonts/75dpi"
	FontPath        "/usr/share/X11/fonts/misc"
	# path to defoma fonts
        FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Hoep this helps, Dirk

>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Three out of two people have difficulties with fractions.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 12 Sep 2007 - 17:47:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Sep 2007 - 18:40:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.