Skip to content

Commit

Permalink
Document text-box :shape option
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Dec 15, 2024
1 parent d83833a commit f8b3e43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,8 @@ The optional [Text::FriBidi](https://raku.land/zef:dwarring/Text::FriBidi) modul
- the `:direction<rlt>` option is being used
- the input text contains [Unicode bidirectional control](https://www.w3.org/International/questions/qa-bidi-unicode-controls.en) (BiDi) characters and the `:!bidi` option has not been used to disable BiDi processing.
The `:shape` enables font shaping via [HarfBuzz](https://harfbuzz.github.io/). This option works best when the font has been loaded via [PDF::Font::Loader](https://pdf-raku.github.io/PDF-Font-Loader-raku/) and the [PDF::Font::Loader::HarfBuzz](https://pdf-raku.github.io/PDF-Font-Loader-HarfBuzz-raku/) module has been installed.
### say
Takes the same parameters as `print`. Sets the final text position (`$.text-position`) to the start of the next line.
Expand Down

0 comments on commit f8b3e43

Please sign in to comment.