{
  "_id": "6ad15fea0edca5be25021c18",
  "Package": "gdtools",
  "Title": "Font Metrics and Font Management Utilities for R Graphics",
  "Version": "0.5.2",
  "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",
  "Config/roxygen2/version": "8.1.1",
  "Encoding": "UTF-8",
  "SystemRequirements": "cairo, freetype2, fontconfig",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-15 23:16:28 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-10-15 18:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/gdtools",
  "RemoteRef": "HEAD",
  "RemoteSha": "f9446c8280289c49cf050c904b8bbe1a772932e5",
  "_user": "cran",
  "_type": "src",
  "_file": "gdtools_0.5.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/804ed8a289f7e7600cf8b67568b97bf1d9f3f5466510f95c88efe9bcc60902a9",
  "_filesize": 236917,
  "_sha256": "804ed8a289f7e7600cf8b67568b97bf1d9f3f5466510f95c88efe9bcc60902a9",
  "_expires": "2027-01-23T23:21:08.000Z",
  "_created": "2026-10-15T23:16:28.000Z",
  "_published": "2026-10-15T23:21:14.049Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116722601197,
      "time": 117,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12013062885"
    },
    {
      "job": 116722601201,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12014037007"
    },
    {
      "job": 116722601157,
      "time": 165,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12013568576"
    },
    {
      "job": 116722601213,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12012763696"
    },
    {
      "job": 116721310751,
      "time": 225,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12012898000"
    },
    {
      "job": 116722601131,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12013742629"
    },
    {
      "job": 116722601417,
      "time": 209,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12014047144"
    },
    {
      "job": 116722601169,
      "time": 175,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12013304271"
    },
    {
      "job": 116722601196,
      "time": 228,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12014032748"
    },
    {
      "job": 116722601192,
      "time": 137,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12014112178"
    }
  ],
  "_upstream": "https://github.com/cran/gdtools",
  "_commit": {
    "id": "f9446c8280289c49cf050c904b8bbe1a772932e5",
    "author": "David Gohel <david.gohel@ardata.fr>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.5.2\n",
    "time": 1792090202
  },
  "_maintainer": {
    "name": "David Gohel",
    "email": "david.gohel@ardata.fr",
    "login": "davidgohel",
    "twitter": "@DavidGohel",
    "description": "",
    "uuid": 4331618
  },
  "_distro": "resolute",
  "_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": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 422,
  "_updates": [
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.5.0",
      "date": "2026-02-09"
    },
    {
      "name": "0.5.1",
      "date": "2026-05-25"
    },
    {
      "name": "0.5.2",
      "date": "2026-10-15"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "davidgohel",
      "count": 35,
      "uuid": 4331618
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 631,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 154708,
    "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": 310,
  "_topics": [
    "cairo",
    "freetype",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gdtools.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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"
    },
    {
      "version": "0.5.2",
      "date": "2026-10-15"
    }
  ],
  "_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",
    "sys_fonts_reset",
    "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": "sys_fonts_reset",
      "title": "Refresh the list of system fonts",
      "concept": [
        "functions for font management"
      ],
      "topics": [
        "sys_fonts_reset"
      ]
    },
    {
      "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.4-3",
      "name": "cairo",
      "homepage": "https://cairographics.org/",
      "description": "Cairo 2D vector graphics library"
    },
    {
      "shlib": "libfreetype",
      "package": "libfreetype6",
      "headers": "libfreetype-dev",
      "source": "freetype",
      "version": "2.14.2+dfsg-1ubuntu0.2",
      "name": "freetype",
      "homepage": "https://freetype.org",
      "description": "Freetype 2 font engine, shared library files"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 9.959399430357431,
  "_indexed": false,
  "_nocasepkg": "gdtools",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://davidgohel.r-universe.dev/gdtools",
  "_previous": "0.5.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-10-15T23:18:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f9446c8280289c49cf050c904b8bbe1a772932e5",
      "fileid": "https://r2.ropensci.org/fe1eb7ba9cb760e967f07fe2c908460498df324d9fb8f040cf98f23e30d410bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-10-15T23:18:54.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f9446c8280289c49cf050c904b8bbe1a772932e5",
      "fileid": "https://r2.ropensci.org/b933034a983f3618ffc9907d5807f8c0a18c5dad6ec602b38329885c97f69dc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-10-15T23:19:20.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f9446c8280289c49cf050c904b8bbe1a772932e5",
      "fileid": "https://r2.ropensci.org/8fb747f2220d2af812909f4727f48e64187febc4088e997658addd01b1008e71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-10-15T23:19:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f9446c8280289c49cf050c904b8bbe1a772932e5",
      "fileid": "https://r2.ropensci.org/adaf76ea6272172bd6879c327ce3a9291be7423efd2aeae182af8dfc5ff81aeb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.2",
      "date": "2026-10-15T23:18:47.000Z",
      "arch": "emscripten",
      "commit": "f9446c8280289c49cf050c904b8bbe1a772932e5",
      "fileid": "https://r2.ropensci.org/851cdbae074f80d4befd9a4cbb94e407ae20b941e514819cefa1d83feb453418",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-10-15T23:19:40.000Z",
      "arch": "aarch64",
      "commit": "f9446c8280289c49cf050c904b8bbe1a772932e5",
      "fileid": "https://r2.ropensci.org/bd3967cafd1425571fec7e876fc1e0ff1611a0c46c5312e09b84b3a65d0d9817",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-10-15T23:17:59.000Z",
      "arch": "x86_64",
      "commit": "f9446c8280289c49cf050c904b8bbe1a772932e5",
      "fileid": "https://r2.ropensci.org/a9b5b59d263849aee5509108ac7334ad0039551a44cf06511edeec687308a24a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-10-15T23:20:02.000Z",
      "arch": "aarch64",
      "commit": "f9446c8280289c49cf050c904b8bbe1a772932e5",
      "fileid": "https://r2.ropensci.org/fdae4011ec83733b36f3ca2d1546008d2fde8ea4f9124e6ec37ea7b4d031df6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-10-15T23:18:13.000Z",
      "arch": "x86_64",
      "commit": "f9446c8280289c49cf050c904b8bbe1a772932e5",
      "fileid": "https://r2.ropensci.org/6e20962e24640c137f7145943cdd20c41e42201f09bca4773a1b4d7d2046f2cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38822198230"
    }
  ]
}