From edzer@pebe@m@ @ending from uni-muen@ter@de  Wed Sep  5 09:46:25 2018
From: edzer@pebe@m@ @ending from uni-muen@ter@de (Edzer Pebesma)
Date: Wed, 5 Sep 2018 09:46:25 +0200
Subject: [Rd] [FORGED] Re:  plotmath degree symbol
In-Reply-To: <feca79b4-79d8-41d2-f24d-146ceae155aa@stat.auckland.ac.nz>
References: <d83487b0-3b9b-43ab-bfd7-6526ee63012a@uni-muenster.de>
 <CAGAA5beFhuiO4QDm0_NGagti1w7_R4SuyKKTQS2oa5ydiznaVg@mail.gmail.com>
 <feca79b4-79d8-41d2-f24d-146ceae155aa@stat.auckland.ac.nz>
Message-ID: <c32eaaa3-ad15-c81d-ce3e-5b54adbb30d9@uni-muenster.de>

Thanks, Paul -- setting the ~/.fonts.conf file the way ?X11 describes it
under the section you pointed to resolved the problem for me, on ubuntu.

On 09/04/2018 11:55 PM, Paul Murrell wrote:
> Hi
> 
> Thanks for that, but I still cannot confirm on ...
> 
> sudo docker run -v $(pwd):/home/work/ -w /home/work --rm -ti
> rocker/r-ver:3.5.1
> 
> Could you please read the comments within the "Cairo Fonts" section of
> the ?X11 help page, in case that offers some explanation.
> 
> Paul
> 
> 
> On 29/08/18 02:15, Martin M?ller Skarbiniks Pedersen wrote:
>> On Fri, 24 Aug 2018 at 19:53, Edzer Pebesma
>> <edzer.pebesma at uni-muenster.de> wrote:
>>>
>>> In plotmath expressions, R's degree symbol, e.g. shown by
>>>
>>> plot(1, main = parse(text = "1*degree*C"))
>>>
>>> has sunk to halfway the text line, instead of touching its top. In older
>>> R versions this looked much better.
>>
>> I can confirm this problem.
>>
>> R version 3.5.1 (2018-07-02)
>> Platform: x86_64-pc-linux-gnu (64-bit)
>> Running under: Ubuntu 18.04.1 LTS
>>
>> Matrix products: default
>> BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
>> LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
>>
>> locale:
>> ? [1] LC_CTYPE=en_US.UTF-8?????? LC_NUMERIC=C
>> ? [3] LC_TIME=en_US.UTF-8??????? LC_COLLATE=en_US.UTF-8
>> ? [5] LC_MONETARY=en_US.UTF-8??? LC_MESSAGES=en_US.UTF-8
>> ? [7] LC_PAPER=en_US.UTF-8?????? LC_NAME=C
>> ? [9] LC_ADDRESS=C?????????????? LC_TELEPHONE=C
>> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>>
>> attached base packages:
>> [1] stats???? graphics? grDevices utils???? datasets? methods?? base
>>
>> loaded via a namespace (and not attached):
>> [1] compiler_3.5.1
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
> 

-- 
Edzer Pebesma
Institute for Geoinformatics
Heisenbergstrasse 2, 48151 Muenster, Germany
Phone: +49 251 8333081


[Rd] [FORGED] Re: plotmath degree symbol
Edzer Pebesma