Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-prawn.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1589563711.564006/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qu6a6o1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qu6a6o1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8fd9ec7be1a64bacbb54507f1855507c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1589563711.564006/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qu6a6o1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-prawn.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/rubygem-prawn-2.2.2-4.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-prawn.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1589563711.564006/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qu6a6o1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qu6a6o1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cb7183f97463405d9c0db7b6a823e767', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1589563711.564006/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4qu6a6o1:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-prawn.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fiGtsv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prawn-2.2.2 + /usr/bin/gem unpack /builddir/build/SOURCES/prawn-2.2.2.gem Unpacked gem: '/builddir/build/BUILD/prawn-2.2.2' + /usr/bin/gem spec /builddir/build/SOURCES/prawn-2.2.2.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd prawn-2.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + read -d '' gemspec_remove_dep_script + : + ruby + echo 'gemspec_file = '\''/builddir/build/BUILD/prawn-2.2.2.gemspec'\'' name = '\''pdf-core'\'' requirements = "~> 0.7.0" type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep if requirements requirements = Gem::Requirement.create(requirements).requirements requirements.each do |r| unless dep.requirement.requirements.reject! { |dependency_requirements| dependency_requirements == r } abort("Requirement '\''#{r.first} #{r.last}'\'' was not possible to remove for dependency '\''#{dep}'\''!") end end spec.dependencies.delete dep if dep.requirement.requirements.empty? else spec.dependencies.delete dep end else abort("Dependency '\''#{name}'\'' was not found!") end File.write gemspec_file, spec.to_ruby' + unset -v gemspec_remove_dep_script + read -d '' gemspec_add_dep_script + : + echo 'gemspec_file = '\''/builddir/build/BUILD/prawn-2.2.2.gemspec'\'' name = '\''pdf-core'\'' requirements = ">= 0.7.0" type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep dep.requirement.concat requirements else spec.public_send "add_#{type}_dependency", name, requirements end + ruby File.write gemspec_file, spec.to_ruby' + unset -v gemspec_add_dep_script + echo 'Patch #0 (prawn-fix-test-errors.patch):' Patch #0 (prawn-fix-test-errors.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file lib/prawn/font.rb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4N0c9s + umask 022 + cd /builddir/build/BUILD + cd prawn-2.2.2 + gem build ../prawn-2.2.2.gemspec WARNING: license value 'PRAWN' is invalid. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. Did you mean 'AAL', 'AML', 'IPA', 'JSON', 'NRL', 'Ruby', 'SWL'? WARNING: prerelease dependency on pdf-inspector (>= 1.2.1, < 2.0.a, development) is not recommended WARNING: open-ended dependency on yard (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on simplecov (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on prawn-manual_builder (>= 0.2.0, development) is not recommended if prawn-manual_builder is semantically versioned, use: add_development_dependency 'prawn-manual_builder', '~> 0.2', '>= 0.2.0' WARNING: open-ended dependency on pdf-core (>= 0.7.0) is not recommended if pdf-core is semantically versioned, use: add_runtime_dependency 'pdf-core', '~> 0.7', '>= 0.7.0' WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: prawn Version: 2.2.2 File: prawn-2.2.2.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc prawn-2.2.2.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/prawn-2.2.2 Bin dir: /builddir/build/BUILD/prawn-2.2.2/usr/bin Gem home: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/.yardopts /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/COPYING /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/GPLv2 /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/GPLv3 /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/Gemfile /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/LICENSE /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/Rakefile /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Courier-Bold.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Courier-BoldOblique.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Courier-Oblique.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Courier.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Helvetica-Bold.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Helvetica-BoldOblique.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Helvetica-Oblique.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Helvetica.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/MustRead.html /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Symbol.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Times-Bold.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Times-BoldItalic.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Times-Italic.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Times-Roman.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/ZapfDingbats.afm /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/document.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/document/bounding_box.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/document/column_box.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/document/internals.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/document/span.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/encoding.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/errors.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/font.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/font/afm.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/font/dfont.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/font/ttc.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/font/ttf.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/font_metric_cache.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/blend_mode.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/cap_style.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/color.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/dash.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/join_style.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/patterns.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/transformation.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/transparency.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/grid.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/image_handler.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/images.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/images/image.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/images/jpg.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/images/png.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/measurement_extensions.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/measurements.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/outline.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/repeater.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/security.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/security/arcfour.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/soft_mask.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/stamp.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/text.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/text/box.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/text/formatted.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/text/formatted/arranger.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/text/formatted/box.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/text/formatted/fragment.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/text/formatted/line_wrap.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/text/formatted/parser.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/text/formatted/wrap.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/transformation_stack.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/utilities.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/version.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/view.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/absolute_position.pdf /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/basic_concepts/adding_pages.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/basic_concepts/basic_concepts.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/basic_concepts/creation.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/basic_concepts/cursor.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/basic_concepts/measurement.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/basic_concepts/origin.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/basic_concepts/other_cursor_helpers.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/basic_concepts/view.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/bounding_box/bounding_box.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/bounding_box/bounds.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/bounding_box/canvas.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/bounding_box/creation.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/bounding_box/indentation.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/bounding_box/nesting.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/bounding_box/russian_boxes.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/bounding_box/stretchy.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/contents.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/cover.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/document_and_page_options/background.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/document_and_page_options/document_and_page_options.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/document_and_page_options/metadata.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/document_and_page_options/page_margins.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/document_and_page_options/page_size.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/document_and_page_options/print_scaling.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/example_helper.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/blend_mode.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/circle_and_ellipse.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/color.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/common_lines.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/fill_and_stroke.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/fill_rules.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/gradients.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/graphics.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/helper.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/line_width.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/lines_and_curves.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/polygon.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/rectangle.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/rotate.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/scale.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/soft_masks.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/stroke_cap.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/stroke_dash.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/stroke_join.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/translate.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/graphics/transparency.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/how_to_read_this_manual.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/images/absolute_position.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/images/fit.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/images/horizontal.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/images/images.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/images/plain_image.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/images/scale.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/images/vertical.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/images/width_and_height.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/layout/boxes.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/layout/content.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/layout/layout.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/layout/simple_grid.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/outline/add_subsection_to.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/outline/insert_section_after.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/outline/outline.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/outline/sections_and_pages.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/repeatable_content/alternate_page_numbering.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/repeatable_content/page_numbering.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/repeatable_content/repeatable_content.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/repeatable_content/repeater.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/repeatable_content/stamp.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/security/encryption.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/security/permissions.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/security/security.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/table.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/alignment.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/color.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/column_box.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/fallback_fonts.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/font.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/font_size.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/font_style.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/formatted_callbacks.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/formatted_text.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/free_flowing_text.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/inline.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/kerning_and_character_spacing.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/leading.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/line_wrapping.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/paragraph_indentation.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/positioned_text.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/registering_families.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/rendering_and_color.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/right_to_left_text.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/rotation.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/single_usage.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/text.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/text_box_excess.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/text_box_extensions.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/text_box_overflow.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/utf8.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/manual/text/win_ansi_charset.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/prawn.gemspec /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/data/curves.pdf /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/extensions/encoding_helpers.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/manual_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/document/bounding_box_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/document/column_box_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/document/security_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/document_annotations_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/document_destinations_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/document_grid_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/document_reference_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/document_span_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/document_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/font_metric_cache_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/font_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/graphics/blend_mode_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/graphics/transparency_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/graphics_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/graphics_stroke_styles_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/image_handler_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/images/jpg_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/images/png_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/images_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/measurements_extensions_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/outline_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/repeater_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/soft_mask_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/stamp_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text/box_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text/formatted/arranger_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text/formatted/box_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text/formatted/fragment_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text/formatted/line_wrap_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text/formatted/parser_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text_draw_text_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text_rendering_mode_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text_spacing_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/text_with_inline_formatting_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/transformation_stack_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/view_spec.rb /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/spec_helper.rb Successfully installed prawn-2.2.2 Parsing documentation for prawn-2.2.2 Parsing sources... 2% [ 1/50] lib/prawn.rb 4% [ 2/50] lib/prawn/document.rb 6% [ 3/50] lib/prawn/document/bounding_box.rb 8% [ 4/50] lib/prawn/document/column_box.rb 10% [ 5/50] lib/prawn/document/internals.rb 12% [ 6/50] lib/prawn/document/span.rb 14% [ 7/50] lib/prawn/encoding.rb 16% [ 8/50] lib/prawn/errors.rb 18% [ 9/50] lib/prawn/font.rb 20% [10/50] lib/prawn/font/afm.rb 22% [11/50] lib/prawn/font/dfont.rb 24% [12/50] lib/prawn/font/ttc.rb 26% [13/50] lib/prawn/font/ttf.rb 28% [14/50] lib/prawn/font_metric_cache.rb 30% [15/50] lib/prawn/graphics.rb 32% [16/50] lib/prawn/graphics/blend_mode.rb 34% [17/50] lib/prawn/graphics/cap_style.rb 36% [18/50] lib/prawn/graphics/color.rb 38% [19/50] lib/prawn/graphics/dash.rb 40% [20/50] lib/prawn/graphics/join_style.rb 42% [21/50] lib/prawn/graphics/patterns.rb 44% [22/50] lib/prawn/graphics/transformation.rb 46% [23/50] lib/prawn/graphics/transparency.rb 48% [24/50] lib/prawn/grid.rb 50% [25/50] lib/prawn/image_handler.rb 52% [26/50] lib/prawn/images.rb 54% [27/50] lib/prawn/images/image.rb 56% [28/50] lib/prawn/images/jpg.rb 58% [29/50] lib/prawn/images/png.rb 60% [30/50] lib/prawn/measurement_extensions.rb 62% [31/50] lib/prawn/measurements.rb 64% [32/50] lib/prawn/outline.rb 66% [33/50] lib/prawn/repeater.rb 68% [34/50] lib/prawn/security.rb 70% [35/50] lib/prawn/security/arcfour.rb 72% [36/50] lib/prawn/soft_mask.rb 74% [37/50] lib/prawn/stamp.rb 76% [38/50] lib/prawn/text.rb 78% [39/50] lib/prawn/text/box.rb 80% [40/50] lib/prawn/text/formatted.rb 82% [41/50] lib/prawn/text/formatted/arranger.rb 84% [42/50] lib/prawn/text/formatted/box.rb 86% [43/50] lib/prawn/text/formatted/fragment.rb 88% [44/50] lib/prawn/text/formatted/line_wrap.rb 90% [45/50] lib/prawn/text/formatted/parser.rb 92% [46/50] lib/prawn/text/formatted/wrap.rb 94% [47/50] lib/prawn/transformation_stack.rb 96% [48/50] lib/prawn/utilities.rb 98% [49/50] lib/prawn/version.rb 100% [50/50] lib/prawn/view.rb Installing ri documentation for prawn-2.2.2 Installing darkfish documentation for prawn-2.2.2 Done installing documentation for prawn after 1 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.anfh0u + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-prawn-2.2.2-4.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-prawn-2.2.2-4.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-prawn-2.2.2-4.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-prawn-2.2.2-4.fc33.x86_64 + cd prawn-2.2.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-prawn-2.2.2-4.fc33.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-prawn-2.2.2-4.fc33.x86_64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.2.2-4.fc33 --unique-debug-suffix -2.2.2-4.fc33.x86_64 --unique-debug-src-base rubygem-prawn-2.2.2-4.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/prawn-2.2.2 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Rt8ikx + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2 ~/build/BUILD/prawn-2.2.2 + cd prawn-2.2.2 + pushd ./usr/share/gems/gems/prawn-2.2.2 + sed -i '/^require '\''bundler'\''/d' ./spec/spec_helper.rb + sed -i '/^Bundler.setup/d' ./spec/spec_helper.rb + rspec spec + grep '850 examples, 103 failures' + tee /dev/stderr Prawn specs: Running on Ruby Version: 2.7.1 F.......................................................................................................FF..............F.......................................................................................................F..F....FFFFF.............FFFFFFFFFFFFFFFF.................................................../builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/graphics_spec.rb:417: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/patterns.rb:67: warning: The called method `fill_gradient' is defined here /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/spec/prawn/graphics_spec.rb:418: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/lib/prawn/graphics/patterns.rb:67: warning: The called method `fill_gradient' is defined here ....................................................................FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF................................................................................F...........................................F..............F...............................................F...FFF.FFFF..................................................................FFF.....F.FFF.F......................................................F.........F...................................F.FF...F............F.............. Failures: 1) Prawn manual contains no unexpected changes Failure/Error: require File.expand_path(File.join(__dir__, %w[.. manual contents])) LoadError: cannot load such file -- prawn/manual_builder # ./manual/example_helper.rb:2:in `' # ./manual/contents.rb:3:in `require_relative' # ./manual/contents.rb:3:in `' # ./spec/manual_spec.rb:25:in `block (3 levels) in ' 2) Prawn::Document When beginning each new page Background image feature places a background image if it is in options block Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./lib/prawn/document.rb:296:in `block in start_new_page' # ./lib/prawn/document/bounding_box.rb:196:in `init_bounding_box' # ./lib/prawn/document/bounding_box.rb:171:in `canvas' # ./lib/prawn/document.rb:295:in `start_new_page' # ./lib/prawn/document.rb:660:in `initialize_first_page' # ./lib/prawn/document.rb:231:in `initialize' # ./spec/prawn/document_spec.rb:112:in `new' # ./spec/prawn/document_spec.rb:112:in `block (4 levels) in ' # ./spec/prawn/document_spec.rb:115:in `block (4 levels) in ' 3) Prawn::Document When beginning each new page Background image feature places a background image interntally if it is in options block Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./lib/prawn/document.rb:296:in `block in start_new_page' # ./lib/prawn/document/bounding_box.rb:196:in `init_bounding_box' # ./lib/prawn/document/bounding_box.rb:171:in `canvas' # ./lib/prawn/document.rb:295:in `start_new_page' # ./lib/prawn/document.rb:660:in `initialize_first_page' # ./lib/prawn/document.rb:231:in `initialize' # ./spec/prawn/document_spec.rb:112:in `new' # ./spec/prawn/document_spec.rb:112:in `block (4 levels) in ' # ./spec/prawn/document_spec.rb:122:in `block (4 levels) in ' 4) Prawn::Document compression results in a smaller file size when compressed Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/document_spec.rb:269:in `block (4 levels) in ' # ./spec/prawn/document_spec.rb:268:in `each' # ./spec/prawn/document_spec.rb:268:in `block (3 levels) in ' 5) Prawn::Font#width_of excludes newlines Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/font_spec.rb:48:in `block (3 levels) in ' 6) Prawn::Font#width_of calculates styled widths correctly using TTFs Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/font_spec.rb:83:in `block (3 levels) in ' 7) Prawn::Font font style support allows font familes to be defined in a single dfont Failure/Error: TTFunk::File.from_dfont(@name, @options[:font] || 0) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Panic+Sans.dfont # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:18:in `from_dfont' # ./lib/prawn/font/dfont.rb:30:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:299:in `new' # ./lib/prawn/font.rb:299:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/font_spec.rb:153:in `block (3 levels) in ' 8) Prawn::Font font style support allows font familes to be defined in a single ttc Failure/Error: TTFunk::File.from_ttc( @name, font_option_to_index(@name, @options[:font]) ) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttc # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/collection.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/collection.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/collection.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:22:in `from_ttc' # ./lib/prawn/font/ttc.rb:19:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:300:in `new' # ./lib/prawn/font.rb:300:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/font_spec.rb:169:in `block (3 levels) in ' 9) Prawn::Font font style support allows fonts to be indexed by name in a ttc file Failure/Error: TTFunk::Collection.open(file) do |ttc| ttc.map { |font| font.name.font_name.first } end Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttc # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/collection.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/collection.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/collection.rb:6:in `open' # ./lib/prawn/font/ttc.rb:11:in `font_names' # ./lib/prawn/font/ttc.rb:29:in `font_option_to_index' # ./lib/prawn/font/ttc.rb:21:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:300:in `new' # ./lib/prawn/font.rb:300:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/font_spec.rb:185:in `block (3 levels) in ' 10) Prawn::Font font style support accepts Pathname objects for font files Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/font_spec.rb:200:in `block (3 levels) in ' 11) Prawn::Font font style support accepts IO objects for font files Failure/Error: io = File.open "#{Prawn::DATADIR}/fonts/DejaVuSans.ttf" Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf # ./spec/prawn/font_spec.rb:210:in `initialize' # ./spec/prawn/font_spec.rb:210:in `open' # ./spec/prawn/font_spec.rb:210:in `block (3 levels) in ' 12) Prawn::Font#glyph_present returns true when present in a TTF font Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:372:in `block (3 levels) in ' 13) Prawn::Font#glyph_present returns false when absent in a TTF font Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:377:in `block (3 levels) in ' 14) Prawn::Font TTF fonts calculates string width taking into account accented characters Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:386:in `block (3 levels) in ' # ./spec/prawn/font_spec.rb:389:in `block (3 levels) in ' 15) Prawn::Font TTF fonts calculates string width taking into account kerning pairs Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:386:in `block (3 levels) in ' # ./spec/prawn/font_spec.rb:395:in `block (3 levels) in ' 16) Prawn::Font TTF fonts encodes text without kerning by default Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:386:in `block (3 levels) in ' # ./spec/prawn/font_spec.rb:401:in `block (3 levels) in ' 17) Prawn::Font TTF fonts encodes text with kerning if requested Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:386:in `block (3 levels) in ' # ./spec/prawn/font_spec.rb:418:in `block (3 levels) in ' 18) Prawn::Font TTF fonts uses the ascender, descender, and cap height from the TTF verbatim Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:386:in `block (3 levels) in ' # ./spec/prawn/font_spec.rb:438:in `block (3 levels) in ' 19) Prawn::Font TTF fonts when normalizing encoding does not modify the original string with normalize_encoding() Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:386:in `block (3 levels) in ' # ./spec/prawn/font_spec.rb:450:in `block (4 levels) in ' 20) Prawn::Font TTF fonts when normalizing encoding modifies the original string when normalize_encoding!() is used Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:386:in `block (3 levels) in ' # ./spec/prawn/font_spec.rb:456:in `block (4 levels) in ' 21) Prawn::Font DFont fonts lists all named fonts Failure/Error: TTFunk::ResourceFile.open(file) do |f| return f.resources_for('sfnt') end Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Panic+Sans.dfont # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # ./lib/prawn/font/dfont.rb:14:in `named_fonts' # ./spec/prawn/font_spec.rb:466:in `block (3 levels) in ' 22) Prawn::Font DFont fonts counts the number of fonts in the file Failure/Error: TTFunk::ResourceFile.open(file) do |f| return f.map['sfnt'][:list].length end Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Panic+Sans.dfont # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # ./lib/prawn/font/dfont.rb:22:in `font_count' # ./spec/prawn/font_spec.rb:473:in `block (3 levels) in ' 23) Prawn::Font DFont fonts defaults selected font to the first one if not specified Failure/Error: TTFunk::File.from_dfont(@name, @options[:font] || 0) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Panic+Sans.dfont # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:18:in `from_dfont' # ./lib/prawn/font/dfont.rb:30:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:299:in `new' # ./lib/prawn/font.rb:299:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:477:in `block (3 levels) in ' 24) Prawn::Font DFont fonts allows font to be selected by index Failure/Error: TTFunk::File.from_dfont(@name, @options[:font] || 0) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Panic+Sans.dfont # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:18:in `from_dfont' # ./lib/prawn/font/dfont.rb:30:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:299:in `new' # ./lib/prawn/font.rb:299:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:482:in `block (3 levels) in ' 25) Prawn::Font DFont fonts allows font to be selected by name Failure/Error: TTFunk::File.from_dfont(@name, @options[:font] || 0) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Panic+Sans.dfont # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:18:in `from_dfont' # ./lib/prawn/font/dfont.rb:30:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:299:in `new' # ./lib/prawn/font.rb:299:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:487:in `block (3 levels) in ' 26) Prawn::Font DFont fonts caches font object based on selected font Failure/Error: TTFunk::File.from_dfont(@name, @options[:font] || 0) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Panic+Sans.dfont # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:18:in `from_dfont' # ./lib/prawn/font/dfont.rb:30:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:299:in `new' # ./lib/prawn/font.rb:299:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./spec/prawn/font_spec.rb:492:in `block (3 levels) in ' 27) Prawn::Font#character_count(text) works on TTF fonts Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/font_spec.rb:504:in `block (3 levels) in ' 28) Prawn::Images::JPG reads the basic attributes correctly Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/pigs.jpg") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg # ./spec/prawn/images/jpg_spec.rb:8:in `binread' # ./spec/prawn/images/jpg_spec.rb:8:in `block (2 levels) in ' # ./spec/prawn/images/jpg_spec.rb:11:in `block (2 levels) in ' 29) Prawn::Images::PNG When making a pdf file with png images and the image is Type 0 does not error Failure/Error: expect do Prawn::Document.generate("#{header}.pdf", page_size: 'A5') do fill_color '00FF00' fill_rectangle bounds.top_left, bounds.width, bounds.height text header image file, at: [50, 450] end end.to_not raise_error expected no Exception, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images/png_spec.rb:35:in `block (7 levels) in ' # ./lib/prawn/document.rb:236:in `instance_eval' # ./lib/prawn/document.rb:236:in `initialize' # ./lib/prawn/document.rb:142:in `new' # ./lib/prawn/document.rb:142:in `generate' # ./spec/prawn/images/png_spec.rb:29:in `block (6 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' 30) Prawn::Images::PNG When making a pdf file with png images and the image is Type 0 with transparency does not error Failure/Error: expect do Prawn::Document.generate("#{header}.pdf", page_size: 'A5') do fill_color '00FF00' fill_rectangle bounds.top_left, bounds.width, bounds.height text header image file, at: [50, 450] end end.to_not raise_error expected no Exception, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images/png_spec.rb:35:in `block (7 levels) in ' # ./lib/prawn/document.rb:236:in `instance_eval' # ./lib/prawn/document.rb:236:in `initialize' # ./lib/prawn/document.rb:142:in `new' # ./lib/prawn/document.rb:142:in `generate' # ./spec/prawn/images/png_spec.rb:29:in `block (6 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' 31) Prawn::Images::PNG When making a pdf file with png images and the image is Type 2 does not error Failure/Error: expect do Prawn::Document.generate("#{header}.pdf", page_size: 'A5') do fill_color '00FF00' fill_rectangle bounds.top_left, bounds.width, bounds.height text header image file, at: [50, 450] end end.to_not raise_error expected no Exception, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images/png_spec.rb:35:in `block (7 levels) in ' # ./lib/prawn/document.rb:236:in `instance_eval' # ./lib/prawn/document.rb:236:in `initialize' # ./lib/prawn/document.rb:142:in `new' # ./lib/prawn/document.rb:142:in `generate' # ./spec/prawn/images/png_spec.rb:29:in `block (6 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' 32) Prawn::Images::PNG When making a pdf file with png images and the image is Type 2 with transparency does not error Failure/Error: expect do Prawn::Document.generate("#{header}.pdf", page_size: 'A5') do fill_color '00FF00' fill_rectangle bounds.top_left, bounds.width, bounds.height text header image file, at: [50, 450] end end.to_not raise_error expected no Exception, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images/png_spec.rb:35:in `block (7 levels) in ' # ./lib/prawn/document.rb:236:in `instance_eval' # ./lib/prawn/document.rb:236:in `initialize' # ./lib/prawn/document.rb:142:in `new' # ./lib/prawn/document.rb:142:in `generate' # ./spec/prawn/images/png_spec.rb:29:in `block (6 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' 33) Prawn::Images::PNG When making a pdf file with png images and the image is Type 3 does not error Failure/Error: expect do Prawn::Document.generate("#{header}.pdf", page_size: 'A5') do fill_color '00FF00' fill_rectangle bounds.top_left, bounds.width, bounds.height text header image file, at: [50, 450] end end.to_not raise_error expected no Exception, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images/png_spec.rb:35:in `block (7 levels) in ' # ./lib/prawn/document.rb:236:in `instance_eval' # ./lib/prawn/document.rb:236:in `initialize' # ./lib/prawn/document.rb:142:in `new' # ./lib/prawn/document.rb:142:in `generate' # ./spec/prawn/images/png_spec.rb:29:in `block (6 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' 34) Prawn::Images::PNG When making a pdf file with png images and the image is Type 3 with transparency does not error Failure/Error: expect do Prawn::Document.generate("#{header}.pdf", page_size: 'A5') do fill_color '00FF00' fill_rectangle bounds.top_left, bounds.width, bounds.height text header image file, at: [50, 450] end end.to_not raise_error expected no Exception, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images/png_spec.rb:35:in `block (7 levels) in ' # ./lib/prawn/document.rb:236:in `instance_eval' # ./lib/prawn/document.rb:236:in `initialize' # ./lib/prawn/document.rb:142:in `new' # ./lib/prawn/document.rb:142:in `generate' # ./spec/prawn/images/png_spec.rb:29:in `block (6 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' 35) Prawn::Images::PNG When making a pdf file with png images and the image is Type 4 does not error Failure/Error: expect do Prawn::Document.generate("#{header}.pdf", page_size: 'A5') do fill_color '00FF00' fill_rectangle bounds.top_left, bounds.width, bounds.height text header image file, at: [50, 450] end end.to_not raise_error expected no Exception, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images/png_spec.rb:35:in `block (7 levels) in ' # ./lib/prawn/document.rb:236:in `instance_eval' # ./lib/prawn/document.rb:236:in `initialize' # ./lib/prawn/document.rb:142:in `new' # ./lib/prawn/document.rb:142:in `generate' # ./spec/prawn/images/png_spec.rb:29:in `block (6 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' 36) Prawn::Images::PNG When making a pdf file with png images and the image is Type 6 does not error Failure/Error: expect do Prawn::Document.generate("#{header}.pdf", page_size: 'A5') do fill_color '00FF00' fill_rectangle bounds.top_left, bounds.width, bounds.height text header image file, at: [50, 450] end end.to_not raise_error expected no Exception, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images/png_spec.rb:35:in `block (7 levels) in ' # ./lib/prawn/document.rb:236:in `instance_eval' # ./lib/prawn/document.rb:236:in `initialize' # ./lib/prawn/document.rb:142:in `new' # ./lib/prawn/document.rb:142:in `generate' # ./spec/prawn/images/png_spec.rb:29:in `block (6 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' 37) Prawn::Images::PNG When making a pdf file with png images and the image is Type 6 in 16bit does not error Failure/Error: expect do Prawn::Document.generate("#{header}.pdf", page_size: 'A5') do fill_color '00FF00' fill_rectangle bounds.top_left, bounds.width, bounds.height text header image file, at: [50, 450] end end.to_not raise_error expected no Exception, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images/png_spec.rb:35:in `block (7 levels) in ' # ./lib/prawn/document.rb:236:in `instance_eval' # ./lib/prawn/document.rb:236:in `initialize' # ./lib/prawn/document.rb:142:in `new' # ./lib/prawn/document.rb:142:in `generate' # ./spec/prawn/images/png_spec.rb:29:in `block (6 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' # ./spec/prawn/images/png_spec.rb:28:in `block (5 levels) in ' 38) Prawn::Images::PNG When reading a greyscale PNG file (color type 0) reads the attributes from the header chunk correctly Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/web-links.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/web-links.png # ./spec/prawn/images/png_spec.rb:45:in `binread' # ./spec/prawn/images/png_spec.rb:45:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:48:in `block (3 levels) in ' 39) Prawn::Images::PNG When reading a greyscale PNG file (color type 0) reads the image data chunk correctly Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/web-links.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/web-links.png # ./spec/prawn/images/png_spec.rb:45:in `binread' # ./spec/prawn/images/png_spec.rb:45:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:60:in `block (3 levels) in ' 40) Prawn::Images::PNG When reading a greyscale PNG with transparency (color type 0) reads the tRNS chunk correctly Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/ruport_type0.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/ruport_type0.png # ./spec/prawn/images/png_spec.rb:67:in `binread' # ./spec/prawn/images/png_spec.rb:67:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:74:in `block (3 levels) in ' 41) Prawn::Images::PNG When reading an RGB PNG file (color type 2) reads the attributes from the header chunk correctly Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/ruport.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/ruport.png # ./spec/prawn/images/png_spec.rb:81:in `binread' # ./spec/prawn/images/png_spec.rb:81:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:84:in `block (3 levels) in ' 42) Prawn::Images::PNG When reading an RGB PNG file (color type 2) reads the image data chunk correctly Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/ruport.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/ruport.png # ./spec/prawn/images/png_spec.rb:81:in `binread' # ./spec/prawn/images/png_spec.rb:81:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:96:in `block (3 levels) in ' 43) Prawn::Images::PNG When reading an RGB PNG file with transparency (color type 2) reads the tRNS chunk correctly Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/arrow2.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/arrow2.png # ./spec/prawn/images/png_spec.rb:103:in `binread' # ./spec/prawn/images/png_spec.rb:103:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:111:in `block (3 levels) in ' 44) Prawn::Images::PNG When reading an indexed color PNG file with transparency (color type 3) reads the attributes from the header chunk correctly Failure/Error: let(:img_data) { File.binread(filename) } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/indexed_transparency.png # ./spec/prawn/images/png_spec.rb:125:in `binread' # ./spec/prawn/images/png_spec.rb:125:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:126:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:129:in `block (3 levels) in ' 45) Prawn::Images::PNG When reading an indexed color PNG file with transparency (color type 3) reads the image data correctly Failure/Error: data = Zlib::Inflate.inflate(File.binread(color_filename)) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/indexed_transparency_color.dat # ./spec/prawn/images/png_spec.rb:139:in `binread' # ./spec/prawn/images/png_spec.rb:139:in `block (3 levels) in ' 46) Prawn::Images::PNG When reading an indexed color PNG file with transparency (color type 3) reads the image transparency correctly Failure/Error: let(:img_data) { File.binread(filename) } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/indexed_transparency.png # ./spec/prawn/images/png_spec.rb:125:in `binread' # ./spec/prawn/images/png_spec.rb:125:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:126:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:144:in `block (3 levels) in ' 47) Prawn::Images::PNG When reading an indexed color PNG file (color type 3) reads the attributes from the header chunk correctly Failure/Error: File.binread("#{Prawn::DATADIR}/images/indexed_color.png") Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/indexed_color.png # ./spec/prawn/images/png_spec.rb:154:in `binread' # ./spec/prawn/images/png_spec.rb:154:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:158:in `block (3 levels) in ' 48) Prawn::Images::PNG When reading an indexed color PNG file (color type 3) reads the image data chunk correctly Failure/Error: File.binread("#{Prawn::DATADIR}/images/indexed_color.png") Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/indexed_color.png # ./spec/prawn/images/png_spec.rb:154:in `binread' # ./spec/prawn/images/png_spec.rb:154:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:170:in `block (3 levels) in ' 49) Prawn::Images::PNG When reading a greyscale+alpha PNG file (color type 4) reads the attributes from the header chunk correctly Failure/Error: File.binread("#{Prawn::DATADIR}/images/page_white_text.png") Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/page_white_text.png # ./spec/prawn/images/png_spec.rb:184:in `binread' # ./spec/prawn/images/png_spec.rb:184:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:188:in `block (3 levels) in ' 50) Prawn::Images::PNG When reading a greyscale+alpha PNG file (color type 4) correctly returns the raw image data (with no alpha channel) from the image data chunk Failure/Error: File.binread("#{Prawn::DATADIR}/images/page_white_text.png") Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/page_white_text.png # ./spec/prawn/images/png_spec.rb:184:in `binread' # ./spec/prawn/images/png_spec.rb:184:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:201:in `block (3 levels) in ' 51) Prawn::Images::PNG When reading a greyscale+alpha PNG file (color type 4) correctly extracts the alpha channel data from the image data chunk Failure/Error: File.binread("#{Prawn::DATADIR}/images/page_white_text.png") Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/page_white_text.png # ./spec/prawn/images/png_spec.rb:184:in `binread' # ./spec/prawn/images/png_spec.rb:184:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:208:in `block (3 levels) in ' 52) Prawn::Images::PNG When reading an RGB+alpha PNG file (color type 6) reads the attributes from the header chunk correctly Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/dice.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/dice.png # ./spec/prawn/images/png_spec.rb:218:in `binread' # ./spec/prawn/images/png_spec.rb:218:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:221:in `block (3 levels) in ' 53) Prawn::Images::PNG When reading an RGB+alpha PNG file (color type 6) correctly returns the raw image data (with no alpha channel) from the image data chunk Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/dice.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/dice.png # ./spec/prawn/images/png_spec.rb:218:in `binread' # ./spec/prawn/images/png_spec.rb:218:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:234:in `block (3 levels) in ' 54) Prawn::Images::PNG When reading an RGB+alpha PNG file (color type 6) correctly extracts the alpha channel data from the image data chunk Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/dice.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/dice.png # ./spec/prawn/images/png_spec.rb:218:in `binread' # ./spec/prawn/images/png_spec.rb:218:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:241:in `block (3 levels) in ' 55) Prawn::Images::PNG When reading a 16bit RGB+alpha PNG file (color type 6) reads the attributes from the header chunk correctly Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/16bit.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/16bit.png # ./spec/prawn/images/png_spec.rb:252:in `binread' # ./spec/prawn/images/png_spec.rb:252:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:255:in `block (3 levels) in ' 56) Prawn::Images::PNG When reading a 16bit RGB+alpha PNG file (color type 6) correctly returns the raw image data (with no alpha channel) from the image data chunk Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/16bit.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/16bit.png # ./spec/prawn/images/png_spec.rb:252:in `binread' # ./spec/prawn/images/png_spec.rb:252:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:268:in `block (3 levels) in ' 57) Prawn::Images::PNG When reading a 16bit RGB+alpha PNG file (color type 6) correctly extracts the alpha channel data from the image data chunk Failure/Error: let(:img_data) { File.binread("#{Prawn::DATADIR}/images/16bit.png") } Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/16bit.png # ./spec/prawn/images/png_spec.rb:252:in `binread' # ./spec/prawn/images/png_spec.rb:252:in `block (3 levels) in ' # ./spec/prawn/images/png_spec.rb:275:in `block (3 levels) in ' 58) Prawn::Images onlies embed an image once, even if it's added multiple times Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:10:in `block (2 levels) in ' 59) Prawn::Images returns the image info object Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:22:in `block (2 levels) in ' 60) Prawn::Images accepts IO objects Failure/Error: file = File.open(filename, 'rb') Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg # ./spec/prawn/images_spec.rb:30:in `initialize' # ./spec/prawn/images_spec.rb:30:in `open' # ./spec/prawn/images_spec.rb:30:in `block (2 levels) in ' 61) Prawn::Images rewinds IO objects to be able to embed them multiply Failure/Error: file = File.open(filename, 'rb') Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg # ./spec/prawn/images_spec.rb:37:in `initialize' # ./spec/prawn/images_spec.rb:37:in `open' # ./spec/prawn/images_spec.rb:37:in `block (2 levels) in ' 62) Prawn::Images accepts Pathname objects Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:45:in `block (2 levels) in ' 63) Prawn::Images raise_errors an UnsupportedImageType if passed a BMP Failure/Error: expect { pdf.image filename, at: [100, 100] } .to raise_error(Prawn::Errors::UnsupportedImageType) expected Prawn::Errors::UnsupportedImageType, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:68:in `block (3 levels) in ' # ./spec/prawn/images_spec.rb:68:in `block (2 levels) in ' # ./spec/prawn/images_spec.rb:68:in `block (2 levels) in ' 64) Prawn::Images raise_errors an UnsupportedImageType if passed an interlaced PNG Failure/Error: expect { pdf.image filename, at: [100, 100] } .to raise_error(Prawn::Errors::UnsupportedImageType) expected Prawn::Errors::UnsupportedImageType, got # with backtrace: # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:74:in `block (3 levels) in ' # ./spec/prawn/images_spec.rb:74:in `block (2 levels) in ' # ./spec/prawn/images_spec.rb:74:in `block (2 levels) in ' 65) Prawn::Images bumps PDF version to 1.5 or greater on embedding 16-bit PNGs Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/16bit.png not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:79:in `block (2 levels) in ' 66) Prawn::Images embeds 16-bit alpha channels for 16-bit PNGs Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/16bit.png not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:84:in `block (2 levels) in ' 67) Prawn::Images flows an image to a new page if it will not fit on a page Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:92:in `block (2 levels) in ' 68) Prawn::Images does not flow an image to a new page if it will fit on one page Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:105:in `block (2 levels) in ' 69) Prawn::Images does not start a new page just for a stretchy bounding box Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:121:in `block (3 levels) in ' # ./lib/prawn/document/bounding_box.rb:196:in `init_bounding_box' # ./lib/prawn/document/bounding_box.rb:157:in `bounding_box' # ./spec/prawn/images_spec.rb:120:in `block (2 levels) in ' 70) Prawn::Images setting the length of the bytestream correctlies work with images from Pathname objects Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:51:in `block (3 levels) in ' 71) Prawn::Images setting the length of the bytestream correctlies work with images from IO objects Failure/Error: pdf.image(File.open(filename, 'rb')) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg # ./spec/prawn/images_spec.rb:56:in `initialize' # ./spec/prawn/images_spec.rb:56:in `open' # ./spec/prawn/images_spec.rb:56:in `block (3 levels) in ' 72) Prawn::Images setting the length of the bytestream correctlies work with images from IO objects not set to mode rb Failure/Error: pdf.image(File.open(filename, 'r')) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg # ./spec/prawn/images_spec.rb:61:in `initialize' # ./spec/prawn/images_spec.rb:61:in `open' # ./spec/prawn/images_spec.rb:61:in `block (3 levels) in ' 73) Prawn::Images :fit option fits inside the defined constraints Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:128:in `block (3 levels) in ' 74) Prawn::Images :fit option moves text position Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:142:in `block (3 levels) in ' 75) Prawn::Images :at option does not move text position Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:150:in `block (3 levels) in ' 76) Prawn::Images :width option without :height option scales the width and height Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:157:in `block (3 levels) in ' 77) Prawn::Images :height option without :width option scales the width and height Failure/Error: raise ArgumentError, "#{io_or_path} not found" unless io_or_path.file? ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/images/pigs.jpg not found # ./lib/prawn/images.rb:149:in `verify_and_open_image' # ./lib/prawn/images.rb:82:in `build_image_object' # ./lib/prawn/images.rb:71:in `image' # ./spec/prawn/images_spec.rb:165:in `block (3 levels) in ' 78) Prawn::Text::Box is able to reverse multi-byte text Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/box_spec.rb:38:in `block (2 levels) in ' 79) Prawn::Text::Box printing UTF-8 string with higher bit characters when using a TTF font unprinted text should be in UTF-8 encoding Failure/Error: TTFunk::File.from_dfont(@name, @options[:font] || 0) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/Panic+Sans.dfont # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `initialize' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk/resource_file.rb:6:in `open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:18:in `from_dfont' # ./lib/prawn/font/dfont.rb:30:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:299:in `new' # ./lib/prawn/font.rb:299:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/box_spec.rb:692:in `block (4 levels) in ' 80) Prawn::Text::Box with a solid block of Chinese characters printed text should match requested text, except for newlines Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/box_spec.rb:864:in `block (3 levels) in ' 81) Prawn::Text::Formatted::Box wrapping does not raise an Encoding::CompatibilityError when keeping a TTF and an AFM font together Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./lib/prawn/text/formatted/box.rb:384:in `block in normalize_encoding' # ./lib/prawn/text/formatted/box.rb:382:in `each' # ./lib/prawn/text/formatted/box.rb:382:in `normalize_encoding' # ./lib/prawn/text/formatted/box.rb:360:in `normalized_text' # ./lib/prawn/text/formatted/box.rb:217:in `block (3 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:192:in `text_rendering_mode' # ./lib/prawn/text/formatted/box.rb:214:in `block (2 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:216:in `character_spacing' # ./lib/prawn/text/formatted/box.rb:213:in `block in render' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:212:in `render' # ./spec/prawn/text/formatted/box_spec.rb:41:in `block (3 levels) in ' 82) Prawn::Text::Formatted::Box Text::Formatted::Box with :fallback_fonts option that includesa Chinese font and set of Chinese glyphs not in the current font changes the font to the Chinese font for the Chinese glyphs Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./lib/prawn/text/formatted/box.rb:441:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:445:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:420:in `block (2 levels) in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:418:in `each_char' # ./lib/prawn/text/formatted/box.rb:418:in `block in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:417:in `analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:399:in `block in process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:398:in `each' # ./lib/prawn/text/formatted/box.rb:398:in `process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:379:in `normalize_encoding' # ./lib/prawn/text/formatted/box.rb:360:in `normalized_text' # ./lib/prawn/text/formatted/box.rb:217:in `block (3 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:192:in `text_rendering_mode' # ./lib/prawn/text/formatted/box.rb:214:in `block (2 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:216:in `character_spacing' # ./lib/prawn/text/formatted/box.rb:213:in `block in render' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:212:in `render' # ./lib/prawn/text/formatted/box.rb:91:in `formatted_text_box' # ./spec/prawn/text/formatted/box_spec.rb:135:in `block (3 levels) in ' 83) Prawn::Text::Formatted::Box Text::Formatted::Box with :fallback_fonts option that includesan AFM font and Win-Ansi glyph not in the current Chinese font changes the font to the AFM font for the Win-Ansi glyph Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/box_spec.rb:160:in `block (3 levels) in ' 84) Prawn::Text::Formatted::Box Text::Formatted::Box with :fallback_fonts option and fragment level font uses the fragment level font except for glyphs not in that font Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./lib/prawn/text/formatted/box.rb:441:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:445:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:420:in `block (2 levels) in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:418:in `each_char' # ./lib/prawn/text/formatted/box.rb:418:in `block in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:417:in `analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:399:in `block in process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:398:in `each' # ./lib/prawn/text/formatted/box.rb:398:in `process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:379:in `normalize_encoding' # ./lib/prawn/text/formatted/box.rb:360:in `normalized_text' # ./lib/prawn/text/formatted/box.rb:217:in `block (3 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:192:in `text_rendering_mode' # ./lib/prawn/text/formatted/box.rb:214:in `block (2 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:216:in `character_spacing' # ./lib/prawn/text/formatted/box.rb:213:in `block in render' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:212:in `render' # ./lib/prawn/text/formatted/box.rb:91:in `formatted_text_box' # ./spec/prawn/text/formatted/box_spec.rb:200:in `block (3 levels) in ' 85) Prawn::Text::Formatted::Box Text::Formatted::Box is able to set text fallback_fonts document-wide Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./lib/prawn/text/formatted/box.rb:441:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:445:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:420:in `block (2 levels) in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:418:in `each_char' # ./lib/prawn/text/formatted/box.rb:418:in `block in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:417:in `analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:399:in `block in process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:398:in `each' # ./lib/prawn/text/formatted/box.rb:398:in `process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:379:in `normalize_encoding' # ./lib/prawn/text/formatted/box.rb:360:in `normalized_text' # ./lib/prawn/text/formatted/box.rb:217:in `block (3 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:192:in `text_rendering_mode' # ./lib/prawn/text/formatted/box.rb:214:in `block (2 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:216:in `character_spacing' # ./lib/prawn/text/formatted/box.rb:213:in `block in render' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:212:in `render' # ./lib/prawn/text/formatted/box.rb:91:in `formatted_text_box' # ./spec/prawn/text/formatted/box_spec.rb:241:in `block (3 levels) in ' 86) Prawn::Text::Formatted::Box Text::Formatted::Box is able to override document-wide fallback_fonts Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./lib/prawn/text/formatted/box.rb:441:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:445:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:420:in `block (2 levels) in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:418:in `each_char' # ./lib/prawn/text/formatted/box.rb:418:in `block in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:417:in `analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:399:in `block in process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:398:in `each' # ./lib/prawn/text/formatted/box.rb:398:in `process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:379:in `normalize_encoding' # ./lib/prawn/text/formatted/box.rb:360:in `normalized_text' # ./lib/prawn/text/formatted/box.rb:217:in `block (3 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:192:in `text_rendering_mode' # ./lib/prawn/text/formatted/box.rb:214:in `block (2 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:216:in `character_spacing' # ./lib/prawn/text/formatted/box.rb:213:in `block in render' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:212:in `render' # ./lib/prawn/text/formatted/box.rb:91:in `formatted_text_box' # ./spec/prawn/text/formatted/box_spec.rb:253:in `block (3 levels) in ' 87) Prawn::Text::Formatted::Box Text::Formatted::Box should omit the fallback fonts overhead when passing an empty array as the :fallback_fonts Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/box_spec.rb:265:in `block (3 levels) in ' 88) Prawn::Text::Formatted::Box Text::Formatted::Box is able to clear document-wide fallback_fonts Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/box_spec.rb:282:in `block (3 levels) in ' 89) Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line breaks on zero-width space Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/line_wrap_spec.rb:105:in `block (3 levels) in ' 90) Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line does not display zero-width space Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/line_wrap_spec.rb:117:in `block (3 levels) in ' 91) Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line does not raise CannotFit if first fragment is a zero-width space Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/line_wrap_spec.rb:129:in `block (3 levels) in ' 92) Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line breaks on a soft hyphen Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/line_wrap_spec.rb:218:in `block (3 levels) in ' 93) Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line should not display soft hyphens except at the end of a line for more than one element in format_array Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/line_wrap_spec.rb:264:in `block (3 levels) in ' 94) Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line does not break before a hard hyphen that follows a word Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/line_wrap_spec.rb:300:in `block (3 levels) in ' 95) Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line should not break after a hard hyphen that follows a soft hyphen andprecedes a word Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/line_wrap_spec.rb:345:in `block (3 levels) in ' 96) Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line processes UTF-8 chars with UTF-8 font Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text/formatted/line_wrap_spec.rb:386:in `block (3 levels) in ' 97) Prawn::Text#draw_text does not raise an exception when a shift-jis string is rendered Failure/Error: sjis_str = File.open(datafile, 'r:shift_jis', &:gets) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/shift_jis_text.txt # ./spec/prawn/text_draw_text_spec.rb:141:in `initialize' # ./spec/prawn/text_draw_text_spec.rb:141:in `open' # ./spec/prawn/text_draw_text_spec.rb:141:in `block (3 levels) in ' 98) Prawn::Text#character_spacing calculates character spacing widths by characters, not bytes Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/gkai00mp.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text_spacing_spec.rb:44:in `block (3 levels) in ' 99) Prawn::Text#text does not raise an exception when providing Pathname instance as font Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text_spec.rb:270:in `block (3 levels) in ' 100) Prawn::Text#text correctlies render a utf-8 string when using a TTF font Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text_spec.rb:284:in `block (3 levels) in ' 101) Prawn::Text#text subsets mixed low-ASCII and non-ASCII characters when they can be subsetted together Failure/Error: TTFunk::File.open(@name) ArgumentError: /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/fonts/DejaVuSans.ttf not found # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./spec/prawn/text_spec.rb:295:in `block (3 levels) in ' 102) Prawn::Text#text does not raise an exception when a shift-jis string is rendered Failure/Error: sjis_str = File.open(datafile, 'r:shift_jis', &:gets) Errno::ENOENT: No such file or directory @ rb_sysopen - /builddir/build/BUILD/prawn-2.2.2/usr/share/gems/gems/prawn-2.2.2/data/shift_jis_text.txt # ./spec/prawn/text_spec.rb:335:in `initialize' # ./spec/prawn/text_spec.rb:335:in `open' # ./spec/prawn/text_spec.rb:335:in `block (3 levels) in ' 103) Prawn::Text#text #shrink_to_fit with special utf-8 text does not throw an exception Failure/Error: expect do Prawn::Document.new(page_size: 'A4', margin: [2, 2, 2, 2]) do |pdf| add_unicode_fonts(pdf) pdf.bounding_box([1, 1], width: 90, height: 50) do pdf.text( "Sample Text\nSAMPLE SAMPLE SAMPLEodd??len?? ZM??N\nSAMPLE", overflow: :shrink_to_fit ) end end expected no Exception, got # with backtrace: # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:39:in `verify_and_open' # /usr/share/gems/gems/ttfunk-1.5.1/lib/ttfunk.rb:14:in `open' # ./lib/prawn/font/ttf.rb:362:in `read_ttf_file' # ./lib/prawn/font/ttf.rb:24:in `initialize' # ./lib/prawn/font.rb:298:in `new' # ./lib/prawn/font.rb:298:in `load' # ./lib/prawn/font.rb:253:in `find_font' # ./lib/prawn/font.rb:57:in `font' # ./lib/prawn/text/formatted/box.rb:441:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:445:in `find_font_for_this_glyph' # ./lib/prawn/text/formatted/box.rb:420:in `block (2 levels) in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:418:in `each_char' # ./lib/prawn/text/formatted/box.rb:418:in `block in analyze_glyphs_for_fallback_font_support' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:417:in `analyze_glyphs_for_fallback_font_support' # ./lib/prawn/text/formatted/box.rb:399:in `block in process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:398:in `each' # ./lib/prawn/text/formatted/box.rb:398:in `process_fallback_fonts' # ./lib/prawn/text/formatted/box.rb:379:in `normalize_encoding' # ./lib/prawn/text/formatted/box.rb:360:in `normalized_text' # ./lib/prawn/text/formatted/box.rb:217:in `block (3 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:192:in `text_rendering_mode' # ./lib/prawn/text/formatted/box.rb:214:in `block (2 levels) in render' # /usr/share/gems/gems/pdf-core-0.8.1/lib/pdf/core/text.rb:216:in `character_spacing' # ./lib/prawn/text/formatted/box.rb:213:in `block in render' # ./lib/prawn/font.rb:215:in `save_font' # ./lib/prawn/text/formatted/box.rb:212:in `render' # ./lib/prawn/text.rb:380:in `fill_formatted_text_box' # ./lib/prawn/text.rb:217:in `formatted_text' # ./lib/prawn/text.rb:166:in `text' # ./spec/prawn/text_spec.rb:560:in `block (7 levels) in ' # ./lib/prawn/document/bounding_box.rb:196:in `init_bounding_box' # ./lib/prawn/document/bounding_box.rb:157:in `bounding_box' # ./spec/prawn/text_spec.rb:559:in `block (6 levels) in ' # ./lib/prawn/document.rb:236:in `initialize' # ./spec/prawn/text_spec.rb:557:in `new' # ./spec/prawn/text_spec.rb:557:in `block (5 levels) in ' # ./spec/prawn/text_spec.rb:556:in `block (4 levels) in ' # ./spec/prawn/text_spec.rb:556:in `block (4 levels) in ' Finished in 2.72 seconds (files took 0.41484 seconds to load) 850 examples, 103 failures Failed examples: rspec ./spec/manual_spec.rb:22 # Prawn manual contains no unexpected changes rspec ./spec/prawn/document_spec.rb:114 # Prawn::Document When beginning each new page Background image feature places a background image if it is in options block rspec ./spec/prawn/document_spec.rb:121 # Prawn::Document When beginning each new page Background image feature places a background image interntally if it is in options block rspec ./spec/prawn/document_spec.rb:265 # Prawn::Document compression results in a smaller file size when compressed rspec ./spec/prawn/font_spec.rb:46 # Prawn::Font#width_of excludes newlines rspec ./spec/prawn/font_spec.rb:72 # Prawn::Font#width_of calculates styled widths correctly using TTFs rspec ./spec/prawn/font_spec.rb:144 # Prawn::Font font style support allows font familes to be defined in a single dfont rspec ./spec/prawn/font_spec.rb:162 # Prawn::Font font style support allows font familes to be defined in a single ttc rspec ./spec/prawn/font_spec.rb:178 # Prawn::Font font style support allows fonts to be indexed by name in a ttc file rspec ./spec/prawn/font_spec.rb:194 # Prawn::Font font style support accepts Pathname objects for font files rspec ./spec/prawn/font_spec.rb:209 # Prawn::Font font style support accepts IO objects for font files rspec ./spec/prawn/font_spec.rb:371 # Prawn::Font#glyph_present returns true when present in a TTF font rspec ./spec/prawn/font_spec.rb:376 # Prawn::Font#glyph_present returns false when absent in a TTF font rspec ./spec/prawn/font_spec.rb:388 # Prawn::Font TTF fonts calculates string width taking into account accented characters rspec ./spec/prawn/font_spec.rb:394 # Prawn::Font TTF fonts calculates string width taking into account kerning pairs rspec ./spec/prawn/font_spec.rb:400 # Prawn::Font TTF fonts encodes text without kerning by default rspec ./spec/prawn/font_spec.rb:417 # Prawn::Font TTF fonts encodes text with kerning if requested rspec ./spec/prawn/font_spec.rb:434 # Prawn::Font TTF fonts uses the ascender, descender, and cap height from the TTF verbatim rspec ./spec/prawn/font_spec.rb:448 # Prawn::Font TTF fonts when normalizing encoding does not modify the original string with normalize_encoding() rspec ./spec/prawn/font_spec.rb:454 # Prawn::Font TTF fonts when normalizing encoding modifies the original string when normalize_encoding!() is used rspec ./spec/prawn/font_spec.rb:465 # Prawn::Font DFont fonts lists all named fonts rspec ./spec/prawn/font_spec.rb:472 # Prawn::Font DFont fonts counts the number of fonts in the file rspec ./spec/prawn/font_spec.rb:476 # Prawn::Font DFont fonts defaults selected font to the first one if not specified rspec ./spec/prawn/font_spec.rb:481 # Prawn::Font DFont fonts allows font to be selected by index rspec ./spec/prawn/font_spec.rb:486 # Prawn::Font DFont fonts allows font to be selected by name rspec ./spec/prawn/font_spec.rb:491 # Prawn::Font DFont fonts caches font object based on selected font rspec ./spec/prawn/font_spec.rb:503 # Prawn::Font#character_count(text) works on TTF fonts rspec ./spec/prawn/images/jpg_spec.rb:10 # Prawn::Images::JPG reads the basic attributes correctly rspec ./spec/prawn/images/png_spec.rb[1:1:1:1] # Prawn::Images::PNG When making a pdf file with png images and the image is Type 0 does not error rspec ./spec/prawn/images/png_spec.rb[1:1:2:1] # Prawn::Images::PNG When making a pdf file with png images and the image is Type 0 with transparency does not error rspec ./spec/prawn/images/png_spec.rb[1:1:3:1] # Prawn::Images::PNG When making a pdf file with png images and the image is Type 2 does not error rspec ./spec/prawn/images/png_spec.rb[1:1:4:1] # Prawn::Images::PNG When making a pdf file with png images and the image is Type 2 with transparency does not error rspec ./spec/prawn/images/png_spec.rb[1:1:5:1] # Prawn::Images::PNG When making a pdf file with png images and the image is Type 3 does not error rspec ./spec/prawn/images/png_spec.rb[1:1:6:1] # Prawn::Images::PNG When making a pdf file with png images and the image is Type 3 with transparency does not error rspec ./spec/prawn/images/png_spec.rb[1:1:7:1] # Prawn::Images::PNG When making a pdf file with png images and the image is Type 4 does not error rspec ./spec/prawn/images/png_spec.rb[1:1:8:1] # Prawn::Images::PNG When making a pdf file with png images and the image is Type 6 does not error rspec ./spec/prawn/images/png_spec.rb[1:1:9:1] # Prawn::Images::PNG When making a pdf file with png images and the image is Type 6 in 16bit does not error rspec ./spec/prawn/images/png_spec.rb:47 # Prawn::Images::PNG When reading a greyscale PNG file (color type 0) reads the attributes from the header chunk correctly rspec ./spec/prawn/images/png_spec.rb:59 # Prawn::Images::PNG When reading a greyscale PNG file (color type 0) reads the image data chunk correctly rspec ./spec/prawn/images/png_spec.rb:73 # Prawn::Images::PNG When reading a greyscale PNG with transparency (color type 0) reads the tRNS chunk correctly rspec ./spec/prawn/images/png_spec.rb:83 # Prawn::Images::PNG When reading an RGB PNG file (color type 2) reads the attributes from the header chunk correctly rspec ./spec/prawn/images/png_spec.rb:95 # Prawn::Images::PNG When reading an RGB PNG file (color type 2) reads the image data chunk correctly rspec ./spec/prawn/images/png_spec.rb:110 # Prawn::Images::PNG When reading an RGB PNG file with transparency (color type 2) reads the tRNS chunk correctly rspec ./spec/prawn/images/png_spec.rb:128 # Prawn::Images::PNG When reading an indexed color PNG file with transparency (color type 3) reads the attributes from the header chunk correctly rspec ./spec/prawn/images/png_spec.rb:138 # Prawn::Images::PNG When reading an indexed color PNG file with transparency (color type 3) reads the image data correctly rspec ./spec/prawn/images/png_spec.rb:143 # Prawn::Images::PNG When reading an indexed color PNG file with transparency (color type 3) reads the image transparency correctly rspec ./spec/prawn/images/png_spec.rb:157 # Prawn::Images::PNG When reading an indexed color PNG file (color type 3) reads the attributes from the header chunk correctly rspec ./spec/prawn/images/png_spec.rb:169 # Prawn::Images::PNG When reading an indexed color PNG file (color type 3) reads the image data chunk correctly rspec ./spec/prawn/images/png_spec.rb:187 # Prawn::Images::PNG When reading a greyscale+alpha PNG file (color type 4) reads the attributes from the header chunk correctly rspec ./spec/prawn/images/png_spec.rb:199 # Prawn::Images::PNG When reading a greyscale+alpha PNG file (color type 4) correctly returns the raw image data (with no alpha channel) from the image data chunk rspec ./spec/prawn/images/png_spec.rb:207 # Prawn::Images::PNG When reading a greyscale+alpha PNG file (color type 4) correctly extracts the alpha channel data from the image data chunk rspec ./spec/prawn/images/png_spec.rb:220 # Prawn::Images::PNG When reading an RGB+alpha PNG file (color type 6) reads the attributes from the header chunk correctly rspec ./spec/prawn/images/png_spec.rb:232 # Prawn::Images::PNG When reading an RGB+alpha PNG file (color type 6) correctly returns the raw image data (with no alpha channel) from the image data chunk rspec ./spec/prawn/images/png_spec.rb:240 # Prawn::Images::PNG When reading an RGB+alpha PNG file (color type 6) correctly extracts the alpha channel data from the image data chunk rspec ./spec/prawn/images/png_spec.rb:254 # Prawn::Images::PNG When reading a 16bit RGB+alpha PNG file (color type 6) reads the attributes from the header chunk correctly rspec ./spec/prawn/images/png_spec.rb:266 # Prawn::Images::PNG When reading a 16bit RGB+alpha PNG file (color type 6) correctly returns the raw image data (with no alpha channel) from the image data chunk rspec ./spec/prawn/images/png_spec.rb:274 # Prawn::Images::PNG When reading a 16bit RGB+alpha PNG file (color type 6) correctly extracts the alpha channel data from the image data chunk rspec ./spec/prawn/images_spec.rb:9 # Prawn::Images onlies embed an image once, even if it's added multiple times rspec ./spec/prawn/images_spec.rb:21 # Prawn::Images returns the image info object rspec ./spec/prawn/images_spec.rb:29 # Prawn::Images accepts IO objects rspec ./spec/prawn/images_spec.rb:36 # Prawn::Images rewinds IO objects to be able to embed them multiply rspec ./spec/prawn/images_spec.rb:44 # Prawn::Images accepts Pathname objects rspec ./spec/prawn/images_spec.rb:66 # Prawn::Images raise_errors an UnsupportedImageType if passed a BMP rspec ./spec/prawn/images_spec.rb:72 # Prawn::Images raise_errors an UnsupportedImageType if passed an interlaced PNG rspec ./spec/prawn/images_spec.rb:78 # Prawn::Images bumps PDF version to 1.5 or greater on embedding 16-bit PNGs rspec ./spec/prawn/images_spec.rb:83 # Prawn::Images embeds 16-bit alpha channels for 16-bit PNGs rspec ./spec/prawn/images_spec.rb:91 # Prawn::Images flows an image to a new page if it will not fit on a page rspec ./spec/prawn/images_spec.rb:104 # Prawn::Images does not flow an image to a new page if it will fit on one page rspec ./spec/prawn/images_spec.rb:118 # Prawn::Images does not start a new page just for a stretchy bounding box rspec ./spec/prawn/images_spec.rb:50 # Prawn::Images setting the length of the bytestream correctlies work with images from Pathname objects rspec ./spec/prawn/images_spec.rb:55 # Prawn::Images setting the length of the bytestream correctlies work with images from IO objects rspec ./spec/prawn/images_spec.rb:60 # Prawn::Images setting the length of the bytestream correctlies work with images from IO objects not set to mode rb rspec ./spec/prawn/images_spec.rb:127 # Prawn::Images :fit option fits inside the defined constraints rspec ./spec/prawn/images_spec.rb:140 # Prawn::Images :fit option moves text position rspec ./spec/prawn/images_spec.rb:148 # Prawn::Images :at option does not move text position rspec ./spec/prawn/images_spec.rb:156 # Prawn::Images :width option without :height option scales the width and height rspec ./spec/prawn/images_spec.rb:164 # Prawn::Images :height option without :width option scales the width and height rspec ./spec/prawn/text/box_spec.rb:34 # Prawn::Text::Box is able to reverse multi-byte text rspec ./spec/prawn/text/box_spec.rb:691 # Prawn::Text::Box printing UTF-8 string with higher bit characters when using a TTF font unprinted text should be in UTF-8 encoding rspec ./spec/prawn/text/box_spec.rb:856 # Prawn::Text::Box with a solid block of Chinese characters printed text should match requested text, except for newlines rspec ./spec/prawn/text/formatted/box_spec.rb:22 # Prawn::Text::Formatted::Box wrapping does not raise an Encoding::CompatibilityError when keeping a TTF and an AFM font together rspec ./spec/prawn/text/formatted/box_spec.rb:126 # Prawn::Text::Formatted::Box Text::Formatted::Box with :fallback_fonts option that includesa Chinese font and set of Chinese glyphs not in the current font changes the font to the Chinese font for the Chinese glyphs rspec ./spec/prawn/text/formatted/box_spec.rb:155 # Prawn::Text::Formatted::Box Text::Formatted::Box with :fallback_fonts option that includesan AFM font and Win-Ansi glyph not in the current Chinese font changes the font to the AFM font for the Win-Ansi glyph rspec ./spec/prawn/text/formatted/box_spec.rb:185 # Prawn::Text::Formatted::Box Text::Formatted::Box with :fallback_fonts option and fragment level font uses the fragment level font except for glyphs not in that font rspec ./spec/prawn/text/formatted/box_spec.rb:240 # Prawn::Text::Formatted::Box Text::Formatted::Box is able to set text fallback_fonts document-wide rspec ./spec/prawn/text/formatted/box_spec.rb:251 # Prawn::Text::Formatted::Box Text::Formatted::Box is able to override document-wide fallback_fonts rspec ./spec/prawn/text/formatted/box_spec.rb:263 # Prawn::Text::Formatted::Box Text::Formatted::Box should omit the fallback fonts overhead when passing an empty array as the :fallback_fonts rspec ./spec/prawn/text/formatted/box_spec.rb:278 # Prawn::Text::Formatted::Box Text::Formatted::Box is able to clear document-wide fallback_fonts rspec ./spec/prawn/text/formatted/line_wrap_spec.rb:104 # Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line breaks on zero-width space rspec ./spec/prawn/text/formatted/line_wrap_spec.rb:116 # Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line does not display zero-width space rspec ./spec/prawn/text/formatted/line_wrap_spec.rb:128 # Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line does not raise CannotFit if first fragment is a zero-width space rspec ./spec/prawn/text/formatted/line_wrap_spec.rb:207 # Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line breaks on a soft hyphen rspec ./spec/prawn/text/formatted/line_wrap_spec.rb:262 # Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line should not display soft hyphens except at the end of a line for more than one element in format_array rspec ./spec/prawn/text/formatted/line_wrap_spec.rb:279 # Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line does not break before a hard hyphen that follows a word rspec ./spec/prawn/text/formatted/line_wrap_spec.rb:323 # Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line should not break after a hard hyphen that follows a soft hyphen andprecedes a word rspec ./spec/prawn/text/formatted/line_wrap_spec.rb:382 # Prawn::Text::Formatted::LineWrap Core::Text::Formatted::LineWrap#wrap_line processes UTF-8 chars with UTF-8 font rspec ./spec/prawn/text_draw_text_spec.rb:139 # Prawn::Text#draw_text does not raise an exception when a shift-jis string is rendered rspec ./spec/prawn/text_spacing_spec.rb:43 # Prawn::Text#character_spacing calculates character spacing widths by characters, not bytes rspec ./spec/prawn/text_spec.rb:269 # Prawn::Text#text does not raise an exception when providing Pathname instance as font rspec ./spec/prawn/text_spec.rb:282 # Prawn::Text#text correctlies render a utf-8 string when using a TTF font rspec ./spec/prawn/text_spec.rb:292 # Prawn::Text#text subsets mixed low-ASCII and non-ASCII characters when they can be subsetted together rspec ./spec/prawn/text_spec.rb:333 # Prawn::Text#text does not raise an exception when a shift-jis string is rendered rspec ./spec/prawn/text_spec.rb:555 # Prawn::Text#text #shrink_to_fit with special utf-8 text does not throw an exception 850 examples, 103 failures ~/build/BUILD/prawn-2.2.2 Processing files: rubygem-prawn-2.2.2-4.fc33.noarch + popd + RPM_EC=0 ++ jobs -p + exit 0 Provides: rubygem(prawn) = 2.2.2 rubygem-prawn = 2.2.2-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(ttfunk) >= 1.5 with rubygem(ttfunk) < 2) ruby(rubygems) >= 1.3.6 rubygem(pdf-core) >= 0.7.0 Processing files: rubygem-prawn-doc-2.2.2-4.fc33.noarch Provides: rubygem-prawn-doc = 2.2.2-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-prawn-2.2.2-4.fc33.x86_64 Wrote: /builddir/build/RPMS/rubygem-prawn-2.2.2-4.fc33.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-prawn-doc-2.2.2-4.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HyWIvt + umask 022 + cd /builddir/build/BUILD + cd prawn-2.2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-prawn-2.2.2-4.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0