diff --git a/p4-16/spec/P4-16-spec.adoc b/p4-16/spec/P4-16-spec.adoc index 1bb69c49c8..d50bdec6f7 100644 --- a/p4-16/spec/P4-16-spec.adoc +++ b/p4-16/spec/P4-16-spec.adoc @@ -1,5 +1,6 @@ = P4~16~ Language Specification : The P4 Language Consortium :doctype: book +:revdate: {docdate} :revnumber: v1.2.5 :imagesdir: resources/figs :font-size: 10 diff --git a/p4-16/spec/resources/fonts/verify-font b/p4-16/spec/resources/fonts/verify-font new file mode 100644 index 0000000000..c163d51d12 --- /dev/null +++ b/p4-16/spec/resources/fonts/verify-font @@ -0,0 +1,5 @@ +require 'ttfunk' +require 'ttfunk/subset_collection' + +ttf_subsets = TTFunk::SubsetCollection.new TTFunk::File.open ARGV[0] +(0...(ttf_subsets.instance_variable_get :@subsets).size).each {|idx| ttf_subsets[idx].encode } \ No newline at end of file