Re: Embedding phonetic symbols in R

Sverre Stausland <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CACtaF7z882hdVdyTNsGWHHV8qAx0eOt=xb98s6VOcexq0K0TJg@mail.gmail.com>
This is more or less what I came to as well. In order to us the Cairo
package in R, it needs to be "compiled with support for fontconfig and
freetype". However, as indicated earlier in this thread, I haven't
been able to figure out how to do so (in Windows XP). I tried to
follow a rather vague recipe, but did not succeed.

Could someone please tell me what I need to do to install Cairo in Windows?

Thanks
Sverre

> Library(Cairo) loads the Cairo package from CRAN.  CairoFonts() is a
> function in R which calls a C function named cairo_font_set().
>
> The latter only works if the R Cairo package is compiled with support
> for fontconfig and freetype.  That is the norm on linux, bsd and similar
> systems, but not so typical on windows.
>
> What you are trying to do will only work if Cairo is compiled against a
> version of libcairo which is compiled with freetype and fontconfig support.
>
> Otherwise, if you want to avoid freetype and fontconfig you'd have to
> get its author to add support for user font selection on windows .
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.