Skip to content

Commit

Permalink
fontist manifest catch, metanorma/metanorma-iso#910
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Feb 3, 2023
1 parent 767663b commit fc9a124
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mn2pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def self.convert(url_path, output_path, xsl_stylesheet, options = {})
if manifest
dump_fontist_manifest_locations(manifest) do |manifest_path|
cmd << "--font-manifest" << quote(manifest_path)
FileUtils.cp(manifest_path, manifest_path + ".copy.yml")
manifest_copy = manifest_path + ".copy.yml"
FileUtils.cp(manifest_path, manifest_copy)
puts manifest_copy
mn2pdf(cmd)
end
else
Expand Down

0 comments on commit fc9a124

Please sign in to comment.