From 10614c60724f1ebf693bcde569355f4f3da09d07 Mon Sep 17 00:00:00 2001 From: David Warring Date: Thu, 22 Feb 2024 07:24:58 +1300 Subject: [PATCH] update README --- README.md | 6 +++--- t/01-pdf-lite.pdf | Bin 1746 -> 1746 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 590ab7e..668f3a2 100644 --- a/README.md +++ b/README.md @@ -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 ); - # or find a system font by family and attributes (also requires fontconfig) + my $noto = load-font: :file; + # or find a system font by family and attributes (also requires FontConfig) # $noto = load-font: :family, :weight; $page.text: { @@ -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; diff --git a/t/01-pdf-lite.pdf b/t/01-pdf-lite.pdf index 4abbad171179c37d404028ce24c7f8c95b0e56fa..6e1256d033ccd35b39d23593b182666edaf181bc 100644 GIT binary patch delta 17 Ycmcb_dx@7rHNeG9*HF)7BgZK=058@B4*&oF delta 17 Ycmcb_dx@7rHNeG9*HF)RBgZK=058!64gdfE