Hi
Yes, you can set up your own font and TeX installations are a good
source of Type 1 fonts. Here is an example (paths obviously specific to
my [Ubuntu 20.04] OS and TeX installation) ...
cmlgc <- Type1Font("cmlgc",
rep("/usr/share/texlive/texmf-dist/fonts/afm/public/cm-lgc/fcmr6z.afm", 4
Hi
strheight(), which is based GEStrHeight(), is pretty crude, not only
ignoring descenders, but also only considering the ascent of the overall
font (capital "M").
There is a GEStrMetric(), which returns character-specific ascent and
descent, but that is only currently exposed via grid::str
I've mentioned in previous messages that I'm trying to redo rgl text.
Part of what I need is to measure the size of strings in pixels when
they are drawn by base graphics.
It appears that
strwidth(texts, "user", cex = cex, font = font, family = family)
gives accurate measurements of the wi
On 9/25/23 07:05, Martin Maechler wrote:
>> Hervé Pagès
>> on Sat, 23 Sep 2023 16:52:21 -0700 writes:
> > Hi Martin,
> > On 9/23/23 06:43, Martin Maechler wrote:
> >>> Hervé Pagès
> >>> on Fri, 22 Sep 2023 16:55:05 -0700 writes:
> >> > The problem is
Some of you may remember posts and/or e-mails about this topic
many months ago..
"Atomic vector" is a very well defined term for somewhat advanced
R users. E.g., from 'The R Language Manual' (in the development
version; i.e. made from latest R source code):
https://cran.r-project.org/doc/manua
> Hervé Pagès
> on Sat, 23 Sep 2023 16:52:21 -0700 writes:
> Hi Martin,
> On 9/23/23 06:43, Martin Maechler wrote:
>>> Hervé Pagès
>>> on Fri, 22 Sep 2023 16:55:05 -0700 writes:
>> > The problem is that you have things that are
>> > **semantically** dif
> Simone Giannerini
> on Sun, 24 Sep 2023 16:57:00 +0200 writes:
> Thank you for your comment, On Sat, Sep 23, 2023 at
> 9:51 PM Ben Bolker wrote:
>>
>> This is certainly worth discussing, but there's always a
>> heavy burden of back-compatibility; how much bette