[Rd] Font problem (PR#9906)

Dirk Eddelbuettel
2007-09-12T17:40:02Z

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.