From 4f80cb8c3279bf4490b4e59d52259433823da200 Mon Sep 17 00:00:00 2001 From: Kenta Ishizaki Date: Sat, 18 Apr 2026 08:56:29 +0900 Subject: [PATCH] Fix incorrect indefinite article 'a' before vowel sounds --- lib/prawn/images/png.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/prawn/images/png.rb b/lib/prawn/images/png.rb index 5f49532ec..204c9a39d 100644 --- a/lib/prawn/images/png.rb +++ b/lib/prawn/images/png.rb @@ -229,7 +229,7 @@ def build_pdf_object(document) if palette.empty? obj.data[:ColorSpace] = color else - # embed the colour palette in the PDF as a object stream + # embed the colour palette in the PDF as an object stream palette_obj = document.ref!({}) palette_obj << palette @@ -264,7 +264,7 @@ def build_pdf_object(document) end # For PNG color types 4 and 6, the transparency data is stored as - # a alpha channel mixed in with the main image data. The PNG class + # an alpha channel mixed in with the main image data. The PNG class # separates it out for us and makes it available via the alpha_channel # attribute if alpha_channel?