Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Feb 21, 2024
1 parent 68454f2 commit 10614c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ The companion module [PDF::Font::Loader](https://pdf-raku.github.io/PDF-Font-Loa
my PDF::Lite $pdf .= new;
$pdf.media-box = [0, 0, 400, 120];
my PDF::Lite::Page $page = $pdf.add-page;
my $noto = load-font( :file<t/fonts/NotoSans-Regular.ttf> );
# or find a system font by family and attributes (also requires fontconfig)
my $noto = load-font: :file<t/fonts/NotoSans-Regular.ttf>;
# or find a system font by family and attributes (also requires FontConfig)
# $noto = load-font: :family<NotoSans>, :weight<book>;

$page.text: {
Expand All @@ -185,7 +185,7 @@ The companion module [PDF::Font::Loader](https://pdf-raku.github.io/PDF-Font-Loa

The `media-box` method is used most commonly used to set page sizes. It can be set on the `PDF::Lite` object to set a default page size.

Individual pages can bee given different page sizes.
Individual pages can be given different page sizes.

```
use v6;
Expand Down
Binary file modified t/01-pdf-lite.pdf
Binary file not shown.

0 comments on commit 10614c6

Please sign in to comment.