add stamp text logo
This commit is contained in:
committed by
Pete Matsyburka
parent
83b6ce8574
commit
439df4879c
@@ -24,6 +24,10 @@ module PdfIcons
|
|||||||
StringIO.new(logo_new_data)
|
StringIO.new(logo_new_data)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def stamp_logo_io
|
||||||
|
StringIO.new(stamp_logo_data)
|
||||||
|
end
|
||||||
|
|
||||||
def check_data
|
def check_data
|
||||||
@check_data ||= PATH.join('check.png').read
|
@check_data ||= PATH.join('check.png').read
|
||||||
end
|
end
|
||||||
@@ -39,4 +43,8 @@ module PdfIcons
|
|||||||
def logo_new_data
|
def logo_new_data
|
||||||
@logo_new_data ||= PATH.join('logo_new.png').read
|
@logo_new_data ||= PATH.join('logo_new.png').read
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def stamp_logo_data
|
||||||
|
@stamp_logo_data ||= PATH.join('stamp-logo.png').read
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
@@ -98,7 +98,7 @@ module Submitters
|
|||||||
end
|
end
|
||||||
|
|
||||||
def load_logo(_submitter)
|
def load_logo(_submitter)
|
||||||
PdfIcons.logo_io
|
PdfIcons.stamp_logo_io
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user