[Tikzdevice-bugs] Arial and Other Things

Cameron Bracken cameron.bracken at gmail.com
Fri Jul 30 00:56:12 CEST 2010


Hi Lorenzo-

We specifically don't allow the user to set the font family in the
traditional way because we expect the user to do that though LaTeX or
the document header options. Unfortunately this is directly related to
the previous problem:

There is definitely a bug in selecting fonts. It seems as though
Computer Modern was always used regardless of the font choice but I
never noticed because I used fonts with very similar metrics to cm.
Anyway, I hacked the code and got it to work (you can see from the
attached plot), but there is no general solution yet.  We will have to
figure out how we want to approach this problem from a user
perspective since the expected methods do not work.

-Cameron



On Thu, Jul 29, 2010 at 12:40 PM, Lorenzo Isella
<lorenzo.isella at gmail.com> wrote:
> On Tue, 2010-07-27 at 10:28 -0700, Charlie Sharpsteen wrote:
>> Thanks for taking the time to put together this example Lorenzo, I
>> will play with it and see if I can't figure something out.
>
> Hi,
> In case it matters, please take a look at
>
> http://bit.ly/9ATz9V
>
> where it is explained how to use arial fonts in R. I tried the
> suggestion (BTW, the path is /usr/share/fonts/truetype/msttcorefonts/ on
> my Ubuntu machine).
> The recipe allowed me to use arial fonts in ggplot2 plots (where I was
> using simply pdf() and not tikzDevice to generate the pdf file).
> I do not know if I can specify the font family in a tikzDevice call, but
> you probably do ;-).
> Cheers
>
> Lorenzo
>
> _______________________________________________
> Tikzdevice-bugs mailing list
> Tikzdevice-bugs at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/tikzdevice-bugs
>


More information about the Tikzdevice-bugs mailing list