{
  "_id": "6a14bb29acfb0bcc41d4b4c0",
  "Package": "gdtools",
  "Title": "Font Metrics and Font Management Utilities for R Graphics",
  "Version": "0.5.1",
  "Authors@R": "c(\nperson(\"David\", \"Gohel\", , \"david.gohel@ardata.fr\", role = c(\"aut\", \"cre\")),\nperson(\"Hadley\", \"Wickham\", , \"hadley@rstudio.com\", role = \"aut\"),\nperson(\"Lionel\", \"Henry\", , \"lionel@rstudio.com\", role = \"aut\"),\nperson(\"Jeroen\", \"Ooms\", , \"jeroen@berkeley.edu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-4035-0289\")),\nperson(\"Yixuan\", \"Qiu\", role = \"ctb\"),\nperson(\"R Core Team\", role = \"cph\",\ncomment = \"Cairo code from X11 device\"),\nperson(\"ArData\", role = \"cph\"),\nperson(\"RStudio\", role = \"cph\")\n)",
  "Description": "Compute text metrics (width, ascent, descent) using\n'Cairo' and 'FreeType', independently of the active graphic\ndevice. Font lookup is delegated to 'systemfonts'. Additional\nutilities let users register 'Google Fonts' or bundled\n'Liberation' fonts, check font availability, and assemble\n'htmlDependency' objects so that fonts are correctly embedded\nin 'Shiny' applications, 'R Markdown' documents, and\n'htmlwidgets' outputs such as 'ggiraph'.",
  "License": "GPL-3 | file LICENSE",
  "URL": "https://davidgohel.github.io/gdtools/",
  "BugReports": "https://github.com/davidgohel/gdtools/issues",
  "Encoding": "UTF-8",
  "SystemRequirements": "cairo, freetype2, fontconfig",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-25 21:08:05 UTC",
    "User": "root"
  },
  "Author": "David Gohel [aut, cre], Hadley Wickham [aut], Lionel Henry\n[aut], Jeroen Ooms [aut] (ORCID:\n<https://orcid.org/0000-0002-4035-0289>), Yixuan Qiu [ctb], R\nCore Team [cph] (Cairo code from X11 device), ArData [cph],\nRStudio [cph]",
  "Maintainer": "David Gohel <david.gohel@ardata.fr>",
  "Config/pak/sysreqs": "libcairo2-dev libfontconfig1-dev libfreetype6-dev",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-25 17:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/gdtools",
  "RemoteRef": "HEAD",
  "RemoteSha": "74763022a238e781afca77cef560eb39bbf388d5",
  "MD5sum": "ab7507fd39f26f7f5041277e50a13cef",
  "_user": "cran",
  "_type": "src",
  "_file": "gdtools_0.5.1.tar.gz",
  "_fileid": "166f5981aafe0e6add59029ad25af470c5d48e9e3dc381da30fee2bfb5545681",
  "_filesize": 230335,
  "_sha256": "166f5981aafe0e6add59029ad25af470c5d48e9e3dc381da30fee2bfb5545681",
  "_created": "2026-05-25T21:08:05.000Z",
  "_published": "2026-05-25T21:12:09.840Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77772177029,
      "time": 144,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7204944320"
    },
    {
      "job": 77772177026,
      "time": 202,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7204954017"
    },
    {
      "job": 77772177032,
      "time": 155,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7204945855"
    },
    {
      "job": 77772177020,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7204945018"
    },
    {
      "job": 77771881224,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7204920570"
    },
    {
      "job": 77772177009,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7204942818"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26419747689",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/gdtools",
  "_commit": {
    "id": "74763022a238e781afca77cef560eb39bbf388d5",
    "author": "David Gohel <david.gohel@ardata.fr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.1\n",
    "time": 1779729002
  },
  "_maintainer": {
    "name": "David Gohel",
    "email": "david.gohel@ardata.fr",
    "login": "davidgohel",
    "twitter": "@DavidGohel",
    "description": "",
    "uuid": 4331618
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "fontquiver",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.12",
      "role": "Imports"
    },
    {
      "package": "systemfonts",
      "version": ">= 1.3.1",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "gfonts",
      "role": "Suggests"
    },
    {
      "package": "methods",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 390,
  "_updates": [
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4.3",
      "date": "2025-08-26"
    },
    {
      "name": "0.4.4",
      "date": "2025-10-06"
    },
    {
      "name": "0.5.0",
      "date": "2026-02-09"
    },
    {
      "name": "0.5.1",
      "date": "2026-05-25"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "davidgohel",
      "count": 34,
      "uuid": 4331618
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 212612,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gdtools"
  },
  "_mentions": 18,
  "_devurl": "https://github.com/davidgohel/gdtools",
  "_pkgdown": "https://davidgohel.github.io/gdtools/",
  "_searchresults": 428,
  "_topics": [
    "cairo",
    "freetype",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gdtools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/davidgohel/gdtools",
  "_realowner": "davidgohel",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.3",
      "date": "2015-10-22"
    },
    {
      "version": "0.0.4",
      "date": "2015-10-28"
    },
    {
      "version": "0.0.5",
      "date": "2015-11-12"
    },
    {
      "version": "0.0.6",
      "date": "2015-11-25"
    },
    {
      "version": "0.0.7",
      "date": "2016-02-16"
    },
    {
      "version": "0.1.1",
      "date": "2016-11-01"
    },
    {
      "version": "0.1.2",
      "date": "2016-11-05"
    },
    {
      "version": "0.1.3",
      "date": "2016-11-11"
    },
    {
      "version": "0.1.4",
      "date": "2017-03-17"
    },
    {
      "version": "0.1.5",
      "date": "2017-08-08"
    },
    {
      "version": "0.1.6",
      "date": "2017-09-01"
    },
    {
      "version": "0.1.7",
      "date": "2018-02-27"
    },
    {
      "version": "0.1.8",
      "date": "2019-04-02"
    },
    {
      "version": "0.1.9",
      "date": "2019-06-18"
    },
    {
      "version": "0.2.0",
      "date": "2019-09-03"
    },
    {
      "version": "0.2.1",
      "date": "2019-10-14"
    },
    {
      "version": "0.2.2",
      "date": "2020-04-03"
    },
    {
      "version": "0.2.3",
      "date": "2021-01-06"
    },
    {
      "version": "0.2.4",
      "date": "2022-02-14"
    },
    {
      "version": "0.3.0",
      "date": "2023-01-15"
    },
    {
      "version": "0.3.1",
      "date": "2023-02-17"
    },
    {
      "version": "0.3.2",
      "date": "2023-03-13"
    },
    {
      "version": "0.3.3",
      "date": "2023-03-27"
    },
    {
      "version": "0.3.4",
      "date": "2023-10-15"
    },
    {
      "version": "0.3.5",
      "date": "2023-12-09"
    },
    {
      "version": "0.3.6",
      "date": "2024-02-22"
    },
    {
      "version": "0.3.7",
      "date": "2024-03-05"
    },
    {
      "version": "0.4.0",
      "date": "2024-08-28"
    },
    {
      "version": "0.4.1",
      "date": "2024-11-04"
    },
    {
      "version": "0.4.2",
      "date": "2025-03-27"
    },
    {
      "version": "0.4.3",
      "date": "2025-08-26"
    },
    {
      "version": "0.4.4",
      "date": "2025-10-06"
    },
    {
      "version": "0.5.0",
      "date": "2026-02-09"
    },
    {
      "version": "0.5.1",
      "date": "2026-05-25"
    }
  ],
  "_exports": [
    "addGFontHtmlDependency",
    "check_gfonts",
    "dummy_setup",
    "font_family_exists",
    "font_google",
    "font_liberation",
    "font_set",
    "font_set_auto",
    "font_set_liberation",
    "fonts_cache_dir",
    "gfontHtmlDependency",
    "init_fonts_cache",
    "install_gfont_script",
    "installed_gfonts",
    "liberationmonoHtmlDependency",
    "liberationsansHtmlDependency",
    "liberationserifHtmlDependency",
    "m_str_extents",
    "match_family",
    "register_gfont",
    "register_liberationmono",
    "register_liberationsans",
    "register_liberationserif",
    "rm_fonts_cache",
    "set_dummy_conf",
    "str_metrics",
    "strings_sizes",
    "sys_fonts",
    "version_cairo",
    "version_freetype"
  ],
  "_help": [
    {
      "page": "addGFontHtmlDependency",
      "title": "Use a Font in Shiny or Markdown",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "addGFontHtmlDependency"
      ]
    },
    {
      "page": "font_family_exists",
      "title": "Check if font family exists.",
      "topics": [
        "font_family_exists"
      ]
    },
    {
      "page": "font_google",
      "title": "Google Font specification",
      "concept": [
        "font set functions"
      ],
      "topics": [
        "font_google"
      ]
    },
    {
      "page": "font_liberation",
      "title": "Liberation Font specification",
      "concept": [
        "font set functions"
      ],
      "topics": [
        "font_liberation"
      ]
    },
    {
      "page": "font_set",
      "title": "Create a font set",
      "concept": [
        "font set functions"
      ],
      "topics": [
        "font_set"
      ]
    },
    {
      "page": "font_set_auto",
      "title": "Automatic font set",
      "concept": [
        "font set functions"
      ],
      "topics": [
        "font_set_auto"
      ]
    },
    {
      "page": "font_set_liberation",
      "title": "Liberation font set",
      "concept": [
        "font set functions"
      ],
      "topics": [
        "font_set_liberation"
      ]
    },
    {
      "page": "fonts_cache_dir",
      "title": "Manage Font Working Directory",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "fonts_cache_dir",
        "init_fonts_cache",
        "rm_fonts_cache"
      ]
    },
    {
      "page": "gfontHtmlDependency",
      "title": "'Google Font' HTML dependency",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "gfontHtmlDependency"
      ]
    },
    {
      "page": "install_gfont_script",
      "title": "Shell command to install a font from 'Google Fonts'",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "install_gfont_script"
      ]
    },
    {
      "page": "installed_gfonts",
      "title": "List installed 'Google Fonts'",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "installed_gfonts"
      ]
    },
    {
      "page": "liberationmonoHtmlDependency",
      "title": "'Liberation Mono' Font HTML dependency",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "liberationmonoHtmlDependency"
      ]
    },
    {
      "page": "liberationsansHtmlDependency",
      "title": "'Liberation Sans' Font HTML dependency",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "liberationsansHtmlDependency"
      ]
    },
    {
      "page": "liberationserifHtmlDependency",
      "title": "'Liberation Serif' Font HTML dependency",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "liberationserifHtmlDependency"
      ]
    },
    {
      "page": "register_gfont",
      "title": "Register a 'Google Font'",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "register_gfont"
      ]
    },
    {
      "page": "register_liberationmono",
      "title": "Register font 'Liberation Mono'",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "register_liberationmono"
      ]
    },
    {
      "page": "register_liberationsans",
      "title": "Register font 'Liberation Sans'",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "register_liberationsans"
      ]
    },
    {
      "page": "register_liberationserif",
      "title": "Register font 'Liberation Serif'",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "register_liberationserif"
      ]
    },
    {
      "page": "strings_sizes",
      "title": "Compute strings sizes",
      "concept": [
        "functions for font metrics"
      ],
      "topics": [
        "strings_sizes"
      ]
    },
    {
      "page": "sys_fonts",
      "title": "List fonts for 'systemfonts'.",
      "topics": [
        "sys_fonts"
      ]
    },
    {
      "page": "version_cairo",
      "title": "Version numbers of C libraries",
      "topics": [
        "version_cairo",
        "version_freetype"
      ]
    }
  ],
  "_readme": "https://github.com/cran/gdtools/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "cli",
    "cpp11",
    "digest",
    "fastmap",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "htmltools",
    "jsonlite",
    "lifecycle",
    "Rcpp",
    "rlang",
    "systemfonts"
  ],
  "_sysdeps": [
    {
      "shlib": "libcairo",
      "package": "libcairo2",
      "headers": "libcairo2-dev",
      "source": "cairo",
      "version": "1.18.0-3build1",
      "name": "cairo",
      "homepage": "https://cairographics.org/",
      "description": "Cairo 2D vector graphics library"
    },
    {
      "shlib": "libfreetype",
      "package": "libfreetype6",
      "headers": "libfreetype-dev",
      "source": "freetype",
      "version": "2.13.2+dfsg-1ubuntu0.1",
      "name": "freetype",
      "homepage": "https://freetype.org",
      "description": "FreeType 2 font engine, shared library files"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 10.32824739924798,
  "_indexed": false,
  "_nocasepkg": "gdtools",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://davidgohel.r-universe.dev/gdtools",
  "_previous": "0.5.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-05-25T21:10:31.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "74763022a238e781afca77cef560eb39bbf388d5",
      "fileid": "32757e7f31016944f29a4ea711b50e126d74f9ab0e52be28a9d0e20a98be688a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26419747689"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-05-25T21:11:26.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "74763022a238e781afca77cef560eb39bbf388d5",
      "fileid": "ba757c695718c0f9b407490ca386ce625f3f904ff0f350c23ac6253b0e8f3aad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26419747689"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-05-25T21:10:38.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "74763022a238e781afca77cef560eb39bbf388d5",
      "fileid": "e897c6a1df69843069de7d280863521f45df1137d9dc9deeca2d05f0c4ce565b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26419747689"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.1",
      "date": "2026-05-25T21:10:32.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "74763022a238e781afca77cef560eb39bbf388d5",
      "fileid": "4addaa26cebb842c3647dbd8e077dbd2274b99e3998db3ceb084811399aeb0f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26419747689"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.1",
      "date": "2026-05-25T21:10:36.000Z",
      "arch": "emscripten",
      "commit": "74763022a238e781afca77cef560eb39bbf388d5",
      "fileid": "1441438a5ba6b188f95472292e027ca4e65d0bba6e0241b318fa2fe79f4881b8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26419747689"
    }
  ]
}