font family ''My Font' not found in PostScript font database

During the package checks, when checking the example I am getting the following error:

  Warning in grid.Call(C_stringMetric, as.graphicsAnnot(x$label)) :
    font family 'My Font' not found in PostScript font database

My package contains the definition of a custom ggplot theme which refers to a custom font ('My Font'). This custom theme is included in the example.

I am using a windows machine and the required font is included in the windowsFonts(), therefore the example is working without any issue during normal circumstances.

I assume that a PostScript graphic device is used as default during the package checks and this is the reason why I getting this error. Is it correct?
Is there any workaround for this error?
Thank you.

This topic was automatically closed after 45 days. New replies are no longer allowed.


If you have a query related to it or one of the replies, start a new topic and refer back with a link.