geom_label wrong horizontal padding for uppercase labels
inventionate opened this issue · 1 comments
inventionate commented
inventionate commented
Sorry for the noise. I had an error configuring the font metrics. With these settings everything works fine:
options(tikzDefaultEngine = "luatex")
options(tikzUnicodeMetricPackages = c(
"\\usepackage[T1]{fontenc}\n",
"\usetikzlibrary{calc}\n",
"\\usepackage{fontspec}\n",
"\setmainfont{Fira Sans Condensed}[
BoldFont = FiraSansCondensed-Medium.otf,
BoldItalicFont = FiraSansCondensed-MediumItalic.otf]\n"
)
)
options(tikzDocumentDeclaration = "\documentclass[11pt]{article}\n")
options(tikzLualatexPackages = c(
getOption("tikzLualatexPackages"),
"\setmainfont{Fira Sans Condensed}[
BoldFont = FiraSansCondensed-Medium.otf,
BoldItalicFont = FiraSansCondensed-MediumItalic.otf]\n"
)
)
Anyway, thank you for this great package!