{
  "_id": "6abce02399f7aa8c6aa4d623",
  "Package": "textshaping",
  "Title": "Bindings to the 'HarfBuzz' and 'Fribidi' Libraries for Text\nShaping",
  "Version": "1.0.5.9000",
  "Authors@R": "c(\nperson(\"Thomas Lin\", \"Pedersen\", , \"thomas.pedersen@posit.co\", role = c(\"cre\", \"aut\"),\ncomment = c(ORCID = \"0000-0002-5147-4711\")),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"),\ncomment = c(ROR = \"03wc8by49\"))\n)",
  "Description": "Provides access to the text shaping functionality in the\n'HarfBuzz' library and the bidirectional algorithm in the\n'Fribidi' library. 'textshaping' is a low-level utility package\nmainly for graphic devices that expands upon the font tool-set\nprovided by the 'systemfonts' package.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/r-lib/textshaping",
  "BugReports": "https://github.com/r-lib/textshaping/issues",
  "VignetteBuilder": "knitr",
  "Config/build/compilation-database": "true",
  "Config/testthat/edition": "3",
  "Config/usethis/last-upkeep": "2025-04-23",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "freetype2, harfbuzz, fribidi",
  "Remotes": [
    "r-lib/systemfonts"
  ],
  "Config/pak/sysreqs": "libfontconfig1-dev libfreetype6-dev libfribidi-dev\nlibharfbuzz-dev libicu-dev",
  "Repository": "https://r-lib.r-universe.dev",
  "Date/Publication": "2026-03-18 10:34:44 UTC",
  "RemoteUrl": "https://github.com/r-lib/textshaping",
  "RemoteRef": "HEAD",
  "RemoteSha": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-30 10:01:59 UTC",
    "User": "root"
  },
  "Author": "Thomas Lin Pedersen [cre, aut] (ORCID:\n<https://orcid.org/0000-0002-5147-4711>),\nPosit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)",
  "Maintainer": "Thomas Lin Pedersen <thomas.pedersen@posit.co>",
  "_user": "r-lib",
  "_type": "src",
  "_file": "textshaping_1.0.5.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/de907f9bea311ff3c5a951e225b3e218c4d8ffca17542a5c60c2956354ead5bf",
  "_filesize": 239121,
  "_sha256": "de907f9bea311ff3c5a951e225b3e218c4d8ffca17542a5c60c2956354ead5bf",
  "_expires": "2027-01-08T10:10:42.000Z",
  "_created": "2026-09-30T10:01:59.000Z",
  "_published": "2026-09-30T10:10:43.860Z",
  "_jobs": [
    {
      "job": 109837006234,
      "time": 140,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11089608285"
    },
    {
      "job": 109837006297,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11089806118"
    },
    {
      "job": 109837006321,
      "time": 151,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11089735710"
    },
    {
      "job": 109837006368,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11089820732"
    },
    {
      "job": 109837006146,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11089353386"
    },
    {
      "job": 109837006113,
      "time": 371,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11089034347"
    },
    {
      "job": 109837006050,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11089158764"
    },
    {
      "job": 109837006079,
      "time": 317,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11089623489"
    },
    {
      "job": 109835193908,
      "time": 314,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11088364338"
    },
    {
      "job": 109837005869,
      "time": 157,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11090035049"
    },
    {
      "job": 109837006090,
      "time": 240,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11089791468"
    },
    {
      "job": 109837006044,
      "time": 174,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11089820860"
    },
    {
      "job": 109837006230,
      "time": 124,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11089706548"
    },
    {
      "job": 109837006093,
      "time": 262,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11089901197"
    },
    {
      "job": 109837006142,
      "time": 119,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11089666663"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531",
  "_status": "success",
  "_upstream": "https://github.com/r-lib/textshaping",
  "_commit": {
    "id": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
    "author": "Thomas Lin Pedersen <thomasp85@gmail.com>",
    "committer": "Thomas Lin Pedersen <thomasp85@gmail.com>",
    "message": "reformat\n",
    "time": 1773830084
  },
  "_maintainer": {
    "name": "Thomas Lin Pedersen",
    "email": "thomas.pedersen@posit.co",
    "login": "thomasp85",
    "mastodon": "@thomasp85@fosstodon.org",
    "linkedin": "in/thomasp85",
    "orcid": "0000-0002-5147-4711",
    "twitter": "@thomasp85",
    "description": "Maker of tools focusing on data science and data visualisation",
    "uuid": 1775316
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "cpp11",
      "version": ">= 0.2.1",
      "role": "LinkingTo"
    },
    {
      "package": "systemfonts",
      "version": ">= 1.0.0",
      "role": "LinkingTo"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "systemfonts",
      "version": ">= 1.3.2.9000",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "grDevices",
      "role": "Suggests"
    },
    {
      "package": "grid",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": true,
  "_usedby": 758,
  "_updates": [
    {
      "week": "2025-40",
      "n": 3
    },
    {
      "week": "2025-41",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 8
    },
    {
      "week": "2026-12",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.4",
      "date": "2025-10-10"
    },
    {
      "name": "v1.0.5",
      "date": "2026-03-06"
    }
  ],
  "_stars": 20,
  "_contributors": [
    {
      "user": "thomasp85",
      "count": 200,
      "uuid": 1775316
    },
    {
      "user": "jeroen",
      "count": 23,
      "uuid": 216319
    },
    {
      "user": "michaelchirico",
      "count": 3,
      "uuid": 7606389
    },
    {
      "user": "jimhester",
      "count": 2,
      "uuid": 205275
    },
    {
      "user": "gaborcsardi",
      "count": 1,
      "uuid": 660288
    },
    {
      "user": "bisaloo",
      "count": 1,
      "uuid": 10783929
    },
    {
      "user": "musvaage",
      "count": 1,
      "uuid": 112724366
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure",
    "followers": 768
  },
  "_downloads": {
    "count": 669108,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/textshaping"
  },
  "_devurl": "https://github.com/r-lib/textshaping",
  "_searchresults": 2,
  "_topics": [
    "harfbuzz",
    "freetype",
    "fribidi",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/textshaping.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/r-lib/textshaping",
  "_realowner": "r-lib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-09-17"
    },
    {
      "version": "0.1.1",
      "date": "2020-09-29"
    },
    {
      "version": "0.1.2",
      "date": "2020-10-08"
    },
    {
      "version": "0.2.0",
      "date": "2020-11-12"
    },
    {
      "version": "0.2.1",
      "date": "2020-11-13"
    },
    {
      "version": "0.3.0",
      "date": "2021-02-10"
    },
    {
      "version": "0.3.1",
      "date": "2021-02-22"
    },
    {
      "version": "0.3.2",
      "date": "2021-03-10"
    },
    {
      "version": "0.3.3",
      "date": "2021-03-16"
    },
    {
      "version": "0.3.4",
      "date": "2021-05-11"
    },
    {
      "version": "0.3.5",
      "date": "2021-06-09"
    },
    {
      "version": "0.3.6",
      "date": "2021-10-13"
    },
    {
      "version": "0.3.7",
      "date": "2023-10-09"
    },
    {
      "version": "0.4.0",
      "date": "2024-05-24"
    },
    {
      "version": "0.4.1",
      "date": "2024-12-06"
    },
    {
      "version": "1.0.0",
      "date": "2025-01-20"
    },
    {
      "version": "1.0.1",
      "date": "2025-05-01"
    },
    {
      "version": "1.0.2",
      "date": "2025-09-01"
    },
    {
      "version": "1.0.3",
      "date": "2025-09-02"
    },
    {
      "version": "1.0.4",
      "date": "2025-10-10"
    },
    {
      "version": "1.0.5",
      "date": "2026-03-06"
    }
  ],
  "_exports": [
    "get_font_features",
    "grid.math",
    "lorem_bidi",
    "lorem_text",
    "math_grob",
    "plot_math",
    "plot_shape",
    "shape_math",
    "shape_text",
    "text_width"
  ],
  "_help": [
    {
      "page": "get_font_features",
      "title": "Get available OpenType features in a font",
      "topics": [
        "get_font_features"
      ]
    },
    {
      "page": "lorem_text",
      "title": "Get gibberish text in various scripts",
      "topics": [
        "lorem_bidi",
        "lorem_text"
      ]
    },
    {
      "page": "math_grob",
      "title": "Create a grid grob for a math expression",
      "topics": [
        "grid.math",
        "math_grob"
      ]
    },
    {
      "page": "plot_math",
      "title": "Preview shaped math expression",
      "topics": [
        "plot_math"
      ]
    },
    {
      "page": "plot_shape",
      "title": "Preview shaped text and the metrics for the text box",
      "topics": [
        "plot_shape"
      ]
    },
    {
      "page": "shape_math",
      "title": "Shape LaTeX math expression",
      "topics": [
        "shape_math"
      ]
    },
    {
      "page": "shape_text",
      "title": "Calculate glyph positions for strings",
      "topics": [
        "shape_text"
      ]
    },
    {
      "page": "text_width",
      "title": "Calculate the width of a string, ignoring new-lines",
      "topics": [
        "text_width"
      ]
    }
  ],
  "_readme": "https://github.com/r-lib/textshaping/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "cli",
    "cpp11",
    "jsonlite",
    "lifecycle",
    "rlang",
    "stringi",
    "systemfonts"
  ],
  "_sysdeps": [
    {
      "shlib": "libharfbuzz",
      "package": "libharfbuzz0b",
      "headers": "libharfbuzz-dev",
      "source": "harfbuzz",
      "version": "12.3.2-2",
      "name": "harfbuzz",
      "homepage": "https://harfbuzz.github.io/",
      "description": "OpenType text shaping engine (shared library)"
    },
    {
      "shlib": "libfreetype",
      "package": "libfreetype6",
      "headers": "libfreetype-dev",
      "source": "freetype",
      "version": "2.14.2+dfsg-1ubuntu0.1",
      "name": "freetype",
      "homepage": "https://freetype.org",
      "description": "Freetype 2 font engine, shared library files"
    },
    {
      "shlib": "libfribidi",
      "package": "libfribidi0",
      "headers": "libfribidi-dev",
      "source": "fribidi",
      "version": "1.0.16-5",
      "name": "fribidi",
      "homepage": "http://www.fribidi.org/",
      "description": "Free Implementation of the Unicode BiDi algorithm"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "c_interface.Rmd",
      "filename": "c_interface.html",
      "title": "textshaping C interface",
      "engine": "knitr::rmarkdown",
      "headings": [
        "String width",
        "String shape"
      ],
      "created": "2020-08-27 10:11:53",
      "modified": "2025-06-11 06:28:09",
      "commits": 5
    }
  ],
  "_score": 12.65940793750063,
  "_indexed": true,
  "_nocasepkg": "textshaping",
  "_universes": [
    "r-lib",
    "thomasp85"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:05:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/afc4a64e5998c3d2b62fea9db085f5008452d820d39b6236e0dbe82e6936ab33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:05:18.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/b5283f6c7cfc19c6d184bd1e89515078df576ebbd54041f189ac45c6b5b4a2de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:05:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/45df0939101aca82b71a759f318b79c3128ab1f858534217ffbf0d44ad8c7b80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:04:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/f1af7afc143ea9d76152a39a3df4067691413c8f4ce1e26af5715d3d31216fad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:05:48.000Z",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/31c4bda206bf076735abb7951642e423218eee1a758b2467246c6e57ea9036b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:08:30.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/9c42300230d70302713f5dc8d9f3c4d714df24dc9d8aa4f44f068999fd2c6da4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:05:31.000Z",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/22688bec9e259a6181fa1e47a66293b97399087ffede868bf8ad86b65fd0d4e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:07:28.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/3d6cbfd2f6ceaf1e2abfa6498f5afe7234f3baa31f2878b1deebab04e156016f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:05:26.000Z",
      "arch": "emscripten",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/69d0ca6b180a424f386b767e055a1bf5acac856dd716b76ad4932968a958f250",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:06:06.000Z",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/ba70ba918fa2be078d307e4abc360d88aadcac55ebe233330f06413d96d45f75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:04:04.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/ebb7f026067e99c80f2e3363c41dec6776d2becfb1f2b1a4f4ab8c4cf7f9c90d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:04:02.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/4bfb2ba0514fe772023c78b5d6f1f94a8975955e76a33c690d16c9e2c27d06e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:06:36.000Z",
      "arch": "aarch64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/99558b60224ac09361f92eedb24df3717cd9a881953c5386c9217c29b9cb8f4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.5.9000",
      "date": "2026-09-30T10:03:58.000Z",
      "arch": "x86_64",
      "commit": "67c94db6939cd4ca9c2915d7ffb6858a79ce80cd",
      "fileid": "https://r2.ropensci.org/eb9800a226e3be666050003cf6471d42591073958639ec34c6bc9502d4baf351",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/36699409531"
    }
  ]
}